Add watch

This commit is contained in:
Emilio Pinna 2018-05-27 18:17:14 +01:00
parent b06bb08f96
commit 39e2d3335c

13
_gtfobins/watch.md Normal file
View File

@ -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
---