-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eaedbb9
commit 4a46192
Showing
13 changed files
with
109 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,12 +36,12 @@ from sqlmap's FAQ: | |
- 继续重构, 优化 | ||
|
||
#### ABOUT | ||
1. V0.3.3 | ||
2019-05-14 23:56:35 | ||
作者: 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) | ||
1. V0.3.4 | ||
2019-05-17 21:35 | ||
作者: 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) | ||
|
||
#### REFERENCE | ||
1. Gtk+3教程: https://python-gtk-3-tutorial.readthedocs.io/en/latest/ | ||
2. Gtk+3 API: https://lazka.github.io/pgi-docs/Gtk-3.0/ | ||
1. Gtk+3教程: https://python-gtk-3-tutorial.readthedocs.io/en/latest/ | ||
2. Gtk+3 API: https://lazka.github.io/pgi-docs/Gtk-3.0/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -375,6 +375,10 @@ def _build_page4(self): | |
_row2.pack_start(m._page4_admin_list_btn, False, True, 0) | ||
_row2.pack_start(m._page4_admin_flush_btn, False, True, 0) | ||
_row2.pack_start(m._page4_clear_task_view_btn, False, True, 0) | ||
_row2.pack_end(m._page4_password_entry, False, True, 0) | ||
_row2.pack_end(m._page4_password_label, False, True, 0) | ||
_row2.pack_end(m._page4_username_entry, False, True, 0) | ||
_row2.pack_end(m._page4_username_label, False, True, 0) | ||
|
||
_row3 = Frame() | ||
_paned = g.Paned() | ||
|
@@ -389,13 +393,14 @@ def _build_page4(self): | |
|
||
_rbox = Box(orientation=VERTICAL) | ||
m._page4_option_get_entry.set_text('url risk level') | ||
|
||
_page4_option_set_view_tip = label(label = '所有选项见sqlmap目录中的optiondict.py', | ||
halign = g.Align.START) | ||
m._page4_option_set_view.set_wrap_mode(g.WrapMode.CHAR) | ||
_option_set_view_textbuffer = m._page4_option_set_view.get_buffer() | ||
_options_example = ("{\n" | ||
" 'url': 'http://www.site.com/vuln.php?id=1',\n" | ||
" 'level': 1, 'risk': 1,\n\n" | ||
"}\n# 所有选项见sqlmap目录中的optiondict.py\n") | ||
"}\n") | ||
_option_set_view_textbuffer.set_text(_options_example, len(_options_example.encode('utf8'))) | ||
# 貌似scrollwindow要直接包含textview, | ||
# 不然一直回车后, 页面不会向上滚 | ||
|
@@ -405,6 +410,7 @@ def _build_page4(self): | |
_option_set_scrolled.add(m._page4_option_set_view) | ||
|
||
_rbox.pack_start(m._page4_option_get_entry, False, True, 2) | ||
_rbox.pack_start(_page4_option_set_view_tip, False, True, 2) | ||
_rbox.pack_start(_option_set_scrolled, True, True, 2) | ||
|
||
# Warning: don't edit pack1(), pack2() again, or it would be strange. | ||
|
@@ -514,10 +520,11 @@ def _build_page6(self): | |
box = Box() | ||
|
||
_about_str = ''' | ||
1. VERSION: 0.3.3 | ||
2019年 05月 14日 星期二 23:56:35 CST | ||
1. VERSION: 0.3.4 | ||
2019年 05月 17日 星期五 21:35:32 CST | ||
required: python3.5+, python3-gi, sqlmap(require: python2.6+) | ||
作者: needle wang ( [email protected] )\n | ||
作者: needle wang ( [email protected] ) | ||
https://github.com/needle-wang/sqlmap-ui/\n | ||
2. 使用PyGObject(Gtk+3: python3-gi)重写sqm.py\n | ||
3. Gtk+3教程: https://python-gtk-3-tutorial.readthedocs.io/en/latest\n | ||
4. Gtk+3 API: https://lazka.github.io/pgi-docs/Gtk-3.0/\n\n | ||
|