From 856b6905a6121b59dd48af138f257c23a135da90 Mon Sep 17 00:00:00 2001 From: "Mr. Robot" Date: Tue, 2 Mar 2021 19:29:43 +0100 Subject: [PATCH] add data source for gzip --- data/gzip.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 data/gzip.json diff --git a/data/gzip.json b/data/gzip.json new file mode 100644 index 0000000..dc0d5de --- /dev/null +++ b/data/gzip.json @@ -0,0 +1,20 @@ +{ + "description": "There are also a number of other utilities that rely on 'gzip' under the hood, e.g., 'zless', 'zcat', 'gunzip', etc. Besides having similar features, they also allow privileged reads if 'gzip' itself is SUID.", + "functions": { + "file-read": [ + { + "code": "gzip -f [file] -t\n" + } + ], + "suid": [ + { + "code": "./gzip -f [file] -t\n" + } + ], + "sudo": [ + { + "code": "sudo gzip -f [file] -t\n" + } + ] + } +}