Skip to content

Commit

Permalink
add _page1_general_preprocess_chooser
Browse files Browse the repository at this point in the history
  • Loading branch information
needle-wang committed Apr 20, 2019
1 parent 67c2651 commit a91f671
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,12 @@ sqlmap ui, using PyGObject(gtk+3)
根据line_profiler输出: gtk.FileChooserButton()有性能问题!
5. ~~重构~~
6. ~~添加session功能(v0.2.2)~~
7. ~~重构成MVC模式(结构改动很大~, v0.3)~~
7. ~~重构成MVC模式(结构重构改动很大, v0.3)~~
8. ~~将管道流集成到UI里(难度过大, 放弃)~~

#### ABOUT
1. branch: mvc: V0.3
1. V0.3
2018年 11月 10日 星期六 16:17:53 CST
branch: master: V0.2.2
2018年 11月 09日 星期四 20:40:51 CST
作者: 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
13 changes: 11 additions & 2 deletions sqlmap_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,11 +338,20 @@ def _build_page1_other_general(self):
_row1.pack_start(m._page1_general_binary_fields_entry, False, True, 5)

_row2 = g.Box()
self._page1_general_preprocess_chooser = g.FileChooserButton()

self._page1_general_preprocess_chooser.connect(
'file-set',
self._handlers.set_file_entry_text,
m._page1_general_preprocess_entry
)

_row2.pack_start(m._page1_general_forms_ckbtn, False, True, 5)
_row2.pack_start(m._page1_general_parse_errors_ckbtn, False, True, 5)
_row2.pack_start(m._page1_misc_cleanup_ckbtn, False, True, 5)
_row2.pack_start(m._page1_general_preprocess_ckbtn, False, True, 5)
_row2.pack_start(m._page1_general_preprocess_entry, False, True, 5)
_row2.pack_start(m._page1_general_preprocess_entry, True, True, 5)
_row2.pack_start(self._page1_general_preprocess_chooser, False, True, 5)

_row3 = g.Box()
_row3.pack_start(m._page1_general_crawl_ckbtn, False, True, 5)
Expand Down Expand Up @@ -1403,7 +1412,7 @@ def _build_page4(self):
self.page4.set_border_width(10)

_about_str = '''
update at 2019-04-20 18:18:13
update at 2019-04-20 22:03:02
1. VERSION: 0.3
2018年 11月 10日 星期六 16:17:44 CST
required: python3.5+, python3-gi, sqlmap(require: python2.6+)
Expand Down

0 comments on commit a91f671

Please sign in to comment.