Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'dev-beta' into dev-beta
  • Loading branch information
ehlewis authored Feb 20, 2018
commit 8a9f4ade1e401c4e0ab1ebb6a2995d3c7f453cc6
9 changes: 4 additions & 5 deletions autosploit.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,11 +322,9 @@ def targets(clobber=True, hostLimit = -1):
hostLimit -= 1
else:
break
# update the bar
sys.stdout.write('\033[94m' + "|" + '\033[0m')
sys.stdout.flush()

hostpath = os.path.abspath("hosts.txt")
stop_animation = True


print("\n\n\n[{}]Done.".format(t.green("+")))
print("[{}]Host list saved to {}".format(t.green("+"), hostpath))
Expand Down Expand Up @@ -504,7 +502,8 @@ def try_shodan():
if not os.path.isfile("hosts.txt"):
targets(True, hostLimit)
else:
append = raw_input("\n[" + t.magenta("?") + "]Append hosts to file or overwrite? [A/O]: ").lower()
append = raw_input(
"\n[" + t.magenta("?") + "]Append hosts to file or overwrite? [A/O]: ").lower()
if append == 'a':
targets(False, hostLimit)
elif append == 'o':
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.