This project is an Agent-based LLM WordPress Plugin Scanner.
Follow these steps to get started:
-
Create and activate a virtual environment:
python3 -m venv .venv source .venv/bin/activate -
Install the required dependencies:
pip install -r requirements.txt
-
Set your API keys: Create a
.envfile in the project root and add your API keys there. Example:OPENAI_API_KEY=your_openai_key OTHER_API_KEY=your_other_key
-
Run the scanner:
python3 main.py
To tunnel a program over Burp Suite, it's recommended to use a Python virtualenv. Follow these steps:
-
Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate -
Get the certificate path used by
certifi:python3 -m certifi
-
Export Burp's certificate (e.g., from your browser or Burp directly), then convert it to PEM format:
openssl x509 -inform DER -in burp_cert.der -out burp_cert.pem
-
Add the Burp certificate to the trusted root certificates. Make sure your virtual environment is still active, then run:
cat burp_cert.pem >> $(python3 -m certifi)
-
Uncomment the proxy environment variables in your
.envfile to route traffic through Burp.
This setup allows your Python application to trust Burp's certificate when intercepting HTTPS traffic.