Skip to main content

Offensive CyberSecurity Agent

Project description

Mastermind

Mastermind is an offensive security assessment agent.

Docker Setup

docker run -ti --privileged --network host --name mastermind-kali kalilinux/kali-rolling
# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
source $HOME/.local/bin/env

# Install kali-linux-headless
apt update && apt -y install kali-linux-headless

# Install OpenVPN
apt install openvpn
sudo openvpn --config ./labs_Elfsong.ovpn --daemon
ip addr show tun0
sudo killall openvpn

# Clone mastermind Repository
cd /home
git clone https://github.com/Elfsong/mastermind.git

# Create virtual environment named mastermind
cd mastermind
uv venv .mastermind
source .mastermind/bin/activate

# Set the environment variables
echo "OPENAI_API_KEY=<YOUR_OPENAI_API_KEY>" >> .env
echo "TAVILY_API_KEY=<YOUR_TAVILY_API_KEY>" >> .env
echo "LANGSMITH_TRACING=true" >> .env
echo "LANGSMITH_ENDPOINT=https://api.smith.langchain.com" >> .env
echo "LANGSMITH_API_KEY=<YOUR_LANGSMITH_API_KEY>" >> .env
echo "LANGSMITH_PROJECT=<YOUR_LANGSMITH_PROJECT>" >> .env
echo "TARGET_IP=<YOUR_TARGET_IP>" >> .env

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mastermind_agent-0.1.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mastermind_agent-0.1.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file mastermind_agent-0.1.0.tar.gz.

File metadata

  • Download URL: mastermind_agent-0.1.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.21

File hashes

Hashes for mastermind_agent-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d921904e51829a0d983cc10a25456b33298c8b2b03aaa1277c5d36118dca24d5
MD5 213a2393aa6950e671c312288d0be7e0
BLAKE2b-256 0e869b70f426a2e67519b185cd4fc2814392427ccce5d11df51eedc12ad29cc2

See more details on using hashes here.

File details

Details for the file mastermind_agent-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mastermind_agent-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7945522b62e10e0ce3adc567d0cecb4a2512ad343f4fcf60c856429ed16e920e
MD5 e787b196d0e8ee611fb9e26d73654f30
BLAKE2b-256 f1f508581db8c50ea25d03e7c6771b3e5ef6bcce347f3f7dbfec340b4fb0ae06

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page