
ini
By: a guest on
Jul 20th, 2012 | syntax:
None | size: 0.66 KB | hits: 15 | expires: Never
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'