We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b2d350 commit ffc244bCopy full SHA for ffc244b
searchsploit.py
@@ -517,7 +517,7 @@ def nmapxml(file=""):
517
518
# ## Feedback to enduser
519
if (type(file) == str):
520
- print("[i] Reading: " + highlightTerm(str(file), str(file), True))
+ print("[i] Reading: " + highlightTerm(str(file), str(file), True))
521
else:
522
print("[i] Reading: " + highlightTerm(file.name, file.name, True))
523
tmpaddr = ""
@@ -706,12 +706,10 @@ def run():
706
if not result:
707
parser.print_help()
708
return
709
- print(result)
710
- return
711
712
terms.extend(parseArgs.searchTerms)
713
714
- if (not os.sys.stdin.isatty()):
+ if (parseArgs.nmap == None and not os.sys.stdin.isatty()):
715
text = str(os.sys.stdin.read())
716
terms.extend(text.split())
717
0 commit comments