Skip to content

Commit

Permalink
Fix write logic
Browse files Browse the repository at this point in the history
  • Loading branch information
pwnfoo authored Jul 15, 2020
1 parent 46ed5b4 commit b713a77
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/ntlmrecon/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,11 @@ def main():

results = pool.map(gather_ntlm_info, all_combos)
results = [x for x in results if x]
if results:
write_records_to_csv(results, args.outfile)
print(colored('[+] All done! Output saved to {}. Happy hacking!'.format(args.outfile), 'green'))
else:
print(colored("[!] Failed to find any NTLM endpoints :("))
if results:
write_records_to_csv(results, args.outfile)
print(colored('[+] All done! Output saved to {}. Happy hacking!'.format(args.outfile), 'green'))
else:
print(colored("[!] Failed to find any NTLM endpoints :("))



Expand Down

0 comments on commit b713a77

Please sign in to comment.