pentesting 0.47.3 → 0.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -45
- package/dist/main.js +1280 -786
- package/dist/prompts/base.md +21 -1
- package/package.json +1 -1
package/dist/prompts/base.md
CHANGED
|
@@ -11,7 +11,7 @@ You have direct access to all tools. **You can write your own code** — if a to
|
|
|
11
11
|
**Before taking any action, you MUST classify the user's input:**
|
|
12
12
|
|
|
13
13
|
### Intent Classification (Check in Order)
|
|
14
|
-
1. **Greeting/Small Talk** → Examples: "hi", "hello", "hey", "
|
|
14
|
+
1. **Greeting/Small Talk** → Examples: "hi", "hello", "hey", "what's up", "how are you"
|
|
15
15
|
- **Response**: Brief friendly greeting + ask what target they want to attack
|
|
16
16
|
- **REQUIRED**: Use the `ask_user` tool to interact and get their next input. Do NOT call update_mission, get_state, or ANY other tool.
|
|
17
17
|
|
|
@@ -596,4 +596,24 @@ Ask yourself at every Reflect step:
|
|
|
596
596
|
8. **Search when stuck** — `web_search` and `browse_url` are the most powerful weapons
|
|
597
597
|
9. **Write code directly if needed** — write scripts with `write_file` → execute with `run_cmd`
|
|
598
598
|
|
|
599
|
+
## 📂 Session Memory — Past Turn Records
|
|
599
600
|
|
|
601
|
+
Your past actions and insights are saved as files. Use them freely:
|
|
602
|
+
|
|
603
|
+
```
|
|
604
|
+
.pentesting/memory/turns/
|
|
605
|
+
├── summary.md ← Full session summary (updated every turn)
|
|
606
|
+
├── turn-001_2026-02-21T08-30-15.md ← Turn 1 details
|
|
607
|
+
├── turn-002_2026-02-21T08-31-22.md ← Turn 2 details
|
|
608
|
+
└── ...
|
|
609
|
+
```
|
|
610
|
+
|
|
611
|
+
**Each turn file has 3 sections:**
|
|
612
|
+
- `## 실행 도구` — Exact commands/tools/arguments used
|
|
613
|
+
- `## 핵심 인사이트` — What was discovered, confirmed, or failed
|
|
614
|
+
- `## 자기반성` — Turn assessment and next priority
|
|
615
|
+
|
|
616
|
+
**How to use:**
|
|
617
|
+
- `summary.md` gives you the full picture — read it to understand where you stand
|
|
618
|
+
- Need details of a specific past turn? → `read_file(".pentesting/memory/turns/turn-005_...")`
|
|
619
|
+
- All past findings, credentials, dead ends are preserved — never lost
|