All     Ethical Hacking     Networking     Programming     OSINT

Assetfinder in Termux – Installation, Usage & Basic Commands

Assetfinder is a simple and fast subdomain discovery tool. It is used during reconnaissance to find related domains and subdomains of a target using public data sources.

It is lightweight and works very well with tools like Subfinder, httpx, and Nuclei.

Installation Commands

Update Termux and install required packages:

pkg update && pkg upgrade && pkg install git golang -y

Clone the repository:

git clone https://github.com/tomnomnom/assetfinder.git

Move into the directory:

cd assetfinder

Initialize Go module:

go mod init assetfinder

Download dependencies:

go mod tidy

Build the binary:

go build

Run Assetfinder:

./assetfinder --help

(Optional) Move to global path:

mv assetfinder $PREFIX/bin

Usage Commands

Find subdomains:

assetfinder example.com

Show only subdomains:

assetfinder --subs-only example.com

Save output to file:

assetfinder --subs-only example.com > subdomains.txt

Use with httpx:

assetfinder --subs-only example.com | httpx -silent

Full recon chain:

assetfinder --subs-only example.com | httpx -silent | nuclei -silent