From 39e2d3335c1c96ae0ef554bf1a2f58cca2d22eb8 Mon Sep 17 00:00:00 2001 From: Emilio Pinna Date: Sun, 27 May 2018 18:17:14 +0100 Subject: [PATCH] Add watch --- _gtfobins/watch.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 _gtfobins/watch.md 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 +---