Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/HavocFramework/Havoc/llms.txt

Use this file to discover all available pages before exploring further.

The Teamserver section configures the bind address, port, and compiler paths for the Havoc Teamserver.

Syntax

Teamserver {
    Host = "0.0.0.0"
    Port = 40056

    Build {
        Compiler64 = "data/x86_64-w64-mingw32-cross/bin/x86_64-w64-mingw32-gcc"
        Compiler86 = "data/i686-w64-mingw32-cross/bin/i686-w64-mingw32-gcc"
        Nasm = "/usr/bin/nasm"
    }
}

Parameters

Host
string
required
The bind address used by the teamserver to accept client connections.Default: "0.0.0.0" (listens on all interfaces)
Port
integer
required
The port the teamserver listens on for client connections.Default: 40056

Build Configuration

The Build section specifies the paths to cross-compilation tools used for generating Demon implants.
Build.Compiler64
string
required
Path to the x64 MinGW cross-compiler (gcc).Example: "data/x86_64-w64-mingw32-cross/bin/x86_64-w64-mingw32-gcc"
Build.Compiler86
string
required
Path to the x86 MinGW cross-compiler (gcc).Example: "data/i686-w64-mingw32-cross/bin/i686-w64-mingw32-gcc"
Build.Nasm
string
required
Path to the NASM assembler binary.Example: "/usr/bin/nasm"

Examples

Standard Configuration

Teamserver {
    Host = "0.0.0.0"
    Port = 40056

    Build {
        Compiler64 = "data/x86_64-w64-mingw32-cross/bin/x86_64-w64-mingw32-gcc"
        Compiler86 = "data/i686-w64-mingw32-cross/bin/i686-w64-mingw32-gcc"
        Nasm = "/usr/bin/nasm"
    }
}

System-Wide Compilers

Teamserver {
    Host = "127.0.0.1"
    Port = 50050

    Build {
        Compiler64 = "/usr/bin/x86_64-w64-mingw32-gcc"
        Compiler86 = "/usr/bin/i686-w64-mingw32-gcc"
        Nasm = "/usr/bin/nasm"
    }
}
The teamserver must have access to MinGW cross-compilers and NASM to compile Demon implants. Ensure these tools are installed and the paths are correct before starting the teamserver.

Usage

Start the teamserver with a profile:
sudo ./havoc server --profile ./profiles/havoc.yaotl -v --debug
All files created during teamserver operations are stored in the /Havoc/data/* directory.