Skip to content

Commit 9961d21

Browse files
committed
增加param-filter等4个选项,去掉identify-waf, 布局调整, 去掉丑陋的row1-9
1 parent c3a4bd1 commit 9961d21

File tree

12 files changed

+819
-952
lines changed

12 files changed

+819
-952
lines changed

README.md

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
## sqlmap-gtk
22
sqlmap GUI, using PyGObject(gtk+3)
33

4-
包含sqlmap所有选项(除了-d, 不定时更新sqlmap选项)
5-
支持sqlmapapi客户端(API区)
6-
内置终端
7-
会话功能, 自动保存和载入上一次的选项
8-
94
此GUI只能在linux下运行, 已在kali, debian系中测试通过.
10-
如果想在win下使用, 建议使用[sqlmap-wx](https://github.com/needle-wang/sqlmap-wx/).
11-
欢迎使用, 反馈!!
5+
如果想在win下使用, 可以使用[sqlmap-wx](https://github.com/needle-wang/sqlmap-wx/)(维护慢, 还有很大的改善空间).
6+
欢迎使用, 反馈!
127

138
sqlmap已经移植到了python3!
149
来自sqlmap's FAQ:
@@ -17,37 +12,43 @@ sqlmap已经移植到了python3!
1712
#### 截图
1813
![screenshot](https://github.com/needle-wang/sqlmap-gtk/blob/master/screenshots/sqlmap-ui1.png)
1914

20-
#### 安装
15+
#### 为什么需要GUI?
16+
选项太多了, 没有GUI, 总会忘了选项, 含义及使用.
17+
于是不时地: sqlmap -hh和sqlmap wiki和google. 翻找半天, 阅读又要琢磨半天.
18+
我学使用sqlmap断续好些年了, 存了看了好些资料, 等过段时间, 又模糊了, 没用.
19+
光一个中文手册就看了好多遍, 总感觉缺点什么, 后来想明白了, 缺少视觉上的位置记忆.
20+
滚动+链接跳转的文献, 缺少纸张的阅读痕迹, 也就是位置记忆.
21+
当然, 还有个使用时长的原因.
22+
23+
另外, 光会选项也没有用, wiki上的介绍过于零碎, 选项背后的技术细节很多,
24+
工具描述不够详细, 很多选项有前提要求, 这就要求使用者要有相应的知识储备了
25+
可记性就是不好, 怎么办? 边用边学? 过段时间又忘了, 毕竟只在特定场景才有效.
26+
计算机是个大类, 要记的东西太多了.
27+
28+
这里, 我将选项进行了分类, wiki集成进了GUI, 增加了使用前提, 使用时会有提示,
29+
也许会方便些吧. 熟练后可以注释掉tooltip.
30+
31+
#### 安装与使用
2132
1. **要求**
2233
- python3.5+, GTK+3.20
2334
- pygobject: `pip3 install PyGObject` or `apt-get install python3-gi`
2435
- requests: `pip3 install requests`
2536
- 最新的[sqlmap](https://github.com/sqlmapproject/sqlmap): `git clone` it.
26-
2. **获取本GUI**
37+
2. **下载本GUI**
2738
- `git clone https://github.com/needle-wang/sqlmap-gtk.git`
2839
或 从这下载: [releases](https://github.com/needle-wang/sqlmap-gtk/releases/)(不一定最新)
2940
3. **运行**
3041
- `./sqlmap_gtk.py`
3142

32-
#### TODO
33-
- ~~UI重新排版~~
34-
- ~~分离并完善tooltip等提示信息~~
35-
- ~~细节优化(margin, padding啥的)~~
36-
- ~~打从加了filechooserbutton起, 启动就慢了一倍:
37-
根据line_profiler输出: gtk.FileChooserButton()有性能问题!~~
38-
- ~~重构~~
39-
- ~~添加session功能(v0.2.2)~~
40-
- ~~重构成MVC模式(结构重构改动很大, v0.3)~~
41-
- ~~将管道流集成到UI里(无法实现, 改用pty实现成功)~~
42-
- ~~添加API区(实现sqlmapapi client)~~
43-
- ~~修复: 修改filechooserbutton(常有什么network path超时警告, 启动加快),
44-
输出滚动不准确, file entry补全, G_VALUE_HOLDS_INT警告~~
45-
- ~~更新选项, 添加隐藏选项~~
46-
- 继续重构, 优化
43+
#### 功能
44+
1. 包含sqlmap(1.3.10.7#dev)所有选项(除了-d, 不定时更新sqlmap选项)
45+
2. 支持sqlmapapi客户端(API区)
46+
3. 内置终端
47+
4. 会话功能, 自动保存和载入上一次的选项
4748

4849
#### 关于
49-
1. V0.3.4.1
50-
2019年10月02日 23:39:57
50+
1. V0.3.4.2
51+
2019年10月10日 08:06:05
5152
作者: needle wang ( [email protected] )
5253
2. 使用PyGObject(Gtk+3: python3-gi)重写sqm.py
5354
3. 感谢[sqm](https://github.com/kxcode/gui-for-sqlmap)带来的灵感, 其作者: [KINGX](https://github.com/kxcode) (sqm UI 使用的是python2 + tkinter)

handlers.py

Lines changed: 79 additions & 70 deletions
Large diffs are not rendered by default.

model.py

Lines changed: 75 additions & 69 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)