From 2511078e231f0de4dd4d0987bf934ef9974dae5f Mon Sep 17 00:00:00 2001 From: Miguel Sanchez Date: Fri, 23 Dec 2022 19:07:35 -0500 Subject: [PATCH] basic cache poisoning scanner --- vuln_db/cache_poisoning.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/vuln_db/cache_poisoning.py b/vuln_db/cache_poisoning.py index 5eceaae..7c2d59d 100644 --- a/vuln_db/cache_poisoning.py +++ b/vuln_db/cache_poisoning.py @@ -12,8 +12,4 @@ def cache_dos_scan(url: str) -> str: if r.status_code == 301: for key, description in r.headers.items(): if "Location" in key and url in description: - print(f"{Fore.MAGENTA}[+] {Fore.CYAN}-{Fore.WHITE} Cache Poisoning: {Fore.GREEN}POSSIBLE!") - - - - + print(f"{Fore.MAGENTA}[+] {Fore.CYAN}-{Fore.WHITE} Cache Poisoning: {Fore.GREEN}POSSIBLE!") \ No newline at end of file