28 lines
797 B
Bash
Executable File
28 lines
797 B
Bash
Executable File
#!/bin/bash
|
|
# Agentic Pentest MCP - Implant Setup Script
|
|
# Checks that Python 3 is available (no pip packages needed).
|
|
|
|
set -e
|
|
|
|
echo "=== Agentic Pentest MCP Implant Setup ==="
|
|
echo ""
|
|
|
|
# Check for Python 3
|
|
if ! command -v python3 &> /dev/null; then
|
|
echo "Error: python3 not found. Please install Python 3 first."
|
|
exit 1
|
|
fi
|
|
|
|
PYTHON_VERSION=$(python3 --version | cut -d' ' -f2)
|
|
echo "Found Python $PYTHON_VERSION"
|
|
echo ""
|
|
echo "The implant only uses Python standard library modules."
|
|
echo "No virtual environment or pip packages required."
|
|
echo ""
|
|
echo "=== Implant Setup Complete ==="
|
|
echo ""
|
|
echo "To start the implant:"
|
|
echo " export IMPLANT_API_KEY='your-secret-key'"
|
|
echo " export MCP_SERVER_URL='http://<server-ip>:8001'"
|
|
echo " python3 implant.py --id <implant-id> --interval 60"
|