Files
Valak/docs/BUILD.md
T
2026-07-18 09:30:00 +01:00

32 lines
671 B
Markdown

## build the dll
requires zig 0.16.x
```bash
cd evasion
zig build -Dtarget=x86_64-windows-gnu -Doptimize=ReleaseFast
# → zig-out/bin/valak.dll
```
cross-compiles from any OS. output is a PE32+ DLL for x64 Windows, about 80KB.
## build the loader (optional)
if you need a minimal shellcode loader to get your implant running:
```bash
# place your Sliver shellcode as valak.bin in the kage directory
cd ../kage
python3 embed.py
zig build -Dtarget=x86_64-windows-gnu -Doptimize=ReleaseFast
# → zig-out/bin/kage.exe
```
## integrate with sliver
```bash
./scripts/integrate.sh ~/projects/sliver
```
see [sliver-integration.md](sliver-integration.md) for details.