GTFOBins.github.io/_gtfobins/watch.md

13 lines
306 B
Markdown
Raw Normal View History

2018-05-27 19:17:14 +02:00
---
functions:
execute-non-interactive:
2018-07-04 20:26:52 +02:00
- code: watch /usr/bin/id
2018-05-27 19:17:14 +02:00
suid-enabled:
2018-07-04 20:26:52 +02:00
- description: This keeps the SUID privileges only if the `-x` option is present.
code: "./watch -x /usr/bin/id"
sudo-enabled:
- code: sudo watch /usr/bin/id
2018-05-27 19:17:14 +02:00
suid-limited:
2018-07-04 20:26:52 +02:00
- code: "./watch /usr/bin/id"
2018-05-27 19:17:14 +02:00
---