mirror of
https://github.com/lgandx/Responder.git
synced 2025-08-20 13:23:38 -07:00
commit
fb42aa35a9
1 changed files with 6 additions and 2 deletions
6
utils.py
6
utils.py
|
@ -171,8 +171,12 @@ def SaveToDb(result):
|
||||||
|
|
||||||
if count == 0:
|
if count == 0:
|
||||||
|
|
||||||
# Write JtR-style hash string to file
|
# If we obtained cleartext credentials, write them to file
|
||||||
|
# Otherwise, 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()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue