diff --git a/_gtfobins/watch.md b/_gtfobins/watch.md new file mode 100644 index 0000000..911d791 --- /dev/null +++ b/_gtfobins/watch.md @@ -0,0 +1,13 @@ +--- +functions: + execute-non-interactive: + - code: watch /usr/bin/id + sudo-enabled: + - code: watch /usr/bin/id + suid-enabled: + - description: |- + If present, maintain the SUID privileges with the `-x` option that uses `exec` instead of `sh -c`. + code: watch -x /usr/bin/id + suid-limited: + - code: watch /usr/bin/id +---