Commit 3e5fead
| Repository | bojemoi |
| Branch | main |
| Author | grafana-watcher |
| Hash | 3e5fead99aa32edb67bb520bc491237d0bca0ecd |
Description
Replace local tools/{database,metasploit,defectdojo,osint}.py with imports from the shared bojemoi-sdk package.
Changes:
- server.py: import from bojemoi.* instead of tools.*
- sync defectdojo calls wrapped with asyncio.to_thread
- tools/nmap kept local (nmap-specific, not in SDK)
- Dockerfile: build context now /opt/bojemoi/ (repo root), installs sdk/ before service requirements
- requirements.txt: remove deps covered by SDK (psycopg2, httpx, msgpack)
- tools/{database,metasploit,defectdojo,osint}.py: deleted
- sdk/bojemoi/database.py: add get_target_profile() (was missing)
Build command: docker build –no-cache -f mcp-server/Dockerfile -t localhost:5000/bojemoi-mcp:latest .
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com