Commit 028ab74
| Repository | bojemoi |
| Branch | main |
| Author | Betty |
| Hash | 028ab744577835a4174ef56ecb0f7f9f47e90bc0 |
Description
Le Dockerfile borodino est explicitement “No Metasploit”, mais build_nmap_command construisait une commande msfconsole -q -x “db_connect…; db_nmap…” → exit 127 sur chaque host, silenciant toute la détection de services.
- build_nmap_command: appel direct nmap -oX - (XML stdout), sans msfconsole
- parse_and_store_nmap_xml: parse le XML et met à jour services.name/info + hosts.os_name
- discover_all_services (debug): idem via _insert_host_from_nmap_xml (upsert host+services)
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com