mirror of
https://github.com/lgandx/Responder.git
synced 2025-07-07 05:21:22 -07:00
Modified logging of cleartext credentials
This commit is contained in:
parent
392257be36
commit
ac1789dd6c
1 changed files with 4 additions and 1 deletions
5
utils.py
5
utils.py
|
@ -173,7 +173,10 @@ def SaveToDb(result):
|
|||
|
||||
# Write JtR-style hash string to file
|
||||
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.close()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue