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