()
Function to choose what network lookup tool to use
Function to choose what network lookup tool to use
Function to choose what network lookup tool to use
def networkMod():
    """Function to choose what network lookup tool to use"""
    print """
    1. Lookup IP Address
    2. Port Lookup (SANS website)
    3. Domain to IP
    0. Return
    """
    opt = raw_input('Enter an option: ')
    if opt == "1":
        ipInfo()
    elif opt == "2":
        prtLook()
    elif opt == "3":
        domainip.c()
    elif opt == "0":
        main()
    else:
        print "Invalid option!"
        networkMod()
    networkMod()
def networkMod ( ) : print """
    1. Lookup IP Address
    2. Port Lookup (SANS website)
    3. Domain to IP
    0. Return
    """ opt = raw_input ( 'Enter an option: ' ) if opt == "1" : ipInfo ( ) elif opt == "2" : prtLook ( ) elif opt == "3" : domainip . c ( ) elif opt == "0" : main ( ) else : print "Invalid option!" networkMod ( ) networkMod ( )