GTFOBins.github.io/_gtfobins/watch.md

312 B

functions
execute-non-interactive suid-enabled sudo-enabled suid-limited
code
watch /usr/bin/id
description code
This keeps the SUID privileges only if the `-x` option is present. ./watch -x /usr/bin/id
code
sudo watch /usr/bin/id
code
./watch /usr/bin/id