Open In App
Related Articles

subfinder Tool in Linux

Improve Article
Save Article
Like Article

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,, 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.

SubFinder tool in linux

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
installing subfinder form source

From Source

2. From Binary

Firstly download the release suitable for your OS from and then unzip the folder and move the subfinder binary file to /usr/local/bin/ and you are good to go

# download release from
tar -xzvf subfinder-linux-amd64.tar.gz
mv subfinder /usr/local/bin/
subfinder -h

3. From Github

Clone 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
cd subfinder/v2/cmd/subfinder
go build .
mv subfinder /usr/local/bin/
subfinder -h
installing subfinder form GitHub

From Github

Retrieving the Subfinder list of attributes

subfinder -h 

Subfinder help

Working with SubFinder

Here we will find out subdomains of the domain and setting a concurrency of 50. I got around 73 subdomains for in 4 seconds 71 milliseconds.

subfinder -d -silent -t 50
Working with subfinder

Example usage of subfinder

Pros of subfinder over sublist3r: As subfinder is a Go Tool and sublist3r is a python tool and Go Language is faster than python and also Go language’s approach to concurrency is very easy to work with. Also, subfinder also provides various options that sublist3r doesn’t.

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 14 Apr, 2023
Like Article
Save Article
Similar Reads