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 alpineLogin to Alpine Linux Distro:
proot-distro login alpineUpdate packages:
apk update && apk upgradeInstall required dependencies:
apk add git python3 py3-pip build-base libxml2-dev libxslt-devClone Recon-ng repository:
git clone https://github.com/lanmaster53/recon-ng.gitGo to directory:
cd recon-ngCreate virtual environment:
python3 -m venv recon-envActivate virtual environment:
source recon-env/bin/activateInstall requirements:
pip install -r REQUIREMENTSRun Recon-ng:
python recon-ngUsage Commands
Start Recon-ng:
cd recon-ng && source recon-env/bin/activate && python recon-ngSearch modules:
marketplace searchInstall all modules:
marketplace install allInstall a specific module:
marketplace install recon/domains-hosts/google_site_webLoad a module:
modules load recon/domains-hosts/google_site_webSet target domain:
options set SOURCE example.comSet additional options:
options set LIMIT 10Run the module:
runRecon-ng Basic Commands
Show help menu:
helpList all modules:
modules searchShow installed modules:
modules loadShow module options:
options listShow collected data:
show hostsShow contacts:
show contactsShow domains:
show domainsAdd a domain manually:
add domains example.comBack to main menu:
backExit Recon-ng:
exit