Skip to content

Windows Installation Tutorial

FrenchCisco edited this page Mar 7, 2021 · 32 revisions

Installation and configuration of all dependencies on Windows:

First step: Download and install Python3 MinGw and Sqlite3.

MinGw:

If you want to compile RATs (client) from Windows, you must have MinGw on your machine.

  1. Go to https://sourceforge.net/projects/mingw/ then download and install MinGwInstaller.
  2. Once MinGwInstaller is installed, run MinGwInstaller then check "mingw32-gcc-g++", then click on "installation" then click on "Changes".
  3. Once all MinGw dependencies are installed, copy the folder path where MinGw binaries are normally located to "C:\MinGw\bin" and save this folder in the system variable PATH.
Pics:

tuto-mingw-2.png

Python3:

You must have Python3 on your machine, because the server (RATelServer.py) and the generator (RATelGenerator.py) are both coded in Python3.

  1. Go to https://www.python.org/downloads/windows/ to download Python 3 according to your architecture.
  2. Install Python3.

Make sure that Python and G++ (MinGw) can run from the Windows command, if one of the programs does not run, then add the program path to the PATH variable on your system. 6.png


Second step: Download the RATel repository.

  1. Go to https://github.com/FrenchCisco/RATel
  2. Click on "Code" and then click on "Download ZIP".
  3. Once the repository is uploaded, you must get a zip file.
  4. Extract the zip file.
Pic:

down-code.png


Third step: Run win_setup.py

  1. Go to the "RATel" folder previously downloaded and unzip .
  2. Then run the script "win_setup.py".

The "win_setup.py" script allows to install all Python libraries, then to check if MinGw and Python are accessible from the Windows command.

If you get "Finished installation" it means that all dependencies for the RATel project are installed on your machine. If you get an error message, check all the steps previously mentioned in this tutorial. If you still get an error message, please leave me a way out at https://github.com/FrenchCisco/RATel/issues.

Pic:

setup1.png


Fourth step:

Install Sqlite3.

https://www.sqlite.org/index.html