mirror of
https://github.com/weyne85/PentestGPT.git
synced 2025-10-29 16:58:59 +00:00
20 lines
582 B
Python
20 lines
582 B
Python
import loguru
|
|
import sys
|
|
|
|
from utils.pentest_gpt import pentestGPT
|
|
|
|
logger = loguru.logger
|
|
|
|
if __name__ == "__main__":
|
|
pentestGPTHandler = pentestGPT(reasoning_model="gpt-4", useAPI=False)
|
|
|
|
# you may use this one if you want to use OpenAI API (without GPT-4)
|
|
# pentestGPTHandler = pentestGPT(reasoning_model="gpt-3.5-turbo", useAPI=True)
|
|
|
|
# you may use this one if you want to use OpenAI API with GPT-4
|
|
# pentestGPTHandler = pentestGPT(reasoning_model="gpt-4", useAPI=True)
|
|
|
|
# configure the session
|
|
# TODO: add param parsing
|
|
pentestGPTHandler.main()
|