Skip to content

Mike-Ki/WP-LLM-SCANER

Repository files navigation

Setting Up the Project

This project is an Agent-based LLM WordPress Plugin Scanner.

Follow these steps to get started:

  1. Create and activate a virtual environment:

    python3 -m venv .venv
    source .venv/bin/activate
  2. Install the required dependencies:

    pip install -r requirements.txt
  3. Set your API keys: Create a .env file in the project root and add your API keys there. Example:

    OPENAI_API_KEY=your_openai_key
    OTHER_API_KEY=your_other_key
  4. Run the scanner:

    python3 main.py

Tunneling a Program Over Burp Suite

To tunnel a program over Burp Suite, it's recommended to use a Python virtualenv. Follow these steps:

  1. Create and activate a virtual environment:

    python3 -m venv venv
    source venv/bin/activate
  2. Get the certificate path used by certifi:

    python3 -m certifi
  3. 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
  4. 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)
  5. Uncomment the proxy environment variables in your .env file to route traffic through Burp.


This setup allows your Python application to trust Burp's certificate when intercepting HTTPS traffic.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages