From cef17eb6ffaed8623404e7e26d8889f8c556eb7b Mon Sep 17 00:00:00 2001 From: "Mr. Robot" Date: Fri, 22 Jan 2021 21:09:41 +0100 Subject: [PATCH] add data source for ar --- data/ar.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 data/ar.json diff --git a/data/ar.json b/data/ar.json new file mode 100644 index 0000000..36915e3 --- /dev/null +++ b/data/ar.json @@ -0,0 +1,20 @@ +{ + "description": "The file appears amid the binary content of the archive.", + "functions": { + "file-read": [ + { + "code": "ar r \"[output]\" \"[file]\"\ncat \"[output]\"\n" + } + ], + "suid": [ + { + "code": "./ar r \"[output]\" \"[file]\"\ncat \"[output]\"\n" + } + ], + "sudo": [ + { + "code": "sudo ar r \"[output]\" \"[file]\"\ncat \"[output]\"\n" + } + ] + } +}