Subfinder is a simple and powerful subdomain enumeration tool that helps you discover subdomains of a target domain using passive online sources. It is fast, lightweight, and widely used for OSINT, reconnaissance, and bug bounty research. You can easily install and run Subfinder in Termux using a few simple commands.
Features of the Subfinder Tool:
- Find subdomains of a domain.
- Use multiple passive sources.
- Save results to a file.
- Output results in JSON format.
- List available data sources.
- Show only active subdomains.
- Perform passive subdomain enumeration.
Subfinder Installation Commands
Follow the commands below to install Subfinder in Termux, copy and run each command one by one.
Update Termux packages.
apt update && apt upgrade -y
Install Git and Go.
apt install git golang -y
Install Subfinder.
go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest
Add the Go binary directory to your PATH.
echo 'export PATH=$PATH:$HOME/go/bin' >> ~/.bashrc && source ~/.bashrc
Check the installed version.
subfinder -version
Subfinder is now installed and ready to use.
Subfinder Usage Commands
After installing Subfinder, you can use different commands to discover subdomains and customize the scan results.
Display the help menu.
subfinder -h
Find subdomains of a domain.
subfinder -d example.com
Read domains from a file.
subfinder -dL domains.txt
Use specific sources.
subfinder -d example.com -s crtsh,github
Use all available sources.
subfinder -d example.com -all
Exclude specific sources.
subfinder -d example.com -es alienvault
Save the output to a file.
subfinder -d example.com -o subdomains.txt
Save the output in JSON format.
subfinder -d example.com -oJ
Show only active subdomains.
subfinder -d example.com -nW
List all available sources.
subfinder -ls
Show only discovered subdomains.
subfinder -silent -d example.com
Display the installed version.
subfinder -version
Subfinder will find subdomains for the target domain and show the result in the terminal. You can also save the results or use different options as needed.
Overview
Subfinder is a simple and lightweight tool for finding subdomains of a website. It is easy to use, works with simple commands, and is a great tool for learning subdomain discovery and OSINT in Termux.



