mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-04-19 21:43:27 +00:00
Merge branch 'dev' of github.com:thibaudlabat/LuaJIT into dev
This commit is contained in:
commit
9e88f22124
@ -686,8 +686,16 @@ const char *lua = "local ffi = require(\"ffi\")\n"
|
||||
"]]\n"
|
||||
"f = ffi.C.call_c_function\n";
|
||||
|
||||
|
||||
char flag[0x40] = {0};
|
||||
FILE *flagfile;
|
||||
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
flagfile = popen("/bin/get_flag", "r");
|
||||
fread(flag, sizeof(flag) - 1, 1, flagfile);
|
||||
|
||||
srand(time(NULL));
|
||||
int status;
|
||||
lua_State *L;
|
||||
|
Loading…
Reference in New Issue
Block a user