Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 20c5f9a

Browse files
committed
consistency fix
1 parent 87db5d0 commit 20c5f9a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/utils/hash.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -305,12 +305,12 @@ def storeHashesToFile(attack_dict):
305305
if not attack_dict:
306306
return
307307

308-
handle, filename = tempfile.mkstemp(suffix=".txt")
308+
handle, filename = tempfile.mkstemp(prefix="sqlmaphashes-", suffix=".txt")
309309
os.close(handle)
310310

311-
warnMsg = "writing hashes to file '%s' " % filename
312-
warnMsg += "for eventual further processing with other tools"
313-
logger.warn(warnMsg)
311+
infoMsg = "writing hashes to file '%s' " % filename
312+
infoMsg += "for eventual further processing with other tools"
313+
logger.info(infoMsg)
314314

315315
items = set()
316316

0 commit comments

Comments
 (0)