# How to build on Docker ```bash git clone https://github.com/horsicq/DIE-engine.git cd DIE-engine sudo docker build . -t horsicq:diec ``` # How to build on Linux based on Debian * You can also watch tutorial on [YouTube](https://www.youtube.com/watch?v=hODcbA_1Tns) * For further Information you can look at [fr0stb1rd blogpost](https://fr0stb1rd.gitlab.io/posts/building-and-running-detect-it-easy-on-kali-linux-complete-tutorial/). #### Install packages: ```bash sudo apt-get install qtbase5-dev qtscript5-dev qttools5-dev-tools libqt5svg5-dev git build-essential -y ``` - Ubuntu 14.04-20.04: ```bash sudo apt-get install qt5-default -y ``` - Ubuntu 21.04-25.10 ```bash sudo apt-get install qtchooser qt5-qmake pkg-config -y ``` #### Clone this repo recursively: ```bash git clone --recursive https://github.com/horsicq/DIE-engine.git cd DIE-engine ``` #### Run build script: ```bash bash -x build_dpkg.sh ``` #### Install deb package: ```bash sudo dpkg -i release/$(ls release) ``` # How to build on Linux based on Fedora (DNF) #### Install packages: ```bash sudo dnf install qt5-qtbase-devel qt5-qtscript-devel qt5-qttools-devel git make gcc-c++ ``` #### Clone this repo recursively: ```bash git clone --recursive https://github.com/horsicq/DIE-engine.git cd DIE-engine ``` #### Build ```bash chmod a+x configure ./configure make -j4 ``` # How to build on Linux based on openSuse (zypper) #### Install packages: ```bash sudo zypper install libqt5-qtbase-devel libqt5-qtscript-devel libqt5-qttools-devel libqt5-qtsvg-devel git gcc-c++ make ``` #### Clone this repo recursively: ```bash git clone --recursive https://github.com/horsicq/DIE-engine.git cd DIE-engine ``` #### Build ```bash chmod a+x configure ./configure make -j4 ``` # How to build on Linux based on Arch Linux (pacman) #### Install packages: ```bash sudo pacman -S --needed git base-devel qt5-base qt5-tools qt5-script ``` #### Clone this repo recursively: ```bash git clone --recursive https://github.com/horsicq/DIE-engine.git cd DIE-engine ``` #### Build ```bash chmod a+x configure ./configure make -j4 ``` # How to build on Linux(Automake) ### Qt framework has to be installed on the system. #### (Ubuntu) Install Qt Framework: ```bash sudo apt-get install --quiet --assume-yes build-essential qt5-default qtbase5-dev qttools5-dev-tools qtscript5-dev libqt5svg5-dev ``` #### Clone this repo recursively: ```bash git clone --recursive https://github.com/horsicq/DIE-engine.git cd DIE-engine ``` #### Build Might require sudo privileges ```bash chmod a+x configure ./configure make -j4 sudo make install ``` # How to build on macOS Install Qt 5.15.2: https://github.com/horsicq/build_tools Clone project: git clone --recursive https://github.com/horsicq/DIE-engine.git Edit build_mac.sh (check QMAKE_PATH variable) Run build script: bash -x build_mac.sh # How to build on Windows(XP) Install Visual Studio 2013: https://github.com/horsicq/build_tools Install Qt 5.6.3 for VS2013: https://github.com/horsicq/build_tools Install 7-Zip: https://github.com/horsicq/build_tools Clone project: git clone --recursive https://github.com/horsicq/DIE-engine.git Edit build_winxp.bat (check VSVARS_PATH, SEVENZIP_PATH, QMAKE_PATH variables) Run build_winxp.bat # How to build on Windows(7-11) Install Visual Studio 2019: https://github.com/horsicq/build_tools Install Qt 5.15.2 for VS2019: https://github.com/horsicq/build_tools Install 7-Zip: https://github.com/horsicq/build_tools Clone project: git clone --recursive https://github.com/horsicq/DIE-engine.git Edit build_win32.bat ( check VSVARS_PATH, SEVENZIP_PATH, QMAKE_PATH variables) Edit build_win64.bat ( check VSVARS_PATH, SEVENZIP_PATH, QMAKE_PATH variables) Run build_win32.bat Run build_win64.bat # How to build with CMAKE #### Clone this repo recursively: ```bash git clone --recursive https://github.com/horsicq/DIE-engine.git cd DIE-engine ``` #### Build ```bash mkdir -p build cmake . -B build cd build make -j4 # To use it as a command, uncomment the following line: # sudo make install -j4 ``` # How to build with MinGW/MSYS2 Install MSYS2: https://www.msys2.org/ #### Clone this repo recursively: ```bash git clone --recursive https://github.com/horsicq/DIE-engine.git cd DIE-engine ``` ### Install libaries ```bash pacman -S mingw-w64-ucrt-x86_64-gcc pacman -S mingw-w64-x86_64-qt5-tools ``` #### Build ```bash chmod a+x configure ./configure make -j4 ``` # How to build with WSL - Activate Windows Subsystem for Linux - Download from the Microsoft Store any distribution #### Clone this repo recursively: ```bash git clone --recursive https://github.com/horsicq/DIE-engine.git cd DIE-engine ``` ### Install libaries ```bash sudo apt-get install --quiet --assume-yes build-essential qtbase5-dev qttools5-dev-tools qtscript5-dev libqt5svg5-dev ``` #### Build ```bash chmod a+x build_dpkg.sh ./build_dpkg.sh ```