Subfinder Cheat Sheet
Subfinder Cheat Sheet
Subfinder Cheat Sheet
Install Subfinder
Subfinder is a passive
subdomain discovery Subfinder API Setup
tool made by Project Subfinder Config File
Discovery. The Subfinder API Sources
following subfinder
Example Subfinder API Config File
cheat sheet provides an
overview of the Subfinder Usage
command flags for
Example Subfinder Commands
Subfinder and common
Find Subdomains Single Domain
command examples for
real world usage. Verify Subfinder Results With HTTPX
Subfinder can be used Subfinder + Naabu Portscan
to obtain a number of
valid subdomains both Conclusion
passively and actively, Document Changelog
to identify more attack
surface for penetration
testing or bug bounty recon or assessment.
Install Subfinder
go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfin
https://highon.coffee/blog/subfinder-cheat-sheet/ 1/10
7/10/24, 4:04 PM Subfinder Cheat Sheet
root:~# subfinder -h
In order to setup subfinder API keys you need to create or modify the
existing configuration file. The filesystem location for the subfinder config
file is at: $HOME/.config/subfinder/provider-config.yaml the subfinder
config file needs to be populated with the API keys that you will need to
obtain from the various sources that have (kindly) been listed below.
NAME URL
BeVigil https://bevigil.com/osint-api
BinaryEdge https://binaryedge.io
BufferOver https://tls.bufferover.run
C99 https://api.c99.nl/
Censys https://censys.io
https://highon.coffee/blog/subfinder-cheat-sheet/ 2/10
7/10/24, 4:04 PM Subfinder Cheat Sheet
CertSpotter https://sslmate.com/certspotter/api/
Chaos https://chaos.projectdiscovery.io
Chinaz http://my.chinaz.com/ChinazAPI/DataCenter/MyDataApi
DNSDB https://api.dnsdb.info
Fofa https://fofa.info/static_pages/api_help
FullHunt https://fullhunt.io
GitHub https://github.com
Intelx https://intelx.io
PassiveTotal http://passivetotal.org
quake https://quake.360.cn
Robtex https://www.robtex.com/api/
SecurityTrails http://securitytrails.com
Shodan https://shodan.io
ThreatBook https://x.threatbook.cn/en
VirusTotal https://www.virustotal.com
WhoisXML https://whoisxmlapi.com/
API
ZoomEye https://www.zoomeye.org
ZoomEye https://api.zoomeye.org
API
dnsrepo https://dnsrepo.noc.org
Hunter https://hunter.qianxin.com/
Facebook https://developers.facebook.com
BuiltWith https://api.builtwith.com/domain-api
https://highon.coffee/blog/subfinder-cheat-sheet/ 3/10
7/10/24, 4:04 PM Subfinder Cheat Sheet
binaryedge:
- 0bf8919b-aab9-42e4-9574-d3b639324597
- ac244e2f-b635-4581-878a-33f4e79a2c13
censys:
- ac244e2f-b635-4581-878a-33f4e79a2c13:dd510d6e-1b6e-4655-83f6-
certspotter: []
passivetotal:
- sample-email@user.com:sample_password
redhuntlabs:
- ENDPOINT:API_TOKEN
- https://reconapi.redhuntlabs.com/community/v1/domains/subdoma
securitytrails: []
shodan:
- AAAAClP1bJJSRMEYJazgwhJKrggRwKA
github:
- ghp_lkyJGU3jv1xmwk4SDXavrLDJ4dl2pSJMzj4X
- ghp_gkUuhkIYdQPj13ifH4KA3cXRn8JD2lqir2d4
zoomeyeapi:
- 4f73021d-ff95-4f53-937f-83d6db719eec
quake:
- 0cb9030c-0a40-48a3-b8c4-fca28e466ba3
facebook:
- APP_ID:APP_SECRET
intelx:
- HOST:API_KEY
- 2.intelx.io:s4324-b98b-41b2-220e8-3320f6a1284d
Subfinder Usage
https://highon.coffee/blog/subfinder-cheat-sheet/ 4/10
7/10/24, 4:04 PM Subfinder Cheat Sheet
FLAG DESCRIPTION
https://highon.coffee/blog/subfinder-cheat-sheet/ 5/10
7/10/24, 4:04 PM Subfinder Cheat Sheet
https://highon.coffee/blog/subfinder-cheat-sheet/ 6/10
7/10/24, 4:04 PM Subfinder Cheat Sheet
https://highon.coffee/blog/subfinder-cheat-sheet/ 7/10
7/10/24, 4:04 PM Subfinder Cheat Sheet
subfinder -d hackerone.com
__ _____ __
_______ __/ /_ / __(_)___ ____/ /__ _____
/ ___/ / / / __ \/ /_/ / __ \/ __ / _ \/ ___/
(__ ) /_/ / /_/ / __/ / / / / /_/ / __/ /
/____/\__,_/_.___/_/ /_/_/ /_/\__,_/\___/_/ v2.5.1
projectdiscovery.io
b.ns.hackerone.com
hackerone.com
defcon.hackerone.com
[INF] Found 27 subdomains for hackerone.com in 30 seconds 33 mill
Chain up other tools within your workflow, such as verifying targets have
web servers using HTTPX:
https://highon.coffee/blog/subfinder-cheat-sheet/ 9/10
7/10/24, 4:04 PM Subfinder Cheat Sheet
Conclusion
We hope you found this Subfinder cheat sheet useful, and it helps you get
started with this powerful subdomain enumeration tool to find more assets
for assessment.
https://highon.coffee/blog/subfinder-cheat-sheet/ 10/10