mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2026-03-07 06:31:33 +01:00
16 lines
431 B
Plaintext
16 lines
431 B
Plaintext
---
|
|
comment: |-
|
|
There are also a number of other utilities that rely on `gzip` under the hood, e.g., `zless`, `zcat`, `gunzip`, etc. Besides having similar features, they also allow privileged reads if `gzip` itself is SUID.
|
|
functions:
|
|
file-read:
|
|
- code: |-
|
|
gzip -c /path/to/input-file | gzip -d
|
|
contexts:
|
|
capabilities:
|
|
list:
|
|
- CAP_DAC_OVERRIDE
|
|
sudo:
|
|
suid:
|
|
unprivileged:
|
|
...
|