Skip to content

Latest commit

 

History

History
57 lines (48 loc) · 2.29 KB

bot-client.md

File metadata and controls

57 lines (48 loc) · 2.29 KB

Aura Botnet - Bot Client

Geting Started

The client executable or script need to be run in the same folder as any necessary components (systemd services for Linux clients and launcher.vbs for Powershell) on the target machine, or installed via web delivery (see below).

You can choose whichever client you feel is most appropriate for the platform and use case, although specified above, the C++ client is the first priority when it comes to features and stability.

C++ Client

There are three header-only projects being used for this client. Thanks to the following projects for their awesome work:

For the Linux C++ client, you will also need libcurl installed with development files. There may be a libcurl-devel or libcurl-dev package on your distro that you need to install.

Afterward, change into the source directory (aura-client). Then build by running:

cmake .    # Run with "-DCMAKE_BUILD_TYPE=Debug" to build tests
make

Tests require a local httpbin server running at port 5000. Find more information here.

For building the Windows C++ client, you can find various methods of using CMake on Windows here.

Catch2 unit tests can be found under aura-client/tests/. Do not run them in parallel. They rely on constant filenames and may interfere with each other.

Rust Client

For the Rust client, you will need Rust installed on the platform that you wish to compile for. Unfortunately, there is no simple method of cross-compiling that I am aware of. Go into the source directory (alt-clients/rust/rust-linux or alt-clients/rust/rust-windows and run:

cargo build --release

The binary will be sent to alt-clients/rust/rust-*/target/release/.

Powershell and Bash

The Powershell and Bash clients simply need to be executed on the target machine.