Skip to content

Commit 0035cae

Browse files
author
githubnull
committed
docs: update all README and documentation files to v1.7.6
- Update version to 1.7.6 in config.py - Add scan preset management feature documentation - Add HTTP request parser (cURL/PowerShell/fetch/raw HTTP) - Add guided parameter editor feature - Add code editor component documentation - Update AGENTS.md with new API endpoints - Update CLAUDE.md with new components and tools - Update all sub-project README files - Update USAGE_GUIDE.md with scan config management chapter
1 parent f555587 commit 0035cae

9 files changed

Lines changed: 264 additions & 39 deletions

File tree

AGENTS.md

Lines changed: 37 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,16 @@ sqlmapWebUI/
2222
│ │ ├── model/ # Data models
2323
│ │ │ ├── requestModel/ # Request DTOs
2424
│ │ │ ├── Task.py # Task model
25+
│ │ │ ├── ScanPreset.py # Scan configuration presets
26+
│ │ │ ├── ScanPresetDatabase.py # Preset database operations
2527
│ │ │ ├── HeaderScope.py # Header scope configuration
2628
│ │ │ ├── PersistentHeaderRule.py # Persistent header rules
2729
│ │ │ ├── SessionHeader.py # Session-level headers
2830
│ │ │ └── ...
2931
│ │ ├── service/ # Business logic layer
3032
│ │ │ ├── taskService.py # Task management
31-
│ │ │ └── headerRuleService.py # Header rules management
33+
│ │ │ ├── headerRuleService.py # Header rules management
34+
│ │ │ └── scanPresetService.py # Scan preset management
3235
│ │ ├── utils/ # Utility functions
3336
│ │ │ ├── header_processor.py # Header processing
3437
│ │ │ ├── scope_matcher.py # Scope matching logic
@@ -42,16 +45,20 @@ sqlmapWebUI/
4245
│ │ ├── components/# Shared components
4346
│ │ │ ├── TaskFilter.vue # Task filtering component
4447
│ │ │ ├── TaskSummary.vue # Task statistics summary
45-
│ │ │ └── ScopeConfigPanel.vue # Scope configuration UI
48+
│ │ │ ├── ScopeConfigPanel.vue # Scope configuration UI
49+
│ │ │ ├── HttpCodeEditor.vue # Code editor with syntax highlighting
50+
│ │ │ └── GuidedParamEditor.vue # Guided SQLMap parameter editor
4651
│ │ ├── stores/ # Pinia state management
4752
│ │ │ ├── task.ts # Task state store
48-
│ │ │ └── config.ts # Config state store
53+
│ │ │ ├── config.ts # Config state store
54+
│ │ │ └── scanPreset.ts # Scan preset state store
4955
│ │ ├── types/ # TypeScript type definitions
5056
│ │ ├── utils/ # Utility functions
5157
│ │ └── views/ # Page views
5258
│ │ ├── Home/ # Dashboard
5359
│ │ ├── TaskList/ # Task list page
5460
│ │ ├── TaskDetail/ # Task detail page
61+
│ │ ├── AddTask/ # Add scan task page
5562
│ │ └── Config/ # Configuration page
5663
│ ├── burpEx/ # Burp Suite extensions
5764
│ │ ├── legacy-api/ # Legacy Burp API (Java 11)
@@ -85,6 +92,22 @@ sqlmapWebUI/
8592
- Summary statistics row in task list
8693
- Smart polling (adjusts refresh rate based on task status)
8794

