Exemplo n.º 1
0
def main():
    logger=LoggingManager()
    install = Install()
    try:
        install.install_os_tools()
    except Exception as e:
        logger.install_log(e)
        print("Error while installing os tools. Check install log.")
        exit()
    try:
        install.install_pip_tools()
    except Exception as e:
        logger.install_log(e)
        print("Error while installing python pip tools. Check install log.")
        exit()
Exemplo n.º 2
0
 def __init__(self):
     self.Print = Print()
     self.logger = LoggingManager()
Exemplo n.º 3
0
 def execute_all_func(self, target):
     self.logger = LoggingManager()
     self.websocket_tester(target)
Exemplo n.º 4
0
from Modules.A1_injection.sql import Sql_injection
from Modules.A1_injection.crlf import Crlf_injection
from Modules.A1_injection.host import Host_injection

from Modules.A9_cwkv.wordpress import Wordpress
from Modules.A9_cwkv.apache import Apache2_tests

from Modules.loggingManager.logging_manager import LoggingManager
"""For appending the directory path"""
abs_path = os.path.abspath(os.path.dirname(__file__))
sys.path.append(abs_path + '/')

__author__ = 'Anirudh Anand <*****@*****.**>'

logger = LoggingManager()


class WebXploit():
    def __init__(self):
        self.target_url = ""
        self.target_port = ""
        self.target_host = ""
        self.logger = logger
        self.recon_headers = Headers()
        self.recon_cookies = Cookies()
        self.recon_methods = HTTPMethods()
        self.recon_others = Others()

        self.sql = Sql_injection()
        self.crlf = Crlf_injection()
Exemplo n.º 5
0
 def __init__(self):
     self.Print = Print()
     self.logger = LoggingManager()
     self.filepath = os.path.abspath(
         os.path.join(os.path.dirname(__file__), '../..'))
Exemplo n.º 6
0
 def __init__(self):
     self.Print = Print()
     self.logger = LoggingManager()
     self.verbs = ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS', 'TRACE']