mirror of
https://github.com/lgandx/Responder.git
synced 2025-12-09 14:11:30 +00:00
Modified logging of cleartext credentials
This commit is contained in:
3
utils.py
3
utils.py
@@ -173,6 +173,9 @@ def SaveToDb(result):
|
|||||||
|
|
||||||
# Write JtR-style hash string to file
|
# Write JtR-style hash string to file
|
||||||
with open(logfile,"a") as outf:
|
with open(logfile,"a") as outf:
|
||||||
|
if len(result['cleartext']):
|
||||||
|
outf.write('%s:%s' % (result['user'], result['cleartext']))
|
||||||
|
else:
|
||||||
outf.write(result['fullhash'])
|
outf.write(result['fullhash'])
|
||||||
outf.write("\n")
|
outf.write("\n")
|
||||||
outf.close()
|
outf.close()
|
||||||
|
|||||||
Reference in New Issue
Block a user