Example #1
0
def show_compromised():
    print """
    Select Protocol:

    1. ftp
    2. ssh
    3. telnet
    4. rdp
    5. mysql
    6. web
    7. everything

    9. back
    0. exit

    """
    selected = raw_input(">>")

    try:
        protocol = show_assets_protocols[selected]
        return_asset(protocol, "compromised")
        show_preview_menu("compromised")
    except KeyError:
        exec_menu(selected, assets_actions)
Example #2
0
def show_compromised():
    print """
    Select Protocol:

    1. ftp
    2. ssh
    3. telnet
    4. rdp
    5. mysql
    6. web
    7. everything

    9. back
    0. exit

    """
    selected = raw_input(">>")

    try:
        protocol = show_assets_protocols[selected]
        return_asset(protocol, "compromised")
        show_preview_menu("compromised")
    except KeyError:
        exec_menu(selected, assets_actions)