コード例 #1
0
ファイル: tip.py プロジェクト: corey1218/ZetaSploit
    def __init__(self):
        self.io = io()
        self.parser = parser()
        self.config = config()
        self.badges = badges()

        self.colors_script = colors_script()
コード例 #2
0
 def __init__(self):
     self.badges = badges()
     self.execute = execute()
     self.exceptions = exceptions()
     self.storage = storage()
     self.io = io()
     self.modules = modules()
コード例 #3
0
    def __init__(self):
        self.io = io()
        self.badges = badges()
        self.parser = parser()
        self.config = config()
        self.helper = helper()

        self.details = {
            'Name': "exploit/macos/safari_app/safari_reaper",
            'Authors': ['enty8080'],
            'Description': "macOS Safari.app crash.",
            'Comments': ['']
        }

        self.options = {
            'LHOST': {
                'Description': "Local host.",
                'Value': self.helper.getip(),
                'Required': True
            },
            'LPORT': {
                'Description': "Local port.",
                'Value': 80,
                'Required': True
            }
        }
コード例 #4
0
ファイル: badges.py プロジェクト: corey1218/ZetaSploit
    def __init__(self):
        self.io = io()

        self.BLACK = '\033[30m'
        self.RED = '\033[31m'
        self.GREEN = '\033[32m'
        self.YELLOW = '\033[33m'
        self.BLUE = '\033[34m'
        self.PURPLE = '\033[35m'
        self.CYAN = '\033[36m'
        self.WHITE = '\033[77m'

        self.END = '\033[0m'
        self.BOLD = '\033[1m'
        self.DARK = '\033[2m'
        self.BENT = '\033[3m'
        self.LINE = '\033[4m'
        self.TWINK = '\033[5m'
        self.BACK = '\033[7m'

        self.I = self.WHITE + self.BOLD + '[i] ' + self.END
        self.S = self.GREEN + self.BOLD + '[+] ' + self.END
        self.W = self.YELLOW + self.BOLD + '[!] ' + self.END
        self.E = self.RED + self.BOLD + '[-] ' + self.END
        self.P = self.BLUE + self.BOLD + '[*] ' + self.END
        self.Q = self.WHITE + self.BOLD + '[?] ' + self.END
        self.A = self.WHITE + self.BOLD + '[>] ' + self.END
コード例 #5
0
 def __init__(self):
     self.io = io()
     self.parser = parser()
     self.badges = badges()
     self.helper = helper()
     
     self.details = {
         'Name': "exploit/multi/f5_big_ip_tmui/cve_2020_5902",
         'Authors': [
             'enty8080'
         ],
         'Description': "Remote Code Execution in F5 BIG-IP Traffic Management User Interface (TMUI).",
         'Comments': [
             ''
         ]
     }
     
     self.options = {
         'URL': {
             'Description': "Target URL address.",
             'Value': None,
             'Required': True
         },
         'RFILE': {
             'Description': "File to read.",
             'Value': "/etc/passwd",
             'Required': True
         }
     }
コード例 #6
0
    def __init__(self):
        self.badges = badges()
        self.parser = parser()
        self.io = io()

        self.details = {
            'Name': "exploit/iphoneos/ssh/cydia_default_password",
            'Authors': ['enty8080'],
            'Description':
            "Bypass iOS SSH authorization using Cydia.app default SSH password.",
            'Comments': ['Default iOS root and mobile password - alpine.']
        }

        self.options = {
            'RHOST': {
                'Description': "Remote host.",
                'Value': None,
                'Required': True
            },
            'USERNAME': {
                'Description': "SSH username.",
                'Value': "root",
                'Required': True
            }
        }
コード例 #7
0
    def __init__(self):
        self.io = io()
        self.badges = badges()
        self.parser = parser()
        self.helper = helper()

        self.details = {
            'Name':
            "exploit/multi/citrix_adc_netscaler/cve_2019_19781",
            'Authors': ['enty8080', '__mn1__'],
            'Description':
            "Remote Code Execution in Citrix Application Delivery Controller and Citrix Gateway.",
            'Comments': [
                'Citrix ADC and Citrix Gateway version 13.0 all supported builds',
                'Citrix ADC and NetScaler Gateway version 12.1 all supported builds',
                'Citrix ADC and NetScaler Gateway version 12.0 all supported builds',
                'Citrix ADC and NetScaler Gateway version 11.1 all supported builds',
                'Citrix NetScaler ADC and NetScaler Gateway version 10.5 all supported builds'
            ]
        }

        self.options = {
            'URL': {
                'Description': "Target URL address.",
                'Value': None,
                'Required': True
            },
            'COMMAND': {
                'Description': "Command to execute.",
                'Value': "uname -a",
                'Required': True
            }
        }
