GTFOBins.github.io/_gtfobins/watch.md

13 lines
312 B
Markdown
Raw Normal View History

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