How sammothxc/spiderfoot-ng works
SpiderFoot-ng is an OSINT scanning application: a user supplies a target through the web UI or CLI, selects scan modules, and explores stored findings and exports. Its central runtime is the scan controller coordinating event-driven plugins; results are persisted in SQLite and can be viewed, queried, correlated, and exported. The README also documents profiles, a live network graph, TOR support, and optional external tools. Some feature links below rely on README descriptions because their implementation was not sampled.
Main entry points: modules OSINT Modules · sfwebui.py Web UI · sfscan.py Scan Controller · sf.py Application Entry
Components 21
User Interfaces
- Web UI
sfwebui.py - CLI
sfcli.py - Application Entry
sf.py - Scan Profiles
sfwebui.py
Scan Runtime
- Scan Controller
sfscan.py - Event Bus
spiderfoot/event.py - Plugin Runtime
spiderfoot/plugin.py - Thread Pool
spiderfoot/threadpool.py
OSINT Collection
- OSINT Modules
modules - DNS Discovery
modules/sfp_dnsresolve.py - Threat Intelligence
modules/sfp_alienvault.py - Dark Web Search
modules/sfp_onionsearchengine.py
Analysis and Results
- Correlation Engine
spiderfoot/correlation.py - SQLite Store
spiderfoot/db.py - Scan Results
sfwebui.py - Data Exports
sfwebui.py - Live Network Graph
spiderfoot/static/js/viz.js
Runtime Services
- TOR Network
- Optional CLI Tools
- Shared Helpers
sflib.py
Other components
- Operator
Connections 24
- Operator → Web UI: submits target
README.md - Operator → CLI: runs scans
README.md - Web UI → Scan Controller: starts scans
sfwebui.py - CLI → Application Entry: invokes app
README.md - Application Entry → Web UI: starts server
sf.py - Application Entry → Scan Controller: uses controller
sf.py - Scan Controller → OSINT Modules: initializes modules
sfscan.py - Scan Controller → Event Bus: routes events
sfscan.py - Plugin Runtime → Event Bus: publishes events
spiderfoot/plugin.py - Plugin Runtime → Thread Pool: uses workers
spiderfoot/plugin.py - OSINT Modules → DNS Discovery: includes
- OSINT Modules → Threat Intelligence: includes
- OSINT Modules → Dark Web Search: includes
- OSINT Modules → TOR Network: searches via
README.md - OSINT Modules → Optional CLI Tools: can call
README.md - Scan Controller → SQLite Store: stores findings
README.md - Web UI → SQLite Store: queries results
sfwebui.py - Web UI → Scan Profiles: configures selection
README.md - Web UI → Scan Results: shows findings
README.md - Web UI → Data Exports: exports data
README.md - Scan Results → Live Network Graph: streams findings
README.md - SQLite Store → Correlation Engine: provides scan data
spiderfoot/correlation.py - Correlation Engine → Scan Results: derives correlations
README.md - OSINT Modules → Shared Helpers: uses shared functions