mirror of
https://github.com/SHOGGOTH-SECTOR/sica-fondt.git
synced 2026-08-01 08:30:20 +00:00
Place useful parts of the surrounding repos into sica-fondt by layer, per the
body model (Ada = membrane; brain/endocrine/capabilities/knowledge non-Ada):
- brain/ LLM reasoning + providers (dapr, hermes, MoMoA)
- capabilities/ REPRAG sidecars: hermes tools/skills, dapr tools, parallel
dispatch, A51 channels, and the OSINT cluster
- knowledge/ LORAG corpus: 754 cyber-skills, agency personas, secure-coding,
MITRE ATT&CK data
- reference/ defensive threat-reference (C3, shhbruh doc) + AdaYaml parser
License handling: AGPL sources (worldosint, advanced_evolution, mercury,
Reticulum) and GPL DeTTECT are SPEC-only clean-room/port descriptions — no
copyleft code copied. MIT/Apache/data parts copied as working trees.
Safety: shhbruh escape/persistence material and C3 covert-C2 kept as reference
only, not wired into the running organism. See CONSOLIDATION.md.
https://claude.ai/code/session_01UehUqEXXJJCsHoA4voCU5c
80 lines
1.9 KiB
Markdown
80 lines
1.9 KiB
Markdown
# SpiderFoot OSINT API Reference
|
|
|
|
## REST API Endpoints
|
|
|
|
### List Modules
|
|
```
|
|
GET /api/modules
|
|
Response: [{"name": "sfp_dnsresolve", "descr": "...", "group": "Footprint", "provides": [...]}]
|
|
```
|
|
|
|
### Start Scan
|
|
```
|
|
POST /api/startscan
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
scanname=my-scan&scantarget=example.com&usecase=footprint
|
|
Response: {"scanid": "abc123"}
|
|
```
|
|
|
|
### Check Scan Status
|
|
```
|
|
GET /api/scanstatus/{scan_id}
|
|
Response: {"status": "RUNNING"} # RUNNING, FINISHED, ABORTED, ERROR-FAILED
|
|
```
|
|
|
|
### Get Scan Results
|
|
```
|
|
GET /api/scanresults/{scan_id}
|
|
Response: [{"type": "INTERNET_NAME", "data": "sub.example.com", "module": "sfp_dnsresolve", "source": "example.com"}]
|
|
```
|
|
|
|
### Delete Scan
|
|
```
|
|
GET /api/scandelete/{scan_id}
|
|
```
|
|
|
|
### List Scans
|
|
```
|
|
GET /api/scanlist
|
|
```
|
|
|
|
## Scan Use Cases
|
|
| Use Case | Description |
|
|
|---|---|
|
|
| all | All modules (slowest, most comprehensive) |
|
|
| footprint | Attack surface mapping: subdomains, IPs, ports |
|
|
| investigate | Deep analysis: WHOIS, DNS, reputation checks |
|
|
| passive | Passive only: no active probing of target |
|
|
|
|
## Data Element Types
|
|
| Type | Description |
|
|
|---|---|
|
|
| INTERNET_NAME | Discovered domain/subdomain |
|
|
| IP_ADDRESS | IP addresses |
|
|
| EMAILADDR | Email addresses |
|
|
| LEAKSITE_CONTENT | Leaked credentials/data |
|
|
| DNS_TEXT | DNS TXT/MX/NS records |
|
|
| LINKED_URL_INTERNAL | URLs on target domain |
|
|
| CO_HOSTED_SITE | Sites sharing same IP |
|
|
| AFFILIATE_INTERNET_NAME | Related domains |
|
|
|
|
## CLI Usage (sf.py)
|
|
```bash
|
|
# Start scan via CLI
|
|
python sf.py -s example.com -t INTERNET_NAME,IP_ADDRESS -m sfp_dnsresolve,sfp_portscan_tcp
|
|
|
|
# Passive footprint
|
|
python sf.py -s example.com -u passive
|
|
|
|
# List modules
|
|
python sf.py -M
|
|
```
|
|
|
|
## Agent CLI Usage
|
|
```bash
|
|
python agent.py --target example.com --use-case footprint --output report.json
|
|
python agent.py --target 203.0.113.5 --use-case investigate --timeout 1200
|
|
python agent.py --list-modules --server http://spiderfoot:5001
|
|
```
|