From 9ff32f8802169cc95fa067a66630d022fc51c883 Mon Sep 17 00:00:00 2001 From: thewhiteh4t Date: Fri, 28 Jun 2024 11:27:07 +0530 Subject: [PATCH] handle status 300 for anubisdb --- modules/subdomain_modules/anubis_subs.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/subdomain_modules/anubis_subs.py b/modules/subdomain_modules/anubis_subs.py index 187c320..cb49b8a 100644 --- a/modules/subdomain_modules/anubis_subs.py +++ b/modules/subdomain_modules/anubis_subs.py @@ -22,7 +22,11 @@ async def anubisdb(hostname, session): json_out = loads(output) parent.found.extend(json_out) print(f'{G}[+] {Y}AnubisDB {W}found {C}{len(json_out)} {W}subdomains!') + elif status == 300: + print(f'{G}[+] {Y}AnubisDB {W}found {C}0 {W}subdomains!') + log_writer(f'[anubis_subs] Status = {status}, no subdomains found') else: + print(await resp.text()) print(f'{R}[-] {C}AnubisDB Status : {W}{status}') log_writer(f'[anubis_subs] Status = {status}, expected 200') except Exception as exc: