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 b713a77 commit 3c785bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ntlmrecon/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ def main():
else:
wordlist = INTERNAL_WORDLIST
# Identify all URLs with web servers running
all_combos = []
for record in records:
all_combos = []

print(colored("[+] Brute-forcing {} endpoints on {}".format(len(wordlist), record), "yellow"))
for word in wordlist:
Expand All @@ -114,8 +114,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 3c785bf

Please sign in to comment.