Changed comment to be more clear about what is being done when logging

This commit is contained in:
Yannick Méheut 2016-01-10 20:52:36 +01:00
parent ac1789dd6c
commit 08535e5539

View file

@ -171,7 +171,8 @@ def SaveToDb(result):
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:
if len(result['cleartext']):
outf.write('%s:%s' % (result['user'], result['cleartext']))