mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-09 08:00:36 +03:00
minor fix
This commit is contained in:
parent
e967bbd70f
commit
75dd1d6a2b
|
@ -830,9 +830,9 @@ def dictionaryAttack(attack_dict):
|
||||||
fp = open(filename, "w+")
|
fp = open(filename, "w+")
|
||||||
singleTimeLogMessage("writing uncracked hashes to file '%s' for eventual further processing" % filename)
|
singleTimeLogMessage("writing uncracked hashes to file '%s' for eventual further processing" % filename)
|
||||||
if user and not user.startswith(DUMMY_USER_PREFIX):
|
if user and not user.startswith(DUMMY_USER_PREFIX):
|
||||||
fp.write("%s:%s\n" % (user, hash_))
|
fp.write("%s:%s\n" % (user.encode(UNICODE_ENCODING), hash_.encode(UNICODE_ENCODING)))
|
||||||
else:
|
else:
|
||||||
fp.write("%s\n" % hash_)
|
fp.write("%s\n" % hash_.encode(UNICODE_ENCODING))
|
||||||
if fp:
|
if fp:
|
||||||
fp.close()
|
fp.close()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user