#
Lua Related
Contains callbacks that are related to the modification of Lua.
#
VerboseString(string strSource, string strDumped)
Called every time Verbose intercepts a LuaJIT string allocation.
This callback allows you to capture strings as they're being deobfuscated at runtime.
Arguments:
stringstrSource - Where the string is from.stringstrDumped - The dumped string.
Example:
hood.Add("VerboseString", "AwesomeVerboseDumper", function(strSource, strDumped)
if (strSource == "@lua/ObfuscatedScript.lua") then
print(strDumped)
end
end)
#
OnLuaLoaded(string strSource, string strContent)
Called every time Lua code is loaded from a buffer. (lua_loadbufferx)
Arguments:
stringstrSource - Where is this being loaded from.stringstrContent - What is being loaded.