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/README.md
CHANGED
|
@@ -33,19 +33,8 @@ Pentesting support tool
|
|
|
33
33
|
|
|
34
34
|
## Quick Start with Docker (Recommended)
|
|
35
35
|
|
|
36
|
-
### Using GLM (Default - Recommended)
|
|
37
|
-
|
|
38
|
-
GLM Web Search uses the same API key as the model, so no extra configuration needed:
|
|
39
36
|
|
|
40
37
|
```bash
|
|
41
|
-
# One-time use (data deleted after exit)
|
|
42
|
-
docker run -it --rm \
|
|
43
|
-
-e PENTEST_API_KEY="your_glm_api_key" \
|
|
44
|
-
-e PENTEST_BASE_URL="https://open.bigmodel.cn/api/paas/v4" \
|
|
45
|
-
-e PENTEST_MODEL="glm-5" \
|
|
46
|
-
agnusdei1207/pentesting
|
|
47
|
-
|
|
48
|
-
# Persistent data (saved to ./pentest-data/)
|
|
49
38
|
docker run -it --rm \
|
|
50
39
|
-e PENTEST_API_KEY="your_glm_api_key" \
|
|
51
40
|
-e PENTEST_BASE_URL="https://open.bigmodel.cn/api/paas/v4" \
|
|
@@ -54,8 +43,6 @@ docker run -it --rm \
|
|
|
54
43
|
agnusdei1207/pentesting
|
|
55
44
|
```
|
|
56
45
|
|
|
57
|
-
Web search is automatically configured to use GLM Web Search with your `PENTEST_API_KEY`.
|
|
58
|
-
|
|
59
46
|
### Using Brave Search
|
|
60
47
|
|
|
61
48
|
```bash
|
|
@@ -69,38 +56,6 @@ docker run -it --rm \
|
|
|
69
56
|
agnusdei1207/pentesting
|
|
70
57
|
```
|
|
71
58
|
|
|
72
|
-
Get Brave Search API key at: https://brave.com/search/api/
|
|
73
|
-
|
|
74
|
-
### Using Serper (Google Search)
|
|
75
|
-
|
|
76
|
-
```bash
|
|
77
|
-
docker run -it --rm \
|
|
78
|
-
-e PENTEST_API_KEY="your_glm_api_key" \
|
|
79
|
-
-e PENTEST_BASE_URL="https://open.bigmodel.cn/api/paas/v4" \
|
|
80
|
-
-e PENTEST_MODEL="glm-5" \
|
|
81
|
-
-e SEARCH_API_KEY="your_serper_api_key" \
|
|
82
|
-
-e SEARCH_API_URL="https://google.serper.dev/search" \
|
|
83
|
-
-v ./pentest-data:/root/.pentest \
|
|
84
|
-
agnusdei1207/pentesting
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
Get Serper API key at: https://serper.dev/
|
|
88
|
-
|
|
89
|
-
## Environment Variables
|
|
90
|
-
|
|
91
|
-
| Variable | Required | Default | Description |
|
|
92
|
-
|----------|----------|---------|-------------|
|
|
93
|
-
| `PENTEST_API_KEY` | ✅ Yes | - | LLM API key (also used for web search if `SEARCH_API_KEY` not set) |
|
|
94
|
-
| `PENTEST_BASE_URL` | No | - | Custom API endpoint URL |
|
|
95
|
-
| `PENTEST_MODEL` | No | - | Model name (e.g., `glm-5`) |
|
|
96
|
-
| `SEARCH_API_KEY` | No | Uses `PENTEST_API_KEY` | Web search API key (optional, falls back to main key) |
|
|
97
|
-
| `SEARCH_API_URL` | No | GLM Web Search | Web search API URL |
|
|
98
|
-
|
|
99
|
-
### Web Search Defaults
|
|
100
|
-
|
|
101
|
-
- **Default**: GLM Web Search (`https://open.bigmodel.cn/api/paas/v4/tools/web-search-pro`)
|
|
102
|
-
- **API Key**: Falls back to `PENTEST_API_KEY` if `SEARCH_API_KEY` not set
|
|
103
|
-
|
|
104
59
|
## Issue
|
|
105
60
|
|
|
106
61
|
email: agnusdei1207@gmail.com
|