├── README.md ├── desc ├── Docker │ ├── docker-bwapp.sh.desc │ ├── docker-droidbox.sh.desc │ ├── docker-dvwa-wooyun.sh.desc │ ├── docker-mutillidae.sh.desc │ ├── docker.sh.desc │ ├── docker_kali.sh.desc │ └── docker_kali_full.sh.desc ├── Environments │ ├── LAMP.sh.desc │ └── openssh-server.sh.desc ├── Multimedia │ ├── Netease-Musicbox.sh.desc │ └── vlc.sh.desc ├── Programming │ └── VSCode.sh.desc ├── Sectools │ ├── altman.sh.desc │ ├── binwalk.sh.desc │ ├── macchanger.sh.desc │ └── metasploit-community.sh.desc ├── Students │ ├── eclipse.sh.desc │ ├── qtcreator.sh.desc │ └── webgoat.sh.desc └── Utils │ ├── bcloud.sh.desc │ ├── sogoupinyin.sh.desc │ ├── wineqq-2012.sh.desc │ ├── wineqq-7.8.sh.desc │ └── wps.sh.desc ├── main.cpp ├── mainwindow.cpp ├── mainwindow.h ├── mainwindow.ui ├── scripts ├── Docker │ ├── docker-bwapp.sh │ ├── docker-droidbox.sh │ ├── docker-dvwa-wooyun.sh │ ├── docker-mutillidae.sh │ ├── docker.sh │ ├── docker_kali.sh │ └── docker_kali_full.sh ├── Environments │ ├── LAMP.sh │ └── openssh-server.sh ├── Multimedia │ ├── Netease-Musicbox.sh │ └── vlc.sh ├── Programming │ └── VSCode.sh ├── Sectools │ ├── altman.sh │ ├── binwalk.sh │ ├── macchanger.sh │ └── metasploit-community.sh ├── Students │ ├── eclipse.sh │ ├── qtcreator.sh │ └── webgoat.sh └── Utils │ ├── bcloud.sh │ ├── sogoupinyin.sh │ ├── wineqq-2012.sh │ ├── wineqq-7.8.sh │ └── wps.sh ├── update.sh ├── woobuntu_installer.pro └── woobuntu_installer.pro.user /README.md: -------------------------------------------------------------------------------- 1 | # woobuntu-installer 2 | A gui installer for woobuntu tools 3 | 4 | Used QT5 for development 5 | 6 | If you're using woobuntu , all dependencies have been met 7 | 8 | qmake 9 | make 10 | 11 | Update on 20160202: Don't use root privilege now , all scripts will ask for sudo 12 | when needed 13 | 14 | Tests showed that woobuntu-installer would support more linux distributions usin 15 | g gnome-terminal now , but there could be other problems ( encoding\root login\dependencies ) 16 | 17 | ## Plugins development ## 18 | 19 | Just create a script under script/ folder's sub-directory 20 | 21 | script/some-catagory/xxx.sh 22 | 23 | Then make a description under desc/ folder with the same name pattern 24 | 25 | desc/some-catagory/xxx.sh.desc 26 | -------------------------------------------------------------------------------- /desc/Docker/docker-bwapp.sh.desc: -------------------------------------------------------------------------------- 1 | 注意:请先安装好Docker 2 | 下载bwapp镜像,并创建启动器快捷方式 3 | buggy web application 4 | 一个漏洞演练平台 5 | -------------------------------------------------------------------------------- /desc/Docker/docker-droidbox.sh.desc: -------------------------------------------------------------------------------- 1 | 注意:请先安装好Docker 2 | 下载droidbox镜像,使用方式请参见相关文档 3 | droidbox 4 | A dockerized DroidBox instance 5 | 6 | Get it from the Honeynet Project's Docker Repository 7 | 8 | Sourcecode is on Ali Ikinci's GitHub 9 | 10 | This is a ready to run Android sandbox enabling the user to run a dynamic analysis on an apk file. Create a ~/samples directory and copy you sample file in it. 11 | 12 | Usage: With readonly sample protection (recomended) 13 | 14 | docker run -it --rm -v ~/samples:/samples:ro -v ~/samples/out:/samples/out index.tenxcloud.com/lxj616/droidbox /samples/filename.apk [duration in seconds] 15 | 16 | Usage: Without readonly sample protection 17 | 18 | docker run -it --rm -v ~/samples:/samples index.tenxcloud.com/lxj616/droidbox /samples/filename.apk [duration in seconds] 19 | -------------------------------------------------------------------------------- /desc/Docker/docker-dvwa-wooyun.sh.desc: -------------------------------------------------------------------------------- 1 | 注意:请先安装好Docker 2 | 下载乌云靶场docker镜像,并创建启动器快捷方式 3 | -------------------------------------------------------------------------------- /desc/Docker/docker-mutillidae.sh.desc: -------------------------------------------------------------------------------- 1 | 注意:请先安装好Docker 2 | 下载mutillidae镜像,并创建启动器快捷方式 3 | OWASP Mutillidae II Web Pen-Test Practice Application 4 | Mutillidae web漏洞演练平台 5 | -------------------------------------------------------------------------------- /desc/Docker/docker.sh.desc: -------------------------------------------------------------------------------- 1 | Docker 是一个开源的应用容器引擎,简单说就是让你的linux可以跑其他linux的程序,比如整个kali系统,比如打包好的LAMP加上个wordpress站点 2 | -------------------------------------------------------------------------------- /desc/Docker/docker_kali.sh.desc: -------------------------------------------------------------------------------- 1 | 注意:请先安装好Docker 2 | 下载kali官方最小Docker镜像,具体工具需要自己安装,并创建启动器快捷方式 3 | -------------------------------------------------------------------------------- /desc/Docker/docker_kali_full.sh.desc: -------------------------------------------------------------------------------- 1 | 注意:请先安装好Docker 2 | 下载lxj616为您准备的kali全工具Docker镜像,并创建启动器快捷方式(注:由于kali的sdrtools在docker中安装失败,所以去掉了sdrtools,其他工具都有) 3 | -------------------------------------------------------------------------------- /desc/Environments/LAMP.sh.desc: -------------------------------------------------------------------------------- 1 | LAMP=[L]inux+[A]pache2+[M]ysql+[P]hp 2 | 3 | -------------------------------------------------------------------------------- /desc/Environments/openssh-server.sh.desc: -------------------------------------------------------------------------------- 1 | SSH服务,让你可以ssh登陆进来 2 | -------------------------------------------------------------------------------- /desc/Multimedia/Netease-Musicbox.sh.desc: -------------------------------------------------------------------------------- 1 | 网易云音乐的官方客户端 2 | -------------------------------------------------------------------------------- /desc/Multimedia/vlc.sh.desc: -------------------------------------------------------------------------------- 1 | VlC是一款视频播放器 2 | -------------------------------------------------------------------------------- /desc/Programming/VSCode.sh.desc: -------------------------------------------------------------------------------- 1 | VSCode 算是轻量级的VS,如果习惯了Windows下VS编程,可以使用它替代VIM 2 | -------------------------------------------------------------------------------- /desc/Sectools/altman.sh.desc: -------------------------------------------------------------------------------- 1 | 类似菜刀的网站管理工具 2 | -------------------------------------------------------------------------------- /desc/Sectools/binwalk.sh.desc: -------------------------------------------------------------------------------- 1 | binwalk是一款固件分析工具,可用来提取固件 2 | -------------------------------------------------------------------------------- /desc/Sectools/macchanger.sh.desc: -------------------------------------------------------------------------------- 1 | 自动更换mac地址的工具 2 | -------------------------------------------------------------------------------- /desc/Sectools/metasploit-community.sh.desc: -------------------------------------------------------------------------------- 1 | Metasploit-community 简而言之就是傻瓜整合版的metasploit,如果你懒得自己配置postgresql,请安装这个版本的metasploit 2 | -------------------------------------------------------------------------------- /desc/Students/eclipse.sh.desc: -------------------------------------------------------------------------------- 1 | 这个简介是给在学校里接受垃圾教育的计算机相关专业学生看的:你可以拿这个来写java语言程序 2 | 3 | 注:eclipse是跨平台的,Windows下也有eclipse的IDE 4 | -------------------------------------------------------------------------------- /desc/Students/qtcreator.sh.desc: -------------------------------------------------------------------------------- 1 | 这个简介是给在学校里接受垃圾教育的计算机相关专业学生看的:你可以拿这个来写c语言程序或者c++程序,而且可以写QT的GUI程序,抛弃20年前的VC 6.0吧 2 | 3 | 注:QT是跨平台的,Windows下也有QTcreator的IDE 4 | -------------------------------------------------------------------------------- /desc/Students/webgoat.sh.desc: -------------------------------------------------------------------------------- 1 | WebGoat是OWASP组织研制出的用于进行web漏洞实验的应用平台 2 | -------------------------------------------------------------------------------- /desc/Utils/bcloud.sh.desc: -------------------------------------------------------------------------------- 1 | bcloud 是百度云在linux下的开源python实现 2 | -------------------------------------------------------------------------------- /desc/Utils/sogoupinyin.sh.desc: -------------------------------------------------------------------------------- 1 | 搜狗拼音输入法 for linux 2 | -------------------------------------------------------------------------------- /desc/Utils/wineqq-2012.sh.desc: -------------------------------------------------------------------------------- 1 | Wine QQ 是在Linux下用Wine运行Windows版本QQ的解决方案 2 | 这个是qq 2012年的版本 3 | -------------------------------------------------------------------------------- /desc/Utils/wineqq-7.8.sh.desc: -------------------------------------------------------------------------------- 1 | Wine QQ 是在Linux下用Wine运行Windows版本QQ的解决方案 2 | 这是2015年的qq 7.8版本 3 | -------------------------------------------------------------------------------- /desc/Utils/wps.sh.desc: -------------------------------------------------------------------------------- 1 | WPS是金山WPS的linux版本,相比于libreoffice提供了更贴近MS OFFICE的体验,请注意,WPS并非开源软件 2 | -------------------------------------------------------------------------------- /main.cpp: -------------------------------------------------------------------------------- 1 | #include "mainwindow.h" 2 | #include 3 | 4 | int main(int argc, char *argv[]) 5 | { 6 | QApplication a(argc, argv); 7 | MainWindow w; 8 | w.show(); 9 | 10 | return a.exec(); 11 | } 12 | -------------------------------------------------------------------------------- /mainwindow.cpp: -------------------------------------------------------------------------------- 1 | #include "mainwindow.h" 2 | #include "ui_mainwindow.h" 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | 10 | QString which_terminal(""); 11 | 12 | MainWindow::MainWindow(QWidget *parent) : 13 | QMainWindow(parent), 14 | ui(new Ui::MainWindow) 15 | { 16 | ui->setupUi(this); 17 | //设置编码 - deprecated 18 | //QTextCodec *codec = QTextCodec::codecForName("UTF-8"); 19 | //QTextCodec::setCodecForLocale(codec); 20 | //QTextCodec::setCodecForCStrings(codec); 21 | //QTextCodec::setCodecForTr(codec); 22 | //处理分类列表 23 | QDir dir_script_category("scripts"); 24 | dir_script_category.setFilter(QDir::Dirs | QDir::NoSymLinks);//列出文件,列出隐藏文件(在Unix下就是以.开始的为文件),不列出符号链接(不支持符号连接的操作系统会忽略) 25 | dir_script_category.setSorting(QDir::Size | QDir::Reversed);//按文件大小排序,相反的排序顺序 26 | const QFileInfoList list_script_category = dir_script_category.entryInfoList();//返回这个目录中所有目录和文件的QFileInfo对象的列表 27 | QFileInfoList::const_iterator iterator_script_category = list_script_category.begin(); 28 | qDebug() << "目录和文件的数量: " << dir_script_category.count();//返回找到的目录和文件的数量 29 | qDebug() << "fileName/t/t/tsize/t/t/t"; 30 | while(iterator_script_category != list_script_category.end()){ 31 | if(!(*iterator_script_category).fileName().startsWith('.')) 32 | { 33 | ui->listWidget_script_category->addItem((*iterator_script_category).fileName()); 34 | qDebug() << (*iterator_script_category).fileName()<<"/t/t/t"<<(*iterator_script_category).size(); 35 | } 36 | iterator_script_category++; 37 | } 38 | qDebug() << "当前目录: " << dir_script_category.current();//返回应用程序当前目录。 39 | qDebug() << "当前目录的绝对路径" << dir_script_category.currentPath();//返回应用程序当前目录的绝对路径。 40 | // const QList list = d.entryList(); //返回这个目录中所有目录和文件的名称的列表 41 | // QList::const_iterator iterator = list.begin(); 42 | // while(iterator != list.end()){ 43 | // qDebug() << (*iterator); 44 | // iterator++; 45 | // } 46 | //处理脚本展示 47 | QFileInfo gnome_terminal("/usr/bin/gnome-terminal"); 48 | if(gnome_terminal.exists()==true) 49 | { 50 | which_terminal="gnome-terminal"; 51 | qDebug()<< "aidouheilouaidouhei_gnome"; 52 | } 53 | else 54 | { 55 | qDebug()<< "aidouheilouaidouhei_gnome_no"; 56 | } 57 | 58 | QFileInfo xfce4_terminal("/usr/bin/xfce4-terminal"); 59 | if(xfce4_terminal.exists()==true) 60 | { 61 | which_terminal="xfce4-terminal"; 62 | qDebug()<< "aidouheilouaidouhei_xfce4"; 63 | } 64 | else 65 | { 66 | qDebug()<< "aidouheilouaidouhei_xfce4_no"; 67 | } 68 | 69 | } 70 | 71 | MainWindow::~MainWindow() 72 | { 73 | delete ui; 74 | } 75 | 76 | void MainWindow::on_pushButton_clicked() 77 | { 78 | QString desc(""); 79 | QFile file("desc/"+ui->listWidget_script_category->currentItem()->text()+"/"+ui->listWidget_script_root->currentItem()->text()+".desc"); 80 | if(!file.open(QIODevice::ReadOnly | QIODevice::Text)) { 81 | qDebug()<<"Can't open the file!"<listWidget_script_category->currentItem()->text()+"/"+ui->listWidget_script_root->currentItem()->text()+";echo \"脚本执行完毕,按回车键返回图形界面操作\";read -n 1\""; 95 | QProcess ::execute(which_terminal,arg);//调用QT里的函数 96 | qDebug()<<"script/"+ui->listWidget_script_category->currentItem()->text()+ui->listWidget_script_root->currentItem()->text(); 97 | } 98 | else 99 | { 100 | qDebug()<<"clicked no\n"; 101 | } 102 | } 103 | 104 | void MainWindow::on_listWidget_script_category_currentTextChanged(const QString ¤tText) 105 | { 106 | qDebug() << currentText; 107 | ui->listWidget_script_root->clear(); 108 | QDir dir_script_root("scripts/"+currentText); 109 | dir_script_root.setFilter(QDir::Files | QDir::Hidden | QDir::NoSymLinks);//列出文件,列出隐藏文件(在Unix下就是以.开始的为文件),不列出符号链接(不支持符号连接的操作系统会忽略) 110 | dir_script_root.setSorting(QDir::Size | QDir::Reversed);//按文件大小排序,相反的排序顺序 111 | const QFileInfoList list_script_root = dir_script_root.entryInfoList();//返回这个目录中所有目录和文件的QFileInfo对象的列表 112 | QFileInfoList::const_iterator iterator_script_root = list_script_root.begin(); 113 | qDebug() << "目录和文件的数量: " << dir_script_root.count();//返回找到的目录和文件的数量 114 | qDebug() << "fileName/t/t/tsize/t/t/t"; 115 | while(iterator_script_root != list_script_root.end()){ 116 | ui->listWidget_script_root->addItem((*iterator_script_root).fileName()); 117 | qDebug() << (*iterator_script_root).fileName()<<"/t/t/t"<<(*iterator_script_root).size(); 118 | iterator_script_root++; 119 | } 120 | qDebug() << "当前目录: " << dir_script_root.current();//返回应用程序当前目录。 121 | qDebug() << "当前目录的绝对路径" << dir_script_root.currentPath();//返回应用程序当前目录的绝对路径。 122 | // const QList list = d.entryList(); //返回这个目录中所有目录和文件的名称的列表 123 | // QList::const_iterator iterator = list.begin(); 124 | // while(iterator != list.end()){ 125 | // qDebug() << (*iterator); 126 | // iterator++; 127 | // } 128 | } 129 | 130 | void MainWindow::on_pushButton_update_clicked() 131 | { 132 | QStringList arg; 133 | arg << "-e"; 134 | arg << "/bin/bash -x -c \""+QCoreApplication::applicationDirPath()+"/update.sh; exec bash\""; 135 | QProcess ::execute(which_terminal,arg);//调用QT里的函数 136 | qDebug()<<"script/"+ui->listWidget_script_category->currentItem()->text()+ui->listWidget_script_root->currentItem()->text(); 137 | } 138 | -------------------------------------------------------------------------------- /mainwindow.h: -------------------------------------------------------------------------------- 1 | #ifndef MAINWINDOW_H 2 | #define MAINWINDOW_H 3 | 4 | #include 5 | #include 6 | #include 7 | 8 | namespace Ui { 9 | class MainWindow; 10 | } 11 | 12 | class MainWindow : public QMainWindow 13 | { 14 | Q_OBJECT 15 | 16 | public: 17 | explicit MainWindow(QWidget *parent = 0); 18 | ~MainWindow(); 19 | 20 | 21 | private slots: 22 | void on_pushButton_clicked(); 23 | 24 | void on_listWidget_script_category_currentTextChanged(const QString ¤tText); 25 | 26 | void on_pushButton_update_clicked(); 27 | 28 | private: 29 | Ui::MainWindow *ui; 30 | }; 31 | 32 | #endif // MAINWINDOW_H 33 | -------------------------------------------------------------------------------- /mainwindow.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | MainWindow 4 | 5 | 6 | 7 | 0 8 | 0 9 | 400 10 | 300 11 | 12 | 13 | 14 | Woobuntu安装向导 15 | 16 | 17 | 18 | 19 | 20 | 150 21 | 20 22 | 221 23 | 192 24 | 25 | 26 | 27 | 28 | 29 | 30 | 220 31 | 230 32 | 85 33 | 27 34 | 35 | 36 | 37 | 安装选中项 38 | 39 | 40 | 41 | 42 | 43 | 30 44 | 20 45 | 81 46 | 192 47 | 48 | 49 | 50 | 51 | 52 | 53 | 24 54 | 230 55 | 91 56 | 27 57 | 58 | 59 | 60 | 更新所有插件 61 | 62 | 63 | 64 | 65 | 66 | TopToolBarArea 67 | 68 | 69 | false 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /scripts/Docker/docker-bwapp.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | sudo service docker restart 3 | sudo docker pull index.tenxcloud.com/lxj616/bwapp 4 | sudo service docker restart 5 | cat > /tmp/docker-bwapp.desktop < /tmp/docker-dvwa-wooyun.desktop < /tmp/docker-mutillidae.desktop < /tmp/apache2-start.desktop < /tmp/apache2-stop.desktop < /tmp/mysql-start.desktop < /tmp/mysql-stop.desktop < /tmp/vscode.desktop < /tmp/altman.desktop < /tmp/webgoat.desktop < 2 | 3 | 4 | 5 | 6 | EnvironmentId 7 | {6b6f67eb-872e-48a2-8e63-e9eddebb94aa} 8 | 9 | 10 | ProjectExplorer.Project.ActiveTarget 11 | 0 12 | 13 | 14 | ProjectExplorer.Project.EditorSettings 15 | 16 | true 17 | false 18 | true 19 | 20 | Cpp 21 | 22 | CppGlobal 23 | 24 | 25 | 26 | QmlJS 27 | 28 | QmlJSGlobal 29 | 30 | 31 | 2 32 | UTF-8 33 | false 34 | 4 35 | false 36 | 80 37 | true 38 | true 39 | 1 40 | true 41 | false 42 | 0 43 | true 44 | 0 45 | 8 46 | true 47 | 1 48 | true 49 | true 50 | true 51 | false 52 | 53 | 54 | 55 | ProjectExplorer.Project.PluginSettings 56 | 57 | 58 | 59 | ProjectExplorer.Project.Target.0 60 | 61 | 桌面 62 | 桌面 63 | {3145ffbd-7d5e-40a2-979a-30bbd431db38} 64 | 0 65 | 0 66 | 0 67 | 68 | /home/alkaid/modify/build-woobuntu_installer-unknown-Debug 69 | 70 | 71 | true 72 | qmake 73 | 74 | QtProjectManager.QMakeBuildStep 75 | false 76 | true 77 | 78 | false 79 | false 80 | false 81 | 82 | 83 | true 84 | Make 85 | 86 | Qt4ProjectManager.MakeStep 87 | 88 | -w 89 | -r 90 | 91 | false 92 | 93 | 94 | 95 | 2 96 | 构建 97 | 98 | ProjectExplorer.BuildSteps.Build 99 | 100 | 101 | 102 | true 103 | Make 104 | 105 | Qt4ProjectManager.MakeStep 106 | 107 | -w 108 | -r 109 | 110 | true 111 | clean 112 | 113 | 114 | 1 115 | 清理 116 | 117 | ProjectExplorer.BuildSteps.Clean 118 | 119 | 2 120 | false 121 | 122 | Debug 123 | 124 | Qt4ProjectManager.Qt4BuildConfiguration 125 | 2 126 | true 127 | 128 | 129 | /home/alkaid/modify/build-woobuntu_installer-unknown-Release 130 | 131 | 132 | true 133 | qmake 134 | 135 | QtProjectManager.QMakeBuildStep 136 | false 137 | true 138 | 139 | false 140 | false 141 | false 142 | 143 | 144 | true 145 | Make 146 | 147 | Qt4ProjectManager.MakeStep 148 | 149 | -w 150 | -r 151 | 152 | false 153 | 154 | 155 | 156 | 2 157 | 构建 158 | 159 | ProjectExplorer.BuildSteps.Build 160 | 161 | 162 | 163 | true 164 | Make 165 | 166 | Qt4ProjectManager.MakeStep 167 | 168 | -w 169 | -r 170 | 171 | true 172 | clean 173 | 174 | 175 | 1 176 | 清理 177 | 178 | ProjectExplorer.BuildSteps.Clean 179 | 180 | 2 181 | false 182 | 183 | Release 184 | 185 | Qt4ProjectManager.Qt4BuildConfiguration 186 | 0 187 | true 188 | 189 | 2 190 | 191 | 192 | 0 193 | 部署 194 | 195 | ProjectExplorer.BuildSteps.Deploy 196 | 197 | 1 198 | 在本地部署 199 | 200 | ProjectExplorer.DefaultDeployConfiguration 201 | 202 | 1 203 | 204 | 205 | 206 | false 207 | false 208 | false 209 | false 210 | true 211 | 0.01 212 | 10 213 | true 214 | 1 215 | 25 216 | 217 | 1 218 | true 219 | false 220 | true 221 | valgrind 222 | 223 | 0 224 | 1 225 | 2 226 | 3 227 | 4 228 | 5 229 | 6 230 | 7 231 | 8 232 | 9 233 | 10 234 | 11 235 | 12 236 | 13 237 | 14 238 | 239 | 2 240 | 241 | woobuntu_installer 242 | 243 | Qt4ProjectManager.Qt4RunConfiguration:/home/alkaid/modify/woobuntu-installer/woobuntu_installer.pro 244 | 245 | woobuntu_installer.pro 246 | false 247 | false 248 | 249 | 3768 250 | false 251 | true 252 | false 253 | false 254 | true 255 | 256 | 1 257 | 258 | 259 | 260 | ProjectExplorer.Project.TargetCount 261 | 1 262 | 263 | 264 | ProjectExplorer.Project.Updater.FileVersion 265 | 18 266 | 267 | 268 | Version 269 | 18 270 | 271 | 272 | --------------------------------------------------------------------------------