Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
st3r30byt3 committed Feb 11, 2019
1 parent 055866c commit de303d3
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions sparta.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,24 +70,11 @@ def eventFilter(self, receiver, event):

if __name__ == "__main__":

# target = False
# nmap = False

# Parse arguments and kick off scans if needed
parser = argparse.ArgumentParser()
parser.add_argument("-t", "--target", help="Automatically launch a staged nmap against the target IP range")
parser.add_argument("-f", "--file", help="Import nmap XML file and kick off automated attacks")
args = parser.parse_args()
# if args.t:
# print "[+] Target was specified."
# target = True
# controller.addHosts(args.t, True, True)

# if args.i:
# print "[+] Nmap XML file was provided."
# nmap = True
# controller.importNmap(args.i)


app = QtGui.QApplication(sys.argv)
myFilter = MyEventFilter() # to capture events
Expand All @@ -112,11 +99,6 @@ def eventFilter(self, receiver, event):

MainWindow.show()

# Parse arguments and kick off scans if needed
# parser = argparse.ArgumentParser()
# parser.add_argument("-t", help="Automatically launch a staged nmap against the target IP range")
# parser.add_argument("-i", help="Import nmap XML file and kick off automated attacks")
# args = parser.parse_args()
if args.target:
print "[+] Target was specified."
controller.addHosts(args.target, True, True)
Expand Down

0 comments on commit de303d3

Please sign in to comment.