GreyDGL / PentestGPT

A GPT-empowered penetration testing tool
MIT License
7.05k stars 847 forks source link

Fast bugfix #154

Closed RiccardoRobb closed 12 months ago

RiccardoRobb commented 12 months ago

Python version = 3.10.12

  1. Cloned repo
  2. Installed package using pip3 install -e .
  3. Setup env variable for OPENAI_KEY
  4. pentestgpt-connection

First error raised: pentestgpt/utils/APIs/chatgpt_api.py line 96 (More info in commit description) Second error raised: pentestgpt/utils/llm_api.py line 99 (More info in commit description)

The APIKEY used is activated and properly configured. After the fix I can use the tool correctly.

GreyDGL commented 12 months ago

Thanks for the contribution! Merge to main:)