Commit 3e5fead

Repositorybojemoi
Branchmain
Authorgrafana-watcher
Hash3e5fead99aa32edb67bb520bc491237d0bca0ecd

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

Files Changed

MMMDDDDMmmmmmmmscccccccdpppppppk-------/sssssssbeeeeeeeorrrrrrrjvvvvvvveeeeeeeemrrrrrrr//////iDrsttttoeeooodcqrooooakuvllllteiessssarrr///bfe.ddmoaimpaeessleytftieenaean.tbcstpsatp.y.sdlpteooyx.jitpoty..ppyy

Diff Summary

mmmmmmms8cccccccdpppppppkf-------/isssssssbleeeeeeeoerrrrrrrjsvvvvvvveeeeeeeemcrrrrrrrh//////iaDrsttttnoeeooodgcqrooooaekuvlllltdeiessssa,rrr///bfe.ddmoa2impaeess5leytftieenaean.itbcstpnsatp.ys.sdlpeteooyrx.jittpotiy..oppnyys()1121,189748349020980-0deletions(-)