Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update DNSDB to v2 and add offset use #1006

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

kelvinatorr
Copy link
Contributor

I updated it to use our newer v2 api and added ?offset use so that a user can get all the results allowed for their api key.

$make build && ./subfinder -s dnsdb -timeout 500 -pc ../provider-config.yaml -v -d projectdiscovery.io
go1.20.8 build -v  -ldflags '-extldflags "-static"' -o "subfinder" cmd/subfinder/main.go

               __    _____           __         
   _______  __/ /_  / __(_)___  ____/ /__  _____
  / ___/ / / / __ \/ /_/ / __ \/ __  / _ \/ ___/
 (__  ) /_/ / /_/ / __/ / / / / /_/ /  __/ /    
/____/\__,_/_.___/_/ /_/_/ /_/\__,_/\___/_/

		projectdiscovery.io

[INF] Current subfinder version v2.6.3 (latest)
[INF] Loading provider config from ../provider-config.yaml
[DBG] API key(s) found for dnsdb.
[DBG] Selected source(s) for this search: dnsdb
[INF] Enumerating subdomains for projectdiscovery.io
[dnsdb] api.projectdiscovery.io
[dnsdb] cdn.projectdiscovery.io
[dnsdb] cms.projectdiscovery.io
[dnsdb] dns.projectdiscovery.io
[dnsdb] log.projectdiscovery.io
[dnsdb] www.projectdiscovery.io
[dnsdb] auth.projectdiscovery.io
[dnsdb] dev.auth.projectdiscovery.io
[dnsdb] test.auth.projectdiscovery.io
[dnsdb] blog.projectdiscovery.io
[dnsdb] pdtm.projectdiscovery.io
[dnsdb] chaos.projectdiscovery.io
[dnsdb] cloud.projectdiscovery.io
[dnsdb] login.projectdiscovery.io
[dnsdb] nexus.projectdiscovery.io
[dnsdb] _dmarc.projectdiscovery.io
[dnsdb] apollo.projectdiscovery.io
[dnsdb] defcon.projectdiscovery.io
[dnsdb] www.defcon.projectdiscovery.io
[dnsdb] em3080.projectdiscovery.io
[dnsdb] nuclei.projectdiscovery.io
[dnsdb] status.projectdiscovery.io
[dnsdb] careers.projectdiscovery.io
[dnsdb] gh-mail.projectdiscovery.io
[dnsdb] jenkins.projectdiscovery.io
[dnsdb] url3887.projectdiscovery.io
[dnsdb] www-api.projectdiscovery.io
[dnsdb] cio83685.projectdiscovery.io
[dnsdb] krs._domainkey.cio83685.projectdiscovery.io
[dnsdb] interact.projectdiscovery.io
[dnsdb] policies.projectdiscovery.io
[dnsdb] s1._domainkey.projectdiscovery.io
[dnsdb] google._domainkey.projectdiscovery.io
[dnsdb] chaos-data.projectdiscovery.io
[dnsdb] chaos-public-recon.projectdiscovery.io
jenkins.projectdiscovery.io
www-api.projectdiscovery.io
policies.projectdiscovery.io
chaos-data.projectdiscovery.io
login.projectdiscovery.io
chaos.projectdiscovery.io
apollo.projectdiscovery.io
em3080.projectdiscovery.io
careers.projectdiscovery.io
s1._domainkey.projectdiscovery.io
api.projectdiscovery.io
dev.auth.projectdiscovery.io
blog.projectdiscovery.io
gh-mail.projectdiscovery.io
www.projectdiscovery.io
google._domainkey.projectdiscovery.io
status.projectdiscovery.io
defcon.projectdiscovery.io
www.defcon.projectdiscovery.io
interact.projectdiscovery.io
chaos-public-recon.projectdiscovery.io
dns.projectdiscovery.io
cms.projectdiscovery.io
auth.projectdiscovery.io
pdtm.projectdiscovery.io
_dmarc.projectdiscovery.io
cdn.projectdiscovery.io
test.auth.projectdiscovery.io
cloud.projectdiscovery.io
nexus.projectdiscovery.io
url3887.projectdiscovery.io
log.projectdiscovery.io
cio83685.projectdiscovery.io
krs._domainkey.cio83685.projectdiscovery.io
nuclei.projectdiscovery.io
[INF] Found 35 subdomains for projectdiscovery.io in 1 second 152 milliseconds
$

I also added DNSDB to the list of Recursive sources because it does support it

$make build && ./subfinder -s dnsdb -timeout 500 -pc ../provider-config.yaml -v -d auth.projectdiscovery.io
go1.20.8 build -v  -ldflags '-extldflags "-static"' -o "subfinder" cmd/subfinder/main.go

               __    _____           __         
   _______  __/ /_  / __(_)___  ____/ /__  _____
  / ___/ / / / __ \/ /_/ / __ \/ __  / _ \/ ___/
 (__  ) /_/ / /_/ / __/ / / / / /_/ /  __/ /    
/____/\__,_/_.___/_/ /_/_/ /_/\__,_/\___/_/

		projectdiscovery.io

[INF] Current subfinder version v2.6.3 (latest)
[INF] Loading provider config from ../provider-config.yaml
[DBG] API key(s) found for dnsdb.
[DBG] Selected source(s) for this search: dnsdb
[INF] Enumerating subdomains for auth.projectdiscovery.io
[dnsdb] dev.auth.projectdiscovery.io
[dnsdb] test.auth.projectdiscovery.io
dev.auth.projectdiscovery.io
test.auth.projectdiscovery.io
[INF] Found 2 subdomains for auth.projectdiscovery.io in 872 milliseconds 609 microseconds
$

@ehsandeep ehsandeep merged commit eaec42e into projectdiscovery:dev Oct 11, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants