subfinder is a subdomain discovery tool that
returns valid subdomains for websites, using passive online sources. It
has a simple, modular architecture and is optimized for speed. subfinder is built for
doing one thing only - passive subdomain enumeration, and it does that very well.We have made it to comply with all the used passive source licenses and usage restrictions. The passive model guarantees speed and stealthiness that can be leveraged by both penetration testers and bug bounty hunters alike.
Features
- Fast and powerful resolution and wildcard elimination modules
- Curated passive sources to maximize results
- Multiple output formats supported (JSON, file, stdout)
- Optimized for speed and lightweight on resources
- STDIN/OUT support enables easy integration into workflows
-

subfinderrequires go1.24 to install successfully. Run the following command to install the latest version:1. copy url and past terminal command -- go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latestLearn about more ways to install subfinder here: https://docs.projectdiscovery.io/tools/subfinder/install.
2 copy and past terminal -- subfinder -h
Subfinder is a tool used for discovering valid subdomains of websites through passive online sources. It is commonly utilized by ethical hackers and bug bounty hunters during the reconnaissance phase of security assessments
subfinder Tool in Linux
subfinder is a subdomain enumeration tool written in the Go programming language. Subfinder is used for discovering passive subdomains of websites by using digital sources like Censys, Chaos, Recon.dev, Shodan, Spyse, Virustotal, and many other passive online sources. Subfinder is widely used by Ethical Hackers and Bug bounty hunters in the Information gathering Phase which is also known as Reconnaissance.

Installing subfinder
As subfinder is a Go tool you need to have the Go language package installed before installing subfinder.
1. From Source(Recommended)
All you need to do is open your terminal and paste this one line of code and press enter.
GO111MODULE=on go get -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder
From Source 2. From Binary
Firstly download the release suitable for your OS from https://github.com/projectdiscovery/subfinder/releases/ and then unzip the folder and move the subfinder binary file to /usr/local/bin/ and you are good to go
# download release from https://github.com/projectdiscovery/subfinder/releases/ tar -xzvf subfinder-linux-amd64.tar.gz mv subfinder /usr/local/bin/ subfinder -h3. From Github
Clone https://github.com/projectdiscovery/subfinder.git repository and change directory to subfinder/v2/cmd/subfinder and then type go build . (don't forget to put a '.' at the end ) now move the subfinder binary file to /usr/local/bin and subfinder is ready to use.
git clone https://github.com/projectdiscovery/subfinder.git cd subfinder/v2/cmd/subfinder go build . mv subfinder /usr/local/bin/ subfinder -h
From Github Retrieving the Subfinder list of attributes
subfinder -h
Working with SubFinder
Here we will find out subdomains of the domain geeksforgeeks.org and setting a concurrency of 50. I got around 73 subdomains for geeksforgeeks.org in 4 seconds 71 milliseconds.
subfinder -d geeksforgeeks.org -silent -t 50
Example usage of subfinder

Comments