def load_modules(url, http_request_method, filename):

    # Check if defined the icmp exfiltration module
    if menu.options.ip_icmp_data:
        try:
            # The icmp exfiltration module
            from src.core.modules.icmp_exfiltration import icmp_exfiltration
            # The icmp exfiltration handler
            icmp_exfiltration.icmp_exfiltration_handler(
                url, http_request_method)
        except ImportError as e:
            print "\n" + Back.RED + "(x) Error: " + str(e) + Style.RESET_ALL
            sys.exit(0)
        sys.exit(0)

    # Check if defined the icmp exfiltration module
    if menu.options.shellshock:
        try:
            # The Shellshock module
            from src.core.modules.shellshock import shellshock
            # The Shellshock handler
            shellshock.shellshock_handler(url, http_request_method, filename)
        except ImportError as e:
            print "\n" + Back.RED + "(x) Error: " + str(e) + Style.RESET_ALL
            sys.exit(0)
        sys.exit(0)
Example #2
0
def load_modules(url, http_request_method, filename):

  # Check if defined the icmp exfiltration module
  if menu.options.ip_icmp_data :
    try:
      # The icmp exfiltration module
      from src.core.modules.icmp_exfiltration import icmp_exfiltration
      # The icmp exfiltration handler
      icmp_exfiltration.icmp_exfiltration_handler(url, http_request_method)
    except ImportError as e:
      print "\n" + Back.RED + "(x) Error: " + str(e) + Style.RESET_ALL
      sys.exit(0) 
    sys.exit(0)

  # Check if defined the icmp exfiltration module
  if menu.options.shellshock :
    try:
      # The Shellshock module
      from src.core.modules.shellshock import shellshock
      # The Shellshock handler
      shellshock.shellshock_handler(url, http_request_method, filename)
    except ImportError as e:
      print "\n" + Back.RED + "(x) Error: " + str(e) + Style.RESET_ALL
      sys.exit(0) 
    sys.exit(0) 
Example #3
0
def load_modules(url, http_request_method, filename):

    # Check if defined the ICMP exfiltration module
    if menu.options.ip_icmp_data:
        try:
            # The ICMP exfiltration module
            from src.core.modules.icmp_exfiltration import icmp_exfiltration
            # The ICMP exfiltration handler
            icmp_exfiltration.icmp_exfiltration_handler(
                url, http_request_method)
        except ImportError as e:
            print "\n" + Back.RED + settings.ERROR_SIGN + str(
                e) + Style.RESET_ALL
            sys.exit(0)
        sys.exit(0)

    # Check if defined the DNS exfiltration module
    if menu.options.dns_server:
        try:
            # The DNS exfiltration module
            from src.core.modules.dns_exfiltration import dns_exfiltration
            # The DNS exfiltration handler
            dns_exfiltration.dns_exfiltration_handler(url, http_request_method)
        except ImportError as e:
            print "\n" + Back.RED + settings.ERROR_SIGN + str(
                e) + Style.RESET_ALL
            sys.exit(0)
        sys.exit(0)

    # Check if defined the shellshock module
    if menu.options.shellshock:
        try:
            # The shellshock module
            from src.core.modules.shellshock import shellshock
            # The shellshock handler
            shellshock.shellshock_handler(url, http_request_method, filename)
        except ImportError as e:
            print "\n" + Back.RED + settings.ERROR_SIGN + str(
                e) + Style.RESET_ALL
            sys.exit(0)
        sys.exit(0)
Example #4
0
def load_modules(url, http_request_method, filename):

    # Check if defined the ICMP exfiltration module
    if menu.options.ip_icmp_data:
        try:
            # The ICMP exfiltration module
            from src.core.modules.icmp_exfiltration import icmp_exfiltration
            # The ICMP exfiltration handler
            icmp_exfiltration.icmp_exfiltration_handler(
                url, http_request_method)
        except ImportError as err_msg:
            print "\n" + settings.print_critical_msg(err_msg)
            sys.exit(0)
        sys.exit(0)

    # Check if defined the DNS exfiltration module
    if menu.options.dns_server:
        try:
            # The DNS exfiltration module
            from src.core.modules.dns_exfiltration import dns_exfiltration
            # The DNS exfiltration handler
            dns_exfiltration.dns_exfiltration_handler(url, http_request_method)
        except ImportError as err_msg:
            print "\n" + settings.print_critical_msg(err_msg)
            sys.exit(0)
        sys.exit(0)

    # Check if defined the shellshock module
    if menu.options.shellshock:
        try:
            # The shellshock module
            from src.core.modules.shellshock import shellshock
            # The shellshock handler
            shellshock.shellshock_handler(url, http_request_method, filename)
        except ImportError as err_msg:
            print "\n" + settings.print_critical_msg(err_msg)
            sys.exit(0)
        sys.exit(0)
Example #5
0
def load_modules(url, http_request_method, filename):

  # Check if defined the ICMP exfiltration module
  if menu.options.ip_icmp_data :
    try:
      # The ICMP exfiltration module
      from src.core.modules.icmp_exfiltration import icmp_exfiltration
      # The ICMP exfiltration handler
      icmp_exfiltration.icmp_exfiltration_handler(url, http_request_method)
    except ImportError as err_msg:
      print "\n" + settings.print_error_msg(err_msg)
      sys.exit(0) 
    sys.exit(0)

  # Check if defined the DNS exfiltration module
  if menu.options.dns_server :
    try:
      # The DNS exfiltration module
      from src.core.modules.dns_exfiltration import dns_exfiltration
      # The DNS exfiltration handler
      dns_exfiltration.dns_exfiltration_handler(url, http_request_method)
    except ImportError as err_msg:
      print "\n" + settings.print_error_msg(err_msg)
      sys.exit(0) 
    sys.exit(0)

  # Check if defined the shellshock module
  if menu.options.shellshock :
    try:
      # The shellshock module
      from src.core.modules.shellshock import shellshock
      # The shellshock handler
      shellshock.shellshock_handler(url, http_request_method, filename)
    except ImportError as err_msg:
      print "\n" + settings.print_error_msg(err_msg)
      sys.exit(0) 
    sys.exit(0)