recon-ngStarts the console.
A modular web-reconnaissance framework with a Metasploit-style console, a workspace database and marketplace modules.
sudo apt install recon-ngmarketplace refreshUpdates the module index from the marketplace.
marketplace search <term>Finds modules by name or category.
Example
marketplace search domains-hostsmarketplace install <module>Installs a module.
Example
marketplace install recon/domains-hosts/certificate_transparencymarketplace install allInstalls every module (some still need API keys).
modules load <module>Loads a module.
Example
modules load recon/domains-hosts/hackertargetinfoShows the loaded module’s description and options.
options set SOURCE <value>Sets the module input; by default modules read from the database.
Example
options set SOURCE example.comrunRuns the module and stores results in the workspace database.
db insert domainsAdds a seed domain to the database interactively.
show hostsHosts collected so far. Other tables include contacts, credentials and ports.
db query SELECT host, ip_address FROM hosts WHERE ip_address IS NOT NULLRuns SQL against the workspace.
keys add <name> <value>Stores an API key for modules that need one.
Example
keys add shodan_api ABC123keys listShows configured keys.
modules load reporting/htmlLoads the HTML report module; set CREATOR and CUSTOMER, then run.
modules load reporting/csvExports a table to CSV.
recon-cli -w <workspace> -m <module> -o SOURCE=<value> -xRuns a module non-interactively for scripting.
Example
recon-cli -w acme -m recon/domains-hosts/hackertarget -o SOURCE=example.com -xrecon-ng -r <file>Runs console commands from a resource file.
Example
recon-ng -r commands.rcGathers emails, names, subdomains, IPs and URLs about a domain from public sources like search engines and certificate logs.
Automates OSINT collection across 200+ modules and correlates results about IPs, domains, emails, names and more, via CLI or web UI.
In-depth attack-surface mapping: discovers subdomains through passive sources, DNS brute-forcing and permutation, and graphs the results.