Skip to content

Commit c2c260e

Browse files
ehlewisEkultek
authored andcommitted
Fixed targets() input infinite loop (#61)
* Added censys functionality * Added Censys functionality Moved Censys search function into its own file * Updated requirements document to include requests module * Fixed targets input loop
1 parent a9f00db commit c2c260e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

autosploit.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,12 +289,11 @@ def targets(clobber=True, hostLimit = -1):
289289
print("[{}]I.E. 'IIS' will return a list of IPs belonging to IIS servers.".format(
290290
t.green("+")))
291291

292-
# /TODO:
293-
# fix this, seems to be some issues with it, I could be wrong though
294292
while True:
295293
query = raw_input("\n<" + t.cyan("PLATFORM") + ">$ ")
296294
if query == "":
297295
print("[{}]Query cannot be null.".format(t.red("!")))
296+
else:
298297
break
299298

300299
print("[{}]Please stand by while results are being collected...\n\n\n".format(

censysSearch.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ def censysTargets(clobber=True, hostLimit=-1):
6363
print("[{}]I.E. 'IIS' will return a list of IPs belonging to IIS servers.".format(
6464
t.green("+")))
6565

66-
# /TODO:
67-
# fix this, seems to be some issues with it, I could be wrong though
6866
while True:
6967
query = raw_input("\n<" + t.cyan("PLATFORM") + ">$ ")
7068
if query == "":

0 commit comments

Comments
 (0)