How lanmaster53/recon-ng works
Recon-ng is a modular framework for web-based open-source reconnaissance. A user initiates work through the framework’s command interface or web UI/API; the framework manages workspaces and modules, which perform reconnaissance and record results for later querying, reporting, and export. The web application also exposes task execution and status. The sampled sources show framework persistence and web-task storage; the README describes the product’s modular purpose, while unsampled module implementations limit detail about individual reconnaissance workflows.
Main entry points: api.py REST API · base.py Framework and workspaces · module.py Module execution · tasks.py Background task runner
Components 17
User interfaces
- Command interface
recon/core/framework.py - Web application
recon/core/web/__init__.py
Framework runtime
- Framework and workspaces
recon/core/base.py - Module execution
recon/core/module.py - Input validation
recon/utils/validators.py - Workspace data store
recon/core/framework.py - Background task runner
recon/core/tasks.py
Reconnaissance capabilities
- Recon helpers
recon/mixins - Search providers
Web API and reporting
- Task records
recon/core/web/db.py - REST API
recon/core/web/api.py - Web data helpers
recon/core/web/utils.py - Workspace reports
recon/core/web/reports.py - Data exporters
recon/core/web/exports.py
Other components
- Recon operator
- Browser
- Redis job queue
Connections 24
- Recon operator → Command interface: issues commands
README.md - Recon operator → Web application: uses interface
README.md - Web application → REST API: registers routes
recon/core/web/__init__.py - Command interface → Framework and workspaces: operates framework
recon/core/base.py - Framework and workspaces → Module execution: loads modules
- Module execution → Input validation: uses validators
recon/core/module.py - Framework and workspaces → Workspace data store: queries and writes
recon/core/framework.py - Module execution → Workspace data store: records findings
recon/core/module.py - Module execution → Recon helpers: uses helpers
- Recon helpers → Search providers: queries providers
recon/mixins/search.py - REST API → Framework and workspaces: reads runtime state
recon/core/web/api.py - REST API → Task records: reads task records
recon/core/web/api.py - Background task runner → Framework and workspaces: starts workspace
recon/core/tasks.py - Background task runner → Module execution: runs module
recon/core/tasks.py - Background task runner → Task records: updates status
recon/core/tasks.py - Background task runner → Redis job queue: reads current job
recon/core/tasks.py - REST API → Redis job queue: fetches live job
recon/core/web/api.py - REST API → Workspace reports: dispatches report
recon/core/web/api.py - Workspace reports → Framework and workspaces: queries workspace
recon/core/web/reports.py - Workspace reports → Web data helpers: formats worksheet
recon/core/web/reports.py - REST API → Framework and workspaces: queries export rows
recon/core/web/api.py - REST API → Data exporters: dispatches export
recon/core/web/api.py - Data exporters → Web data helpers: uses formatting helpers
recon/core/web/exports.py - Workspace reports → Browser: renders map view