95+
### Scan Configuration Management
96+
- **Default Configuration**: Global default scan parameters
97+
- **Preset Configurations**: Saved scan parameter combinations with CRUD
98+
- **History Configurations**: Past scan configurations record
99+
- **Guided Parameter Editor**: Visual SQLMap parameter configuration
100+
- **Parameter Preview**: Real-time command line parameter preview
101+
102+
### HTTP Request Parsing
103+
- Multi-format request parsing:
104+
- cURL (Bash/CMD)
105+
- PowerShell Invoke-WebRequest
106+
- JavaScript fetch
107+
- Raw HTTP message
108+
- Smart format detection
109+
- Code editor with line numbers and syntax highlighting
110+
88111
### Header Rules Management
89112
- **Persistent Rules**: Long-term header rules stored in database
90113
- Full CRUD operations
@@ -201,6 +224,17 @@ DELETE /commonApi/header/session-headers # Clear session headers
201224
POST /commonApi/header/header-processing/preview # Preview header processing
202225
```
203226

227+
### Scan Preset API Endpoints
228+
```
229+
GET /commonApi/scanPreset/list # List all presets
230+
GET /commonApi/scanPreset/:id # Get single preset
231+
POST /commonApi/scanPreset # Create preset
232+
PUT /commonApi/scanPreset/:id # Update preset
233+
DELETE /commonApi/scanPreset/:id # Delete preset
234+
GET /commonApi/scanPreset/default # Get default config
235+
PUT /commonApi/scanPreset/default # Update default config
236+
```
237+
204238
## Git Workflow
205239

206240
### Commit Message Format (Conventional Commits)

CLAUDE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,19 +58,24 @@ sqlmapWebUI/
5858
- `views/Home/` - 首页仪表盘,显示任务统计
5959
- `views/TaskList/` - 任务列表,支持过滤/排序/批量操作
6060
- `views/TaskDetail/` - 任务详情,显示日志/结果/配置
61+
- `views/AddTask/` - 添加扫描任务页面
6162
- `views/Config/` - 配置页面(Tab 布局)
6263
- 系统配置
6364
- Header 规则管理
6465
- 会话 Header 管理
66+
- 扫描配置管理(默认配置/常用配置/历史配置)
6567

6668
关键组件:
6769
- `components/TaskFilter.vue` - 任务过滤器
6870
- `components/TaskSummary.vue` - 任务汇总统计
6971
- `components/ScopeConfigPanel.vue` - 作用域配置面板
72+
- `components/HttpCodeEditor.vue` - 代码编辑器(行号、语法高亮)
73+
- `components/GuidedParamEditor.vue` - 引导式参数编辑器
7074

7175
状态管理:
7276
- `stores/task.ts` - 任务状态,包含过滤、排序、统计计算
7377
- `stores/config.ts` - 配置状态
78+
- `stores/scanPreset.ts` - 扫描配置预设状态
7479

7580
### VulnShop 靶场 (src/vulnTestServer/)
7681
独立的漏洞测试环境,包含:
@@ -105,6 +110,22 @@ sqlmapWebUI/
105110
- 汇总统计行
106111
- 智能轮询(根据任务状态调整刷新频率)
107112

113+
### 扫描配置管理
114+
- **默认配置**: 全局默认扫描参数
115+
- **常用配置**: 保存的配置组合,支持 CRUD
116+
- **历史配置**: 历史扫描配置记录
117+
- **引导式编辑器**: 可视化配置 SQLMap 参数
118+
- **参数预览**: 实时预览命令行参数
119+
120+
### HTTP 请求解析
121+
- 多格式解析支持:
122+
- cURL (Bash/CMD)
123+
- PowerShell Invoke-WebRequest
124+
- JavaScript fetch
125+
- 原始 HTTP 报文
126+
- 智能格式检测
127+
- 代码编辑器(行号、语法高亮、搜索)
128+
108129
### 请求头规则管理
109130
- **持久化规则**: 存储在数据库的长期规则
110131
- 完整 CRUD 操作

README.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<img src="https://img.shields.io/badge/Vue-3.x-green.svg" alt="Vue">
66
<img src="https://img.shields.io/badge/FastAPI-0.100+-red.svg" alt="FastAPI">
77
<img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License">
8-
<img src="https://img.shields.io/badge/Version-1.6.0-orange.svg" alt="Version">
8+
<img src="https://img.shields.io/badge/Version-1.7.6-orange.svg" alt="Version">
99
</p>
1010

1111
<p align="center">
@@ -27,6 +27,22 @@
2727
- 汇总统计行(实时显示任务统计数据)
2828
- 智能轮询(根据任务状态自动调整刷新频率)
2929

30+
### 扫描配置管理 🆕
31+
- **默认配置**: 设置全局默认扫描参数
32+
- **常用配置**: 保存常用配置组合,支持 CRUD 操作
33+
- **历史配置**: 查看历史扫描使用过的配置
34+
- **引导式编辑器**: 可视化配置 SQLMap 参数,无需记忆命令行
35+
- **参数预览**: 实时预览生成的命令行参数
36+
37+
### HTTP 请求解析 🆕
38+
- 支持多种请求格式自动解析:
39+
- cURL (Bash/CMD)
40+
- PowerShell Invoke-WebRequest
41+
- JavaScript fetch
42+
- 原始 HTTP 报文
43+
- **智能格式检测**: 自动识别输入格式
44+
- **代码编辑器**: 行号显示、语法高亮、搜索过滤
45+
3046
### 批量操作
3147
- **批量停止**: 一键停止多个运行中的任务
3248
- **批量删除**: 批量删除已完成或失败的任务
@@ -237,6 +253,14 @@ sqlmapWebUI/
237253

238254
## 📝 更新日志
239255

256+
### v1.7.6 (2024-12)
257+
- 新增扫描配置预设管理(默认配置/常用配置/历史配置)
258+
- 新增引导式参数编辑器
259+
- 新增 HTTP 请求解析器(支持 cURL/PowerShell/fetch/原始 HTTP)
260+
- 新增代码编辑器组件(行号、语法高亮、搜索)
261+
- 前端代码模块化重构
262+
- 修复 fetch 解析器转义引号处理问题
263+
240264
### v1.6.0 (2024-12)
241265
- 新增请求头规则作用域配置功能
242266
- 新增会话级请求头管理

README_EN.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<img src="https://img.shields.io/badge/Vue-3.x-green.svg" alt="Vue">
66
<img src="https://img.shields.io/badge/FastAPI-0.100+-red.svg" alt="FastAPI">
77
<img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License">
8-
<img src="https://img.shields.io/badge/Version-1.6.0-orange.svg" alt="Version">
8+
<img src="https://img.shields.io/badge/Version-1.7.6-orange.svg" alt="Version">
99
</p>
1010

1111
<p align="center">
@@ -27,6 +27,22 @@ A modern SQLMap web interface that provides a convenient SQL injection testing p
2727
- Summary statistics row (real-time task statistics display)
2828
- Smart polling (automatically adjusts refresh frequency based on task status)
2929

30+
### Scan Configuration Management 🆕
31+
- **Default Configuration**: Set global default scan parameters
32+
- **Preset Configurations**: Save commonly used configuration combinations with full CRUD support
33+
- **History Configurations**: View configurations used in past scans
34+
- **Guided Editor**: Visually configure SQLMap parameters without memorizing command line
35+
- **Parameter Preview**: Real-time preview of generated command line parameters
36+
37+
### HTTP Request Parsing 🆕
38+
- Support for automatic parsing of multiple request formats:
39+
- cURL (Bash/CMD)
40+
- PowerShell Invoke-WebRequest
41+
- JavaScript fetch
42+
- Raw HTTP message
43+
- **Smart Format Detection**: Automatically identify input format
44+
- **Code Editor**: Line numbers, syntax highlighting, search filter
45+
3046
### Batch Operations
3147
- **Batch Stop**: Stop multiple running tasks at once
3248
- **Batch Delete**: Delete completed or failed tasks in bulk
@@ -244,6 +260,14 @@ Please read the [Disclaimer](DISCLAIMER.md) before use.
244260

245261
## Changelog
246262

263+
### v1.7.6 (2024-12)
264+
- Added scan configuration preset management (default/preset/history)
265+
- Added guided parameter editor
266+
- Added HTTP request parser (supports cURL/PowerShell/fetch/raw HTTP)
267+
- Added code editor component (line numbers, syntax highlighting, search)
268+
- Frontend code modular refactoring
269+
- Fixed fetch parser escaped quotes handling issue
270+
247271
### v1.6.0 (2024-12)
248272
- Added header rules scope configuration feature
249273
- Added session-level header management

0 commit comments

Comments
 (0)