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 9ccdd3a commit 29cc70fCopy full SHA for 29cc70f
searchsploit.py
@@ -682,13 +682,18 @@ def run():
682
EDBID = True
683
elif(argv[i] == "--nmap"):
684
try:
685
- if(argv[i+1][0] != "-"):
686
- nmapxml(argv[i+1])
+ if(argv[i + 1][0] != "-"):
+ print(nmapxml(argv[i+1]))
687
+ if not nmapxml(argv[i + 1]):
688
+ if not nmapgrep(argv[i + 1]):
689
+ usage()
690
else:
691
usage()
692
except:
- if(os.sys.stdin.isatty() == False):
- nmapxml()
693
+ if(not os.sys.stdin.isatty()):
694
+ if not nmapxml():
695
+ if not nmapgrep():
696
697
698
699
return
0 commit comments