def __init__(self): self.exceptions = exceptions() self.formatter = formatter() self.badges = badges() self.storage = storage() self.io = io() self.modules = modules() self.job_process = None
def __init__(self): self.io = io() self.formatter = formatter() self.storage = storage() self.details = { 'Category': "core", 'Name': "help", 'Description': "Show available commands.", 'Usage': "help", 'ArgsCount': 0, 'NeedsArgs': False, 'Args': list() }
def __init__(self): self.io = io() self.badges = badges() self.storage = storage() self.formatter = formatter() self.details = { 'Category': "core", 'Name': "show", 'Description': "Show specified information.", 'Usage': "show <information>", 'ArgsCount': 1, 'NeedsArgs': True, 'Args': list() }
def __init__(self): self.io = io() self.jobs = jobs() self.badges = badges() self.storage = storage() self.formatter = formatter() self.details = { 'Category': "jobs", 'Name': "jobs", 'Description': "Manage active jobs.", 'Usage': "jobs [-l|-k <id>]", 'ArgsCount': 1, 'NeedsArgs': True, 'Args': list() }
def __init__(self): self.io = io() self.db = db() self.badges = badges() self.storage = storage() self.formatter = formatter() self.details = { 'Category': "database", 'Name': "modules_db", 'Description': "Manage modules databases.", 'Usage': "modules_db [-l|-d <name>|-c <name> <path>]", 'ArgsCount': 1, 'NeedsArgs': True, 'Args': list() }
def __init__(self): self.io = io() self.badges = badges() self.exceptions = exceptions() self.helper = helper() self.storage = storage() self.jobs = jobs() self.parser = parser() self.listener = listener() self.formatter = formatter() self.process = None self.controller = None self.id_number = 0 self.sessions_id = dict() self.sessions_info = dict() self.ports_map = dict() self.details = { 'Name': "exploit/linux/stager/zetant_reverse_tcp", 'Authors': ['enty8080'], 'Description': "Linux reverse TCP shell with full remote functionality.", 'Comments': [''] } self.options = { 'LHOST': { 'Description': "Local host.", 'Value': self.helper.getip(), 'Required': True }, 'LPORT': { 'Description': "Local port.", 'Value': 4444, 'Required': True }, } self.commands = { 'close': { 'Description': "Close active session.", 'Usage': "close <session_id>", 'ArgsCount': 1, 'NeedsArgs': True, 'Args': list(), 'Run': self.close }, 'stop': { 'Description': "Stop listener by port.", 'Usage': "stop <port>", 'ArgsCount': 1, 'NeedsArgs': True, 'Args': list(), 'Run': self.stop_listener }, 'sessions': { 'Description': "List all active sessions.", 'Usage': "list", 'ArgsCount': 0, 'NeedsArgs': False, 'Args': list(), 'Run': self.sessions } }
def __init__(self): self.io = io() self.badges = badges() self.storage = storage() self.formatter = formatter() self.modules = modules()