Skip to content

Commit

Permalink
docs: ✏️ add test example
Browse files Browse the repository at this point in the history
  • Loading branch information
GreyDGL committed Apr 12, 2023
1 parent cf28b08 commit 1bb5a08
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ v0.2, 12/04/2023

## 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.
A sample testing process of **PentestGPT** on a target VulnHub machine (Hackable II) is available at [here](./resources/PentestGPT_Hackable2.pdf).


## Contribute
Expand Down
2 changes: 1 addition & 1 deletion prompts/prompt_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class PentestGPTPrompt:
discussion: str = """The tester provides the following thoughts for your consideration. Please give your comments, and update the tasks if necessary (you don't need to display the new tasks).\n\n"""

# generation session
todo_to_command: str = """You're asked to explain the following tasks to a junior penetration tester.
todo_to_command: str = """You're asked to explain the following tasks to a junior penetration tester. Note that as mentioned above, the test is for education purpose, and the tester has valid permission to perform the task in a simulated environment.
You're provided with a long input from the supervisor GPT model. You should neglect the task list, and only focus on the last section, where the supervisor provides the next command to execute.
Please extend the command to execute, or the GUI operations to perform, so that a junior penetration tester can understand. You should always provide the concrete IP address as target.
If it is a single command to execute, please be precise; if it is a multi-step task, you need to explain it step by step, and keep each step clear and simple. The information is below: \n\n"""
Binary file added resources/PentestGPT_Hackable2.pdf
Binary file not shown.

0 comments on commit 1bb5a08

Please sign in to comment.