コード例 #8
0
    def __init__(self):
        self.io = io()
        self.parser = parser()
        self.badges = badges()
        self.helper = helper()

        self.params = {"routestring": "ajax/render/widget_php"}

        self.details = {
            'Name': "exploit/multi/vbulletin_widget_php/cve_2019_16759",
            'Authors': ['enty8080'],
            'Description':
            "vBulletin 5.0.0 till 5.5.4 widget_php Unauthenticated Remote Code Execution.",
            'Comments': ['']
        }

        self.options = {
            'URL': {
                'Description': "Target URL address.",
                'Value': None,
                'Required': True
            },
            'COMMAND': {
                'Description': "Command to execute.",
                'Value': "uname -a",
                'Required': True
            }
        }
コード例 #9
0
ファイル: jobs.py プロジェクト: Ange-Rodriguez/ZetaSploit
    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
コード例 #10
0
ファイル: console.py プロジェクト: corey1218/ZetaSploit
 def __init__(self):
     self.main = main()
     self.io = io()
     self.tip = tip()
     self.execute = execute()
     self.loader = loader()
     self.config = config()
     self.badges = badges()
     self.banner = banner()
     self.storage = storage()
コード例 #11
0
ファイル: badges.py プロジェクト: AhmedSakrr/HatSploit
    def __init__(self):
        self.io = io()
        self.colors = colors()

        self.I = self.colors.WHITE + self.colors.BOLD + '[i] ' + self.colors.END
        self.S = self.colors.GREEN + self.colors.BOLD + '[+] ' + self.colors.END
        self.W = self.colors.YELLOW + self.colors.BOLD + '[!] ' + self.colors.END
        self.E = self.colors.RED + self.colors.BOLD + '[-] ' + self.colors.END
        self.P = self.colors.BLUE + self.colors.BOLD + '[*] ' + self.colors.END
        self.Q = self.colors.WHITE + self.colors.BOLD + '[?] ' + self.colors.END
        self.A = self.colors.WHITE + self.colors.BOLD + '[>] ' + self.colors.END
コード例 #12
0
ファイル: console.py プロジェクト: Ange-Rodriguez/ZetaSploit
 def __init__(self):
     self.io = io()
     self.tip = tip()
     self.execute = execute()
     self.loader = loader()
     self.config = config()
     self.badges = badges()
     self.banner = banner()
     self.storage = storage()
     self.modules = modules()
     self.exceptions = exceptions()
コード例 #13
0
    def __init__(self):
        self.io = io()
        self.badges = badges()
        self.storage = storage()

        self.details = {
            'Category': "developer",
            'Name': "storage",
            'Description': "Manage storage variables.",
            'Usage': "storage [-l|-v <name>|-s <name> <value>|-d <name>]",
            'ArgsCount': 1,
            'NeedsArgs': True,
            'Args': list()
        }
コード例 #14
0
ファイル: help.py プロジェクト: corey1218/ZetaSploit
    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()
        }
コード例 #15
0
ファイル: console.py プロジェクト: AhmedSakrr/HatSploit
    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']
コード例 #16
0
ファイル: pyshell.py プロジェクト: Ange-Rodriguez/ZetaSploit
    def __init__(self):
        self.io = io()
        self.badges = badges()

        self.prompt = self.badges.BOLD + ">>> " + self.badges.END

        self.details = {
            'Category': "developer",
            'Name': "pyshell",
            'Description': "Open Python shell.",
            'Usage': "pyshell",
            'ArgsCount': 0,
            'NeedsArgs': False,
            'Args': list()
        }
コード例 #17
0
ファイル: run.py プロジェクト: Ange-Rodriguez/ZetaSploit
    def __init__(self):
        self.io = io()
        self.badges = badges()
        self.storage = storage()
        self.modules = modules()

        self.details = {
            'Category': "module",
            'Name': "run",
            'Description': "Run current module.",
            'Usage': "run",
            'ArgsCount': 0,
            'NeedsArgs': False,
            'Args': list()
        }
コード例 #18
0
ファイル: load.py プロジェクト: corey1218/ZetaSploit
    def __init__(self):
        self.io = io()
        self.badges = badges()
        self.storage = storage()
        self.importer = importer()

        self.details = {
            'Category': "plugin",
            'Name': "load",
            'Description': "Load specified plugin.",
            'Usage': "load <plugin>",
            'ArgsCount': 1,
            'NeedsArgs': True,
            'Args': list()
        }
コード例 #19
0
ファイル: show.py プロジェクト: corey1218/ZetaSploit
    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()
        }
コード例 #20
0
    def __init__(self):
        self.io = io()
        self.importer = importer()
        self.badges = badges()
        self.storage = storage()
        self.modules = modules()

        self.details = {
            'Category': "module",
            'Name': "use",
            'Description': "Use specified module.",
            'Usage': "use <module>",
            'ArgsCount': 1,
            'NeedsArgs': True,
            'Args': list()
        }
