def __init__(self): self.db = db() self.badges = badges() self.local_storage = local_storage() self.helper = helper() self.config = config() self.modules = modules() self.exceptions = exceptions()
def __init__(self): self.exceptions = exceptions() self.tables = tables() self.badges = badges() self.local_storage = local_storage() self.modules = modules() self.job_process = None
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 } }
def __init__(self): self.badges = badges() self.local_storage = local_storage() self.plugins = plugins() self.details = { 'Category': "plugin", 'Name': "unload", 'Description': "Unload specified loaded plugin.", 'Usage': "unload <plugin>", 'MinArgs': 1 }
def __init__(self): self.badges = badges() self.local_storage = local_storage() self.modules = modules() self.details = { 'Category': "module", 'Name': "set", 'Description': "Set an option value.", 'Usage': "set <option> <value>", 'MinArgs': 2 }
def __init__(self): self.badges = badges() self.modules = modules() self.local_storage = local_storage() self.details = { 'Category': "module", 'Name': "info", 'Description': "Show module information.", 'Usage': "info [<module>]", 'MinArgs': 0 }
def __init__(self): self.badges = badges() self.local_storage = local_storage() self.modules = modules() self.jobs = jobs() self.details = { 'Category': "module", 'Name': "run", 'Description': "Run current module.", 'Usage': "run [-h|-j]", 'MinArgs': 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 }
def __init__(self): self.jobs = jobs() self.local_storage = local_storage() self.modules = modules() self.exceptions = exceptions() self.details = { 'Category': "module", 'Name': "back", 'Description': "Return to the previous module.", 'Usage': "back", 'MinArgs': 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 }
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 }
def __init__(self): self.importer = importer() self.badges = badges() self.local_storage = local_storage() self.modules = modules() self.details = { 'Category': "module", 'Name': "use", 'Description': "Use specified module.", 'Usage': "use <module>", 'MinArgs': 1 }
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 }
def __init__(self): self.badges = badges() self.config = config() self.local_storage = local_storage() self.modules = modules() self.execute = execute() self.details = { 'Category': "developer", 'Name': "edit", 'Description': "Open module in editor.", 'Usage': "edit <module>", 'MinArgs': 1 }
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")
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']
def __init__(self): self.badges = badges() self.config = config() self.storage_path = self.config.path_config['base_paths']['storage_path'] self.local_storage = local_storage() self.global_storage = global_storage(self.storage_path) self.details = { 'Category': "developer", 'Name': "storage", 'Description': "Manage storage variables.", 'Usage': "storage [global|local] [-l|-v <name>|-s <name> <value>|-d <name>]", 'MinArgs': 2 }
def __init__(self): self.badges = badges() self.config = config() self.history = self.config.path_config['base_paths']['history_path'] self.storage_path = self.config.path_config['base_paths'][ 'storage_path'] self.local_storage = local_storage() self.global_storage = global_storage(self.storage_path) self.details = { 'Category': "developer", 'Name': "history", 'Description': "Manage HatSploit history.", 'Usage': "history [-l|on|off]", 'MinArgs': 1 }
def __init__(self): self.colors = colors() self.local_storage = local_storage() self.fmt = fmt()
def __init__(self): self.local_storage = local_storage() self.badges = badges() self.exceptions = exceptions
def __init__(self): self.badges = badges() self.importer = importer() self.local_storage = local_storage() self.modules = modules()
def __init__(self): self.local_storage = local_storage()
def __init__(self): self.badges = badges() self.local_storage = local_storage()