Skip to content

Commit

Permalink
增加param-filter等4个选项,去掉identify-waf, 布局调整, 去掉丑陋的row1-9
Browse files Browse the repository at this point in the history
  • Loading branch information
needle-wang committed Oct 10, 2019
1 parent c3a4bd1 commit 9961d21
Show file tree
Hide file tree
Showing 12 changed files with 819 additions and 952 deletions.
53 changes: 27 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
## sqlmap-gtk
sqlmap GUI, using PyGObject(gtk+3)

包含sqlmap所有选项(除了-d, 不定时更新sqlmap选项)
支持sqlmapapi客户端(API区)
内置终端
会话功能, 自动保存和载入上一次的选项

此GUI只能在linux下运行, 已在kali, debian系中测试通过.
如果想在win下使用, 建议使用[sqlmap-wx](https://github.com/needle-wang/sqlmap-wx/).
欢迎使用, 反馈!!
如果想在win下使用, 可以使用[sqlmap-wx](https://github.com/needle-wang/sqlmap-wx/)(维护慢, 还有很大的改善空间).
欢迎使用, 反馈!

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

#### 安装
#### 为什么需要GUI?
选项太多了, 没有GUI, 总会忘了选项, 含义及使用.
于是不时地: sqlmap -hh和sqlmap wiki和google. 翻找半天, 阅读又要琢磨半天.
我学使用sqlmap断续好些年了, 存了看了好些资料, 等过段时间, 又模糊了, 没用.
光一个中文手册就看了好多遍, 总感觉缺点什么, 后来想明白了, 缺少视觉上的位置记忆.
滚动+链接跳转的文献, 缺少纸张的阅读痕迹, 也就是位置记忆.
当然, 还有个使用时长的原因.

另外, 光会选项也没有用, wiki上的介绍过于零碎, 选项背后的技术细节很多,
工具描述不够详细, 很多选项有前提要求, 这就要求使用者要有相应的知识储备了
可记性就是不好, 怎么办? 边用边学? 过段时间又忘了, 毕竟只在特定场景才有效.
计算机是个大类, 要记的东西太多了.

这里, 我将选项进行了分类, wiki集成进了GUI, 增加了使用前提, 使用时会有提示,
也许会方便些吧. 熟练后可以注释掉tooltip.

#### 安装与使用
1. **要求**
- python3.5+, GTK+3.20
- pygobject: `pip3 install PyGObject` or `apt-get install python3-gi`
- requests: `pip3 install requests`
- 最新的[sqlmap](https://github.com/sqlmapproject/sqlmap): `git clone` it.
2. **获取本GUI**
2. **下载本GUI**
- `git clone https://github.com/needle-wang/sqlmap-gtk.git`
或 从这下载: [releases](https://github.com/needle-wang/sqlmap-gtk/releases/)(不一定最新)
3. **运行**
- `./sqlmap_gtk.py`

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

#### 关于
1. V0.3.4.1
2019年10月02日 23:39:57
1. V0.3.4.2
2019年10月10日 08:06:05
作者: needle wang ( [email protected] )
2. 使用PyGObject(Gtk+3: python3-gi)重写sqm.py
3. 感谢[sqm](https://github.com/kxcode/gui-for-sqlmap)带来的灵感, 其作者: [KINGX](https://github.com/kxcode) (sqm UI 使用的是python2 + tkinter)
Expand Down
149 changes: 79 additions & 70 deletions handlers.py

Large diffs are not rendered by default.

144 changes: 75 additions & 69 deletions model.py

Large diffs are not rendered by default.

Loading

0 comments on commit 9961d21

Please sign in to comment.