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
621 B
JSON
25 lines
621 B
JSON
4 years ago
|
{
|
||
|
"description": "The '8859_1' encoding is used as it accepts any single-byte sequence, thus it allows to read/write arbitrary files. Other encoding combinations may corrupt the result.",
|
||
|
"functions": {
|
||
|
"file-write": [
|
||
|
{
|
||
|
"code": "echo \"DATA\" | iconv -f 8859_1 -t 8859_1 -o \"[file]\"\n"
|
||
|
}
|
||
|
],
|
||
|
"file-read": [
|
||
|
{
|
||
|
"code": "iconv -f 8859_1 -t 8859_1 \"[file]\"\n"
|
||
|
}
|
||
|
],
|
||
|
"suid": [
|
||
|
{
|
||
|
"code": "./iconv -f 8859_1 -t 8859_1 \"[file]\"\n"
|
||
|
}
|
||
|
],
|
||
|
"sudo": [
|
||
|
{
|
||
|
"code": "./iconv -f 8859_1 -t 8859_1 \"[file]\"\n"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|