Skip to content

Commit

Permalink
handle status 300 for anubisdb
Browse files Browse the repository at this point in the history
  • Loading branch information
thewhiteh4t committed Jun 28, 2024
1 parent ea8c1f8 commit 9ff32f8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/subdomain_modules/anubis_subs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9ff32f8

Please sign in to comment.