From 6b3516844816518465e8fcb20f54ba047f9f8a01 Mon Sep 17 00:00:00 2001 From: t0thkr1s Date: Mon, 23 Mar 2020 20:09:31 +0100 Subject: [PATCH] add data source for tac --- data/tac.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 data/tac.json diff --git a/data/tac.json b/data/tac.json new file mode 100644 index 0000000..2d79218 --- /dev/null +++ b/data/tac.json @@ -0,0 +1,20 @@ +{ + "description": "Make sure that 'RANDOM' does not appear into the file to read otherwise the content of the file is corrupted by reversing the order of 'RANDOM'-separated chunks.", + "functions": { + "file-read": [ + { + "code": "tac -s 'RANDOM' \"[file]\"\n" + } + ], + "suid": [ + { + "code": "./tac -s 'RANDOM' \"[file]\"\n" + } + ], + "sudo": [ + { + "code": "sudo tac -s 'RANDOM' \"[file]\"\n" + } + ] + } +} \ No newline at end of file