Compiling - silv3rr/wraith GitHub Wiki
PackConfig
You should have generated a pack.cfg according to PackConfig.
Proper build process
You only need to compile once per operating system for every release; you only need to compile 1 time for Linux and 1 time for FreeBSD. You copy these binaries to a webserver, or your own PC, and download/upload them to each server when you want to setup a new bot. Setting up bots in the binary remotely is not needed and can in fact be more confusing. You would only recompile when a new version comes out, or you want to change your hubs and update, or are patching the source and want to update. See also: Updating
One time per operating system and version
- Compile
- Initialize binary with your PackConfig file
- ./wraith -Q
- Paste in pack config
- Copy binary to shells as needed and setup according to BotSetup
Compiling
Caveats
- distcc/ccache are supported
- Binary compatibility
- Compile your binary on the oldest version of the OS you want to support. Ie, compile on FreeBSD 6 if you have FreeBSD 6 shells, and use that binary on FreeBSD 8 along with misc/compat6x installed.
- Wraith has only been tested on Linux/FreeBSD/OpenBSD, any deviation from this is unsupported at this time.
Compiling
- Unpack the tarball.
- Create a pack.cfg file according to PackConfig
- ./configure
- make (gmake on BSD)
- ./wraith -Q
- Paste in pack config
- Static binary 'wraith' is ready to distribute to shells of the same operating system.
Debug
- Unpack the tarball.
- Create a pack.cfg file according to PackConfig
- ./configure
- make debug (gmake on BSD)
- ./wraith -Q
- Paste in pack config
- Dynamic binary 'wraith' is ready for debugging (DO NOT DISTRIBUTE OR LEAVE THIS BINARY SITTING AROUND ON PUBLIC SHELS. IT CAN BE USED TO EASILY HACK YOUR BOTNET.)