Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- menu = {'1':expoitdb, '2':metasploit, '3':host, '4':exit,}
- while True:
- print """
- Input your chooise:
- 1) Search exploit
- 2) Search Metasploit Modules
- 3) Host lookup
- 4) Exit
- """
- try:
- chooise = raw_input('Select you chooise: ')
- except KeyboardInterrupt, IOError:
- print '\nYou pressed Ctrl+C or exited...'
- sys.exit(1)
- else:
- if chooise in menu.keys():
- menu[chooise]()
- os.system(clear())
- title()
- else:
- print '\nInvalid selection'
Advertisement
Add Comment
Please, Sign In to add comment