mirror of
https://github.com/GH05TCREW/pentestagent.git
synced 2026-03-07 22:33:38 +00:00
setup: add MetasploitMCP env flag and auto-install step
This commit is contained in:
@@ -79,6 +79,10 @@ PENTESTAGENT_DEBUG=false
|
||||
# If true, the MCP manager will attempt to start vendored HexStrike servers
|
||||
# that are configured or detected under `third_party/hexstrike`.
|
||||
LAUNCH_HEXTRIKE=false
|
||||
# Auto-launch vendored Metasploit MCP on connect (true/false)
|
||||
# If true, the MCP manager will attempt to start vendored MetasploitMCP
|
||||
# servers that are configured or detected under `third_party/MetasploitMCP`.
|
||||
LAUNCH_METASPLOIT_MCP=false
|
||||
|
||||
# Agent max iterations (regular agent + crew workers, default: 30)
|
||||
# PENTESTAGENT_AGENT_MAX_ITERATIONS=30
|
||||
@@ -100,6 +104,12 @@ if [ -f "third_party/hexstrike/requirements.txt" ]; then
|
||||
bash scripts/install_hexstrike_deps.sh
|
||||
fi
|
||||
|
||||
# Install vendored MetasploitMCP dependencies automatically if present
|
||||
if [ -f "third_party/MetasploitMCP/requirements.txt" ]; then
|
||||
echo "Installing vendored MetasploitMCP dependencies..."
|
||||
bash scripts/install_metasploit_deps.sh
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "=================================================================="
|
||||
echo "Setup complete!"
|
||||
|
||||
Reference in New Issue
Block a user