diff --git a/data/wc.json b/data/wc.json new file mode 100644 index 0000000..60c76dd --- /dev/null +++ b/data/wc.json @@ -0,0 +1,20 @@ +{ + "description": "The file content is parsed as a sequence of '\\x00' separated paths. On error the file content appears in a message, so this may not be suitable to read binary files.", + "functions": { + "file-read": [ + { + "code": "wc --files0-from \"[file]\"\n" + } + ], + "suid": [ + { + "code": "./wc --files0-from \"[file]\"\n" + } + ], + "sudo": [ + { + "code": "sudo wc --files0-from \"[file]\"\n" + } + ] + } +}