mirror of
https://github.com/lgandx/Responder.git
synced 2025-12-07 13:11:29 +00:00
Modified logging of cleartext credentials
This commit is contained in:
5
utils.py
5
utils.py
@@ -173,7 +173,10 @@ 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:
|
||||||
outf.write(result['fullhash'])
|
if len(result['cleartext']):
|
||||||
|
outf.write('%s:%s' % (result['user'], result['cleartext']))
|
||||||
|
else:
|
||||||
|
outf.write(result['fullhash'])
|
||||||
outf.write("\n")
|
outf.write("\n")
|
||||||
outf.close()
|
outf.close()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user