GreyDGL / PentestGPT

A GPT-empowered penetration testing tool
MIT License
6.67k stars 796 forks source link

Proxy mode #184

Closed hongxichina closed 6 months ago

hongxichina commented 6 months ago

Hello, does the project leader support the proxy mode to use this project to implement penetration testing, and if so, where do you need to change the request address of the interface?

GreyDGL commented 6 months ago

Yes. The easiest way would be modifying api_base in module_import.py, such as the one for GPT-4. You shall find all those related to OpenAI.

You'll need to pull the project to local env, modify the api base as your desired proxy, and install the project with pip install ./

hongxichina commented 6 months ago

Okay, thank you project leader