Commit 2a51f30
| Repository | bojemoi |
| Branch | main |
| Author | Betty |
| Hash | 2a51f3001b29121a572207ae8f42aa46964ac772 |
Description
Architecture v2:
- DbFeeder thread: charge hosts web non scannés depuis msf.hosts (NOT IN zap_scan_log) → Redis queue zap:targets toutes les 300s
- ScanWorker: N scans ZAP concurrents (défaut 3), spider→active scan, DOES_NOT_EXIST/timeout gérés proprement
- zap_scan_log table: tracking persistant (host_id PK, alerts, status) — plus de rescans aléatoires des mêmes hosts
- Faraday export: POST vulns via API v3 après chaque scan
- Fix: DB_NAME ‘msg’ → ‘msf’, Redis connection error ne crashe plus
- Stack: add REDIS_HOST/PORT, ZAP_CONCURRENCY, FARADAY_WORKSPACE, scanner sur réseau pentest+backend pour atteindre Redis et ZAP
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com