Recon-ng in Termux – Installation & Usage Commands

Recon-ng is a powerful OSINT reconnaissance framework used to gather information about domains, users, and networks. You can run it inside Alpine Linux in Termux using proot-distro, which keeps the setup lightweight and stable. It is simple to manage and provides a stable environment for running Recon-ng on Android, where you can:

  • Collect domain information.
  • Find subdomains.
  • Gather emails and usernames.
  • Perform OSINT reconnaissance.
  • Organize results in a structured way.

Requirements

Before installing Recon-ng in Termux, make sure your setup is ready.

  • Termux installed (latest version)
  • Alpine Linux installed using proot-distro
  • Internet connection required: 300MB – 500MB
  • Free storage: Minimum 2GB
  • Installation time: Approx 15–30 minutes

Installation Commands

Install Alpine Linux Distro:

proot-distro install alpine

Login to Alpine Linux Distro:

proot-distro login alpine

Update packages:

apk update && apk upgrade

Install required dependencies:

apk add git python3 py3-pip build-base libxml2-dev libxslt-dev

Clone Recon-ng repository:

git clone https://github.com/lanmaster53/recon-ng.git

Go to directory:

cd recon-ng

Create virtual environment:

python3 -m venv recon-env

Activate virtual environment:

source recon-env/bin/activate

Install requirements:

pip install -r REQUIREMENTS

Run Recon-ng:

python recon-ng

Usage Commands

Start Recon-ng:

cd recon-ng && source recon-env/bin/activate && python recon-ng

Search modules:

marketplace search

Install all modules:

marketplace install all

Install a specific module:

marketplace install recon/domains-hosts/google_site_web

Load a module:

modules load recon/domains-hosts/google_site_web

Set target domain:

options set SOURCE example.com

Set additional options:

options set LIMIT 10

Run the module:

run

Recon-ng Basic Commands

Show help menu:

help

List all modules:

modules search

Show installed modules:

modules load

Show module options:

options list

Show collected data:

show hosts

Show contacts:

show contacts

Show domains:

show domains

Add a domain manually:

add domains example.com

Back to main menu:

back

Exit Recon-ng:

exit
SHARE THIS POST: