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.
24 lines
369 B
JSON
24 lines
369 B
JSON
5 years ago
|
{
|
||
|
"functions": {
|
||
|
"file-write": [
|
||
|
{
|
||
|
"code": "echo \"DATA\" | dd of=[file]\n"
|
||
|
}
|
||
|
],
|
||
|
"file-read": [
|
||
|
{
|
||
|
"code": "dd if=[file]\n"
|
||
|
}
|
||
|
],
|
||
|
"suid": [
|
||
|
{
|
||
|
"code": "echo \"DATA\" | ./dd of=[file]\n"
|
||
|
}
|
||
|
],
|
||
|
"sudo": [
|
||
|
{
|
||
|
"code": "echo \"DATA\" | sudo dd of=[file]\n"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|