Skip to content

Compile client to executable

Michele Cisternino edited this page Apr 21, 2019 · 6 revisions

Once the client is generated you can use pyinstaller to compile it on windows, linux and mac.

Pyinstaller is not cross-compiler, so you have to generate and compile the client on the system you want the executable to be compatible with.

Install pyinstaller

pip install pyinstaller

Compile to executable

pyinstaller -F <client>

Create an exe that doesn't show the console at startup

pyinstaller -F -w <client>

PS: In order to compile the payload correctly you have to install the following libraries on the compiler machine:

  • requests
  • grequests

More info here.