Esempio n. 1
0
# capabilities.

import logging
import sys
from common import helpers
from common import orchestra

if __name__ == "__main__":

    logging.getLogger("scapy.runtime").setLevel(logging.ERROR)

    helpers.title_screen()

    cli_parsed = helpers.cli_parser()

    the_conductor = orchestra.Conductor()

    # Check if only listing supported server/client protocols or datatypes
    if cli_parsed.list_servers:
        print "[*] Supported server protocols: \n"
        the_conductor.load_server_protocols(cli_parsed)
        for name, server_module in the_conductor.server_protocols.iteritems():
            print "[+] " + server_module.protocol
        print
        sys.exit()

    elif cli_parsed.list_clients:
        print "[*] Supported client protocols: \n"
        the_conductor.load_client_protocols(cli_parsed)
        for name, client_module in the_conductor.client_protocols.iteritems():
            print "[+] " + client_module.protocol
Esempio n. 2
0
#!/usr/bin/env python


from common import helpers
from common import orchestra


if __name__ == "__main__":

    cli_args = helpers.cli_parser()

    # instantiate the orchesta object and call the main conductor
    the_conductor = orchestra.Conductor(cli_args)

    the_conductor.generate_main(cli_args)