Beispiel #1
0
    def __init__(self):
        self.parser = parser()
        self.config = config()
        self.badges = badges()
        self.colors = colors()

        self.colors_script = colors_script()
Beispiel #2
0
    def __init__(self, client):
        self.badges = badges()

        self.fs = fs()
        self.tcp = tcp()

        self.tcp.connect(client)
Beispiel #3
0
    def __init__(self):
        self.exceptions = exceptions()
        self.tables = tables()
        self.badges = badges()
        self.local_storage = local_storage()
        self.modules = modules()

        self.job_process = None
Beispiel #4
0
    def __init__(self):
        self.badges = badges()
        self.exceptions = exceptions()

        self.tcp = tcp()

        self.stages = None
        self.session = None
Beispiel #5
0
    def __init__(self):
        self.db = db()
        self.badges = badges()
        self.local_storage = local_storage()
        self.config = config()
        self.modules = modules()
        self.exceptions = exceptions()

        self.tcp = tcp()
Beispiel #6
0
    def __init__(self):
        self.sessions = sessions()
        self.local_storage = local_storage()
        self.badges = badges()

        self.tcp = tcp()
        self.http = http()

        self.servers = dict()
Beispiel #7
0
 def __init__(self):
     self.badges = badges()
     self.local_storage = local_storage()
     
     self.base_path = '/opt/hsf/'
     self.config_path = self.base_path + 'config/'
     
     self.db_config_file = self.config_path + 'db_config.yml'
     self.path_config_file = self.config_path + 'path_config.yml'
     self.core_config_file = self.config_path + 'core_config.yml'
     
     self.db_config = self.local_storage.get("db_config")
     self.path_config = self.local_storage.get("path_config")
     self.core_config = self.local_storage.get("core_config")
Beispiel #8
0
    def __init__(self):
        self.io = io()
        self.tip = tip()
        self.jobs = jobs()
        self.execute = execute()
        self.loader = loader()
        self.config = config()
        self.badges = badges()
        self.banner = banner()
        self.colors = colors()
        self.local_storage = local_storage()
        self.modules = modules()
        self.exceptions = exceptions()

        self.history = self.config.path_config['base_paths']['history_path']
Beispiel #9
0
    def do_GET(self):
        self.badges = badges()
        self.generate_payload = generate_payload()
        payload = self.generate_payload.generate()

        self.badges.output_success("Connection from " +
                                   self.client_address[0] + "!")
        self.badges.output_process("Performing WebKit Filter DoS attack...")

        self.send_response(200)
        self.send_header("Content-type", "text/html")
        self.end_headers()

        self.wfile.write(bytes(payload, "utf8"))
        self.badges.output_success("WebKit Filter DoS attack completed!")
Beispiel #10
0
    def __init__(self, local_host, local_port, client):
        self.local_host = local_host
        self.local_port = local_port
        self.client = client

        self.badges = badges()
        self.config = config()
        self.exceptions = exceptions()

        self.tcp = tcp()

        self.first_stage = "uname -smp"
        self.first_stage_size = self.helper.len_line(self.first_stage)

        self.second_stage = self.config.path_config['base_paths'][
            'data_path'] + "modules/exploit/linux/stager/membrane_reverse_tcp/bin/"
        self.second_stage_size = self.helper.len_file(self.second_stage)
        self.second_stage_path = "/private/var/tmp/." + binascii.hexlify(
            os.urandom(8)).decode()
Beispiel #11
0
    def do_GET(self):
        self.badges = badges()

        self.badges.output_success("Connection from " +
                                   self.client_address[0] + "!")
        self.badges.output_process("Performing User-Agent capture...")

        self.send_response(200)
        self.send_header("Content-type", "text/html")
        self.end_headers()

        self.wfile.write(bytes("Neo... Where are you?", "utf8"))

        if 'User-Agent' in self.headers.keys():
            user_agent = self.headers['User-Agent']
            self.badges.output_information("User-Agent: " + user_agent)

            self.badges.output_success("User-Agent capture done!")
        else:
            self.badges.output_error("User-Agent capture failed!")
Beispiel #12
0
 def __init__(self):
     self.badges = badges()
     self.importer = importer()
     self.config = config()
Beispiel #13
0
    def __init__(self):
        self.badges = badges()
        self.importer = importer()

        self.modules_tests = modules_tests()
        self.plugins_tests = plugins_tests()
Beispiel #14
0
    def __init__(self):
        self.badges = badges()

        self.tcp = tcp()

        self.adb = "adb"
Beispiel #15
0
    def __init__(self):
        self.badges = badges()
        self.jobs = jobs()
        self.exceptions = exceptions()

        self.prompt = 'pseudo % '
Beispiel #16
0
    def __init__(self):
        self.badges = badges()
        self.local_storage = local_storage()

        self.pseudo_shell = pseudo_shell()
Beispiel #17
0
    def __init__(self):
        self.badges = badges()
        self.exceptions = exceptions()

        self.client = None
Beispiel #18
0
 def __init__(self):
     self.fmt = fmt()
     self.badges = badges()
     self.colors = colors()
     self.parser = parser()
     self.tables = tables()
Beispiel #19
0
 def __init__(self):
     self.fmt = fmt()
     self.badges = badges()
     self.local_storage = local_storage()
     self.modules = modules()
Beispiel #20
0
 def __init__(self):
     self.badges = badges()
Beispiel #21
0
 def __init__(self):
     self.badges = badges()
     self.importer = importer()
     self.local_storage = local_storage()
Beispiel #22
0
 def __init__(self):
     self.badges = badges()
     self.local_storage = local_storage()