# BingFengSecGui **Repository Path**: bingfeng520/BingFengSecGui ## Basic Information - **Project Name**: BingFengSecGui - **Description**: BingFengSecGui - **Primary Language**: Python - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-02-02 - **Last Updated**: 2023-04-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # BingFengSecGui BingFengSecGui ## 前言 本项目是一个基于python UI的渗透测试工具箱.你可以用它来 DIY 你自己的渗透工具武器库. 图形界面基本ttkbootstrap,ttkbootstrap是一个基于tkinter的界面美化库 这个工具有几个优点:拓展性好,方便修改,适合命令行工具. ## 如何使用 克隆本项目到本地: ``` git clone https://github.com/lizeyou0203/BingFengSecGui.git ``` 修改`bingfengsecgui.bat`里面的 python 环境为你自己的(也可以选择虚拟环境),比如: ``` python3 bingfengsecgui.py ``` 安装依赖包: ``` pip install -r requirements.txt ``` 如果有tk报错如下: ``` import _tkinter # If this fails your Python may not be configured for Tk ImportError: libtk8.6.so: cannot open shared object file: No such file or directory ``` 需要安装依赖: ``` pacman -S tk ``` 项目目录结构如下: ``` ├── bingfengsecgui.bat ├── bingfengsecgui.py ├── bingfengsecgui.vbs ├── bingfengsec.py ├── CreateSoftware.py ├── README.MD ├── requirements.txt ├── setting.py ``` **非Debug模式运行** 直接双击 `bingfengsecgui.vbs` **Debug模式运行** 直接双击 `bingfengsecgui.bat ## 原理 `CreateSoftware.py` 通过读取 `settings.py` 里的数据,自动生成 `bingfengsecgui.py` 和 `bingfengsec.py` . 如果修改了 `settings.py` ,运行一下 `CreateSoftware.py` 即可自动更新. ## Detail 使用 `ttkibootstrap` 构建 ` ## 如何DIY > diy工具之后,别忘了运行一下 > > python CreateSoftware.py `setting.py` 文件: 参数如下: ``` # 设置 Python 路径 # python = 'D:\pythonProject\fsafe-venv\python3.7\Scripts\python.exe' python = 'python3' # 主题选择 themes = 'superhero' # 每行工具按钮数量 line_count = 4 # UI 宽度 width = 1400 # UI 高度 height = 700 # 按钮宽度 button_width = 25 # 工具添加 tools = { 'f1名称':{ '工具名称': "需要执行的命令", '2': "2", }, '选项卡2名称':{ '工具名称': "需要执行的命令", '': "cmd", }, } ``` 如果添加的是 java 工具,命令格式如下: ``` 'cd gui_pentest/工具目录 && ' + java8_path + ' -jar ' + '工具名称.jar' ``` 如果添加的是 python 工具,格式如下: ``` " '{python} {base_dir}/gui_scan/Gr33k/Gr33k.py ' ".format(python=python,base_dir=base_dir), ``` 如果需要打开 cmd 命令行,格式如下: ``` 'start cmd /k \"cd gui_shouji/sqlmap\" ' ``` 一点关于让cmd更美好的tips: ``` start . start reports ``` 本项目适用于windows和linux系统.默认是使用在linux系统上的,windows系统需要更换某些特殊的运行命令,未调试.需要自行操作. ----------------------------