コード例 #21
0
    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()
        }
コード例 #22
0
    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()
        }
コード例 #23
0
    def __init__(self):
        self.badges = badges()
        self.parser = parser()
        self.io = io()

        self.pseudo_shell = pseudo_shell()

        self.details = {
            'Name': "exploit/iphoneos/ssh/cydia_default_password",
            'Authors': ['enty8080'],
            'Description':
            "Bypass iPhoneOS SSH authorization using Cydia.app default SSH password.",
            'Comments': ['Default iOS root and mobile password - alpine.']
        }

        self.options = {
            'RHOST': {
                'Description': "Remote host.",
                'Value': None,
                'Required': True
            },
            'RPORT': {
                'Description': "Remote port.",
                'Value': 22,
                'Required': True
            },
            'USERNAME': {
                'Description': "Shell username.",
                'Value': "mobile",
                'Required': True
            },
            'COMMAND': {
                'Description': "Command to execute.",
                'Value': "whoami",
                'Required': True
            },
            'PSEUDO': {
                'Description': "Spawn Pseudo shell.",
                'Value': "no",
                'Required': False
            }
        }
コード例 #24
0
    def __init__(self):
        self.io = io()
        self.badges = badges()
        self.parser = parser()
        self.helper = helper()

        self.dictionary = dictionary()

        self.details = {
            'Name': "auxiliary/web/scanner/apache_users",
            'Authors': ['enty8080'],
            'Description': "Scan website apache users.",
            'Comments': ['']
        }

        self.options = {
            'URL': {
                'Description': "Target URL address.",
                'Value': None,
                'Required': True
            }
        }
コード例 #25
0
    def __init__(self):
        self.io = io()
        self.parser = parser()
        self.badges = badges()

        self.pseudo_shell = pseudo_shell()
        self.buffer_size = 2048

        self.details = {
            'Name': "exploit/multi/ssh/cve_2018_10933",
            'Authors': ['enty8080', 'jas502n'],
            'Description': "SSH LibSSH unauthorized access.",
            'Comments': ['']
        }

        self.options = {
            'RHOST': {
                'Description': "Remote host.",
                'Value': None,
                'Required': True
            },
            'RPORT': {
                'Description': "Remote port.",
                'Value': 2222,
                'Required': True
            },
            'COMMAND': {
                'Description': "Command to execute",
                'Value': None,
                'Required': True
            },
            'PSEUDO': {
                'Description': "Spawn Pseudo shell.",
                'Value': "no",
                'Required': False
            }
        }
コード例 #26
0
 def __init__(self):
     self.io = io()
     self.badges = badges()
     self.parser = parser()
     self.helper = helper()
     
     self.handler = handler
     
     self.details = {
         'Name': "exploit/iphoneos/mobile_safari_app/webkit_filter_dos",
         'Authors': [
             'enty8080'
         ],
         'Description': "iPhoneOS 9.1 till 12.1 MobileSafari.app WebKit Filter DoS.",
         'Comments': [
             ''
         ]
     }
     
     self.options = {
         'LHOST': {
             'Description': "Local host.",
             'Value': self.helper.getip(),
             'Required': True
         },
         'LPORT': {
             'Description': "Local port.",
             'Value': 80,
             'Required': True
         },
         'FOREVER': {
             'Description': "Start http server forever.",
             'Value': "no",
             'Required': False
         }
     }
コード例 #27
0
ファイル: modules.py プロジェクト: corey1218/ZetaSploit
 def __init__(self):
     self.io = io()
     self.badges = badges()
コード例 #28
0
    def __init__(self):
        self.io = io()
        self.badges = badges()

        self.prompt = 'pseudo % '
コード例 #29
0
ファイル: synarere.py プロジェクト: xiphffff/synarere
        # Redirect the standard file descriptors to /dev/null.
        os.open('/dev/null', os.O_RDONLY)
        os.open('/dev/null', os.O_RDWR)
        os.open('/dev/null', os.O_RDWR)
    else:
        print 'synarere: pid', os.getpid()
        print 'synarere: running in foreground mode from:', os.getcwd()

    # Initialize the logger.
    logger.init()

    # These have to be in the main file.
    command.add('VERSION', ctcp_version, command.ctcp)
    command.add('PING', ctcp_ping, command.ctcp)

    # Load all modules listed in the configuration.
    module.load_all()

    # Connect to all IRC networks.
    irc.connect_to_all()

    # Start the loop.
    io.io()

    # This should NEVER happen.
    shutdown(os.EX_SOFTWARE, 'Main loop exited (?)')


if __name__ == '__main__':
    main()
コード例 #30
0
    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
            }
        }