Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- import os
- import subprocess
- def menu():
- print("1:. Host Discovery with nmap")
- print("2:. Open Burpsuite\n")
- menu_input=input("Input:")
- if menu_input==1:
- host()
- elif menu_input==2:
- armitage()
- def host():
- os.system("clear")
- host_input=raw_input("gateway: ")
- subprocess.call(['nmap','-sP', host_input+'/24'])
- def armitage():
- os.system("burpsuite")
- if __name__ == "__main__":
- try:
- menu()
- except KeyboardInterrupt:
- sys.exit(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement