Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pwnfoo authored Jul 20, 2020
1 parent 3c785bf commit 9616449
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ntlmrecon/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ def main():
wordlist = INTERNAL_WORDLIST
# Identify all URLs with web servers running
all_combos = []
results = None
for record in records:

print(colored("[+] Brute-forcing {} endpoints on {}".format(len(wordlist), record), "yellow"))
Expand All @@ -114,8 +115,8 @@ def main():
else:
all_combos.append(str(record+"/"+word))

results = pool.map(gather_ntlm_info, all_combos)
results = [x for x in results if x]
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'))
Expand Down

0 comments on commit 9616449

Please sign in to comment.