projectdiscovery / subfinder

Fast passive subdomain enumeration tool.
https://projectdiscovery.io
MIT License
10.22k stars 1.27k forks source link

Do not run dnsdb source if keys are not specified #264

Closed ehsandeep closed 4 years ago

ehsandeep commented 4 years ago

Current behavior -

$ subfinder -d test.com -sources dnsdb -v

[WRN] Use with caution. You are responsible for your actions
[WRN] Developers assume no liability and are not responsible for any misuse or damage.
[WRN] By using subfinder, you also agree to the terms of the APIs used.

[INF] Enumerating subdomains for test.com
[dnsdb] Source took 1.041913958s for enumeration

[WRN] Could not run source DNSDB: invalid status code received: 403

Expected behavior -

vzamanillo commented 4 years ago

I am not able to reproduce this.

subfinder version: 2.3.6

$ subfinder -d test.com -sources dnsdb -v
[WRN] Use with caution. You are responsible for your actions
[WRN] Developers assume no liability and are not responsible for any misuse or damage.
[WRN] By using subfinder, you also agree to the terms of the APIs used.

[INF] Enumerating subdomains for test.com

config.yml

config

ehsandeep commented 4 years ago

@vzamanillo ^

> subfinder -d test.com -sources dnsdb -v

        _     __ _         _         
____  _| |__ / _(_)_ _  __| |___ _ _ 
(_-< || | '_ \  _| | ' \/ _  / -_) '_|
/__/\_,_|_.__/_| |_|_||_\__,_\___|_| v2

        projectdiscovery.io

[WRN] Use with caution. You are responsible for your actions
[WRN] Developers assume no liability and are not responsible for any misuse or damage.
[WRN] By using subfinder, you also agree to the terms of the APIs used.

[INF] Enumerating subdomains for test.com
[WRN] Could not run source DNSDB: invalid status code received: 403
[dnsdb] Source took 1.523267624s for enumeration
> subfinder -version

        _     __ _         _         
____  _| |__ / _(_)_ _  __| |___ _ _ 
(_-< || | '_ \  _| | ' \/ _  / -_) '_|
/__/\_,_|_.__/_| |_|_||_\__,_\___|_| v2

        projectdiscovery.io

[WRN] Use with caution. You are responsible for your actions
[WRN] Developers assume no liability and are not responsible for any misuse or damage.
[WRN] By using subfinder, you also agree to the terms of the APIs used.

[INF] Current Version: 2.3.7