Exemplo n.º 1
0
    def __init__(self):
        self.badges = badges()
        self.parser = parser()
        self.tables = tables()
        
        self.details = {
            'Name': "auxiliary/net/scanner/network_scanner",
            'Authors': [
                'enty8080'
            ],
            'Description': "Scan local network.",
            'Dependencies': [
                'scapy'
            ],
            'Comments': [
                'Uses Python scapy module to scan local network.'
            ],
            'Risk': "low"
        }

        self.options = {
            'RANGE': {
                'Description': "IP range.",
                'Value': "192.168.1.1/24",
                'Required': True
            }
        }
Exemplo n.º 2
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
Exemplo n.º 3
0
    def __init__(self):
        self.badges = badges()
        self.helper = helper()
        self.local_storage = local_storage()
        self.jobs = jobs()
        self.parser = parser()
        self.tables = tables()

        self.listener = listener()

        self.controller = None
        self.id_number = 0

        self.sessions_id = dict()
        self.sessions_info = dict()

        self.details = {
            'Name': "exploit/linux/stager/membrane_reverse_tcp",
            'Authors': ['enty8080'],
            'Description':
            "Linux reverse TCP shell with full remote functionality.",
            'Dependencies': [''],
            'Comments': [''],
            'Risk': "high"
        }

        self.options = {
            'LHOST': {
                'Description': "Local host.",
                'Value': self.helper.getip(),
                'Required': True
            },
            'LPORT': {
                'Description': "Local port.",
                'Value': 4444,
                'Required': True
            },
            'FOREVER': {
                'Description': "Start listener forever.",
                'Value': "no",
                'Required': False
            }
        }

        self.commands = {
            'close': {
                'Description': "Close active session.",
                'Usage': "close <session_id>",
                'MinArgs': 1,
                'Run': self.close
            },
            'sessions': {
                'Description': "List all active sessions.",
                'Usage': "list",
                'MinArgs': 0,
                'Run': self.sessions
            }
        }
Exemplo n.º 4
0
    def __init__(self):
        self.badges = badges()
        self.tables = tables()
        self.modules = modules()
        self.local_storage = local_storage()

        self.details = {
            'Category': "core",
            'Name': "help",
            'Description': "Show available commands.",
            'Usage': "help",
            'MinArgs': 0
        }
Exemplo n.º 5
0
    def __init__(self):
        self.badges = badges()
        self.local_storage = local_storage()
        self.modules = modules()
        self.tables = tables()

        self.details = {
            'Category': "core",
            'Name': "show",
            'Description': "Show specified information.",
            'Usage': "show <information>",
            'MinArgs': 1
        }
Exemplo n.º 6
0
    def __init__(self):
        self.jobs = jobs()
        self.badges = badges()
        self.local_storage = local_storage()
        self.tables = tables()

        self.details = {
            'Category': "jobs",
            'Name': "jobs",
            'Description': "Manage active jobs.",
            'Usage': "jobs [-l|-k <id>]",
            'MinArgs': 1
        }
Exemplo n.º 7
0
    def __init__(self):
        self.db = db()
        self.badges = badges()
        self.local_storage = local_storage()
        self.tables = tables()

        self.details = {
            'Category': "database",
            'Name': "modules_db",
            'Description': "Manage modules databases.",
            'Usage': "modules_db [-l|-d <name>|-c <name> <path>]",
            'MinArgs': 1
        }