Recon-ng is a powerful web reconnaissance framework that helps collect publicly available information related to domains, hosts, IP addresses, and other targets. It provides different modules for OSINT and information gathering tasks, making it useful for cybersecurity learners, researchers, and penetration testers. You can install Recon-ng in Termux using Alpine Linux and perform reconnaissance tasks using some simple commands.
Here’s what you can do with Recon-ng:
- Gather domain information.
- Find subdomains and hosts.
- Perform OSINT reconnaissance.
- Collect publicly available data.
- Use different reconnaissance modules.
- Learn cybersecurity information gathering techniques.
How to Install Recon-ng in Termux
Below are the simple commands to install Recon-ng in Termux. Copy and run each command one by one to install the tool in Termux.
Install Alpine Linux distro.
proot-distro install alpine
Login to Alpine Linux.
proot-distro login alpine
Update Alpine packages.
apk update && apk upgrade
Install required dependencies.
apk add git python3 py3-pip build-base libxml2-dev libxslt-dev
Clone the Recon-ng repository.
git clone https://github.com/lanmaster53/recon-ng.git
Move into the Recon-ng directory.
cd recon-ng
Create a virtual environment.
python3 -m venv recon-env
Activate the virtual environment.
source recon-env/bin/activate
Install Recon-ng requirements.
pip install -r REQUIREMENTS
Run Recon-ng.
python recon-ng
After completing the installation, Recon-ng will open in Termux and be ready to use.
How to use Recon-ng in Termux
Once Recon-ng starts, you will see an interactive console where you can use different reconnaissance modules for information gathering.
Create a new workspace.
workspaces create test
Search available modules.
modules search
Load a reconnaissance module.
modules load recon/domains-hosts/google_site_web
Set the target domain.
options set SOURCE example.com
Run the loaded module.
run
Show loaded module options.
options list
Unload the current module.
modules unload
Exit Recon-ng.
exit
Choose the module you want, set the required options, and run it. Recon-ng will automatically perform the selected reconnaissance task and display the results in the Termux terminal.
Start Recon-ng Again
Whenever you want to use Recon-ng again, login to Alpine Linux, open the Recon-ng directory, activate the virtual environment, and start the framework.
proot-distro login alpine
cd recon-ng
source recon-env/bin/activate
python recon-ng
This will launch the Recon-ng framework and load the interactive console inside the terminal.
Recon-ng Overview
Recon-ng is a powerful reconnaissance framework that combines multiple OSINT tools and modules into a single platform. It helps collect publicly available information, automate reconnaissance tasks, and explore different OSINT techniques. Recon-ng can be installed in Termux to learn information gathering and cybersecurity concepts directly from an Android device.



