Guest User

ini

a guest
Jul 20th, 2012
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. menu = {'1':expoitdb, '2':metasploit, '3':host, '4':exit,}
  2. while True:
  3. print """
  4. Input your chooise:
  5. 1) Search exploit
  6. 2) Search Metasploit Modules
  7. 3) Host lookup
  8. 4) Exit
  9. """
  10. try:
  11. chooise = raw_input('Select you chooise: ')
  12. except KeyboardInterrupt, IOError:
  13. print '\nYou pressed Ctrl+C or exited...'
  14. sys.exit(1)
  15. else:
  16. if chooise in menu.keys():
  17. menu[chooise]()
  18. os.system(clear())
  19. title()
  20. else:
  21. print '\nInvalid selection'
Advertisement
Add Comment
Please, Sign In to add comment