Commit 52fa875#
| |
|---|
| Repository | bojemoi |
| Branch | main |
| Author | grafana-watcher |
| Hash | 52fa875972f87269ef92845326a1adb5c277633a |
Description#
Extracts duplicated code from mcp-server and pentest-orchestrator into
an installable package (pip install -e /opt/bojemoi/sdk).
Modules:
- bojemoi.secrets — read_secret() Docker secrets helper
- bojemoi.database — get_db() context manager + MSF DB query helpers
- bojemoi.telegram — send_telegram(), pwned/campaign_done templates
- bojemoi.metasploit — MsfRpcClient (msgpack/HTTPS) + session/job/module helpers
- bojemoi.defectdojo — DojoClient (sync requests) + get_or_create_* helpers
- bojemoi.osint — lookup_ip() async multi-source + threat scoring
- bojemoi.queue — RedisQueue produce/consume wrapper
- bojemoi.pentest.base — copied from plugins/base.py (Finding, Severity, PentestPlugin)
- bojemoi.pentest.campaign — pick_next_host(), campaign CRUD
- bojemoi.pentest.dojo_pusher — aggregate_and_push_dojo()
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
Files Changed#
Diff Summary#