docs: ✏️ add HTB pentest record

This commit is contained in:
Grey_D 2023-04-23 15:22:02 +08:00
parent eafa0d5ba8
commit 1e317246db
3 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# PentestGPT
**We're testing PentestGPT on HackTheBox**. More details will be released soon.
**We're testing PentestGPT on HackTheBox**. You may follow [this link](https://www.hackthebox.com/home/users/profile/1489431). More details will be released soon.
## Introduction
**PentestGPT** is a penetration testing tool empowered by **ChatGPT**. It is designed to automate the penetration testing process. It is built on top of ChatGPT and operate in an interactive mode to guide penetration testers in both overall progress and specific operations.

File diff suppressed because one or more lines are too long

View File

@ -42,10 +42,10 @@ class pentestGPT:
"default": "The user did not specify the input source. You need to summarize based on the contents.\n",
}
def __init__(self):
def __init__(self, reasoning_model="gpt-4"):
self.log_dir = "logs"
self.chatGPTAgent = ChatGPT(ChatGPTConfig())
self.chatGPT4Agent = ChatGPT(ChatGPTConfig(model="gpt-4"))
self.chatGPT4Agent = ChatGPT(ChatGPTConfig(model=reasoning_model))
self.prompts = PentestGPTPrompt
self.console = Console()
self.spinner = Spinner("line", "Processing")