From bcde62402eece9c3021023356f567031cd40763a Mon Sep 17 00:00:00 2001 From: "Mr. Robot" Date: Tue, 12 Jan 2021 19:02:46 +0100 Subject: [PATCH] add data source for cups filter --- data/cupsfilter.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 data/cupsfilter.json diff --git a/data/cupsfilter.json b/data/cupsfilter.json new file mode 100644 index 0000000..5487562 --- /dev/null +++ b/data/cupsfilter.json @@ -0,0 +1,19 @@ +{ + "functions": { + "file-read": [ + { + "code": "cupsfilter -i application/octet-stream -m application/octet-stream [file]\n" + } + ], + "sudo": [ + { + "code": "sudo cupsfilter -i application/octet-stream -m application/octet-stream [file]\n" + } + ], + "suid": [ + { + "code": "./cupsfilter -i application/octet-stream -m application/octet-stream [file]\n" + } + ] + } +}