177 posts
Location
CLGD
Posted 13 October 2012 - 06:43 PM
Im wondering how you can decrypt a string.dump and i cant seem to figure out how. Any help?
1688 posts
Location
'MURICA
Posted 13 October 2012 - 06:50 PM
I'm pretty sure you could just loadstring() a dump.
236 posts
Location
Germany
Posted 13 October 2012 - 06:52 PM
Im wondering how you can decrypt a string.dump and i cant seem to figure out how. Any help?
you use
local func_str = string.dump(function)
local func = loadstring(func_str)
177 posts
Location
CLGD
Posted 13 October 2012 - 06:59 PM
i want to get the code not run it.
510 posts
Posted 13 October 2012 - 07:00 PM
It depends on what you want. The dump function simply writes down the compiled code, which can be loaded again, however, you will not be able to decrypt this code to get the original lua code.
2217 posts
Location
3232235883
Posted 13 October 2012 - 08:53 PM
unless you have read deeply into the lua compiler :3
its a bit confusing though because i dont know c++ :C
sorry but its kind of a secret >_>