pentesting 0.50.0 → 0.51.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 CHANGED
@@ -24,28 +24,54 @@
24
24
  |---------|-----------------|
25
25
  | ![Privesc](https://raw.githubusercontent.com/agnusdei1207/public/main/03-privesc.png) | ![Lateral](https://raw.githubusercontent.com/agnusdei1207/public/main/04-lateral.png) |
26
26
 
27
-
28
27
  ---
29
28
 
30
29
  ## Purpose
31
30
 
32
31
  Pentesting support tool
33
32
 
34
- ## Quick Start with Docker (Recommended)
33
+ ---
34
+
35
+ ## Quick Start
36
+
37
+ ### z.ai — GLM Coding Plan Max (Recommended)
38
+
39
+ Web search is included in the subscription — **no separate Search API key required**.
40
+
41
+ ```bash
42
+ docker run -it --rm \
43
+ -e PENTEST_API_KEY="your_z_ai_key" \
44
+ -e PENTEST_BASE_URL="https://api.z.ai/api/anthropic" \
45
+ -e PENTEST_MODEL="glm-4.7" \
46
+ agnusdei1207/pentesting
47
+ ```
48
+
49
+ ### External Search API (Optional)
50
+
51
+ For providers other than z.ai, or to use a dedicated search backend.
35
52
 
36
53
  ```bash
37
54
  docker run -it --rm \
38
- -e PENTEST_API_KEY="your_glm_api_key" \
55
+ -e PENTEST_API_KEY="your_api_key" \
39
56
  -e PENTEST_BASE_URL="https://open.bigmodel.cn/api/paas/v4" \
40
- -e PENTEST_MODEL="glm-5" \
57
+ -e PENTEST_MODEL="glm-4-plus" \
41
58
  -e SEARCH_API_KEY="your_brave_api_key" \
42
59
  -e SEARCH_API_URL="https://api.search.brave.com/res/v1/web/search" \
43
- -v ./pentest-data:/root/.pentest \
44
60
  agnusdei1207/pentesting
45
61
  ```
46
62
 
47
- ## Issue
63
+ ### Environment Variables
48
64
 
49
- email: agnusdei1207@gmail.com
65
+ | Variable | Required | Description |
66
+ |----------|----------|-------------|
67
+ | `PENTEST_API_KEY` | ✅ | LLM API key |
68
+ | `PENTEST_BASE_URL` | ✅ | API endpoint (web search auto-enabled when URL contains `z.ai`) |
69
+ | `PENTEST_MODEL` | ✅ | Model name (e.g. `glm-4.7`) |
70
+ | `SEARCH_API_KEY` | ❌ | External search API key (not needed with z.ai) |
71
+ | `SEARCH_API_URL` | ❌ | External search API URL (not needed with z.ai) |
50
72
 
73
+ ---
74
+
75
+ ## Issue
51
76
 
77
+ email: agnusdei1207@gmail.com