Jump to content




[LUA]Decrypting a string.dump?


  • You cannot reply to this topic
5 replies to this topic

#1 Justy

  • Members
  • 210 posts
  • LocationCLGD

Posted 13 October 2012 - 05:43 PM

Im wondering how you can decrypt a string.dump and i cant seem to figure out how. Any help?

#2 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 13 October 2012 - 05:50 PM

I'm pretty sure you could just loadstring() a dump.

#3 Kolpa

  • New Members
  • 260 posts
  • LocationGermany

Posted 13 October 2012 - 05:52 PM

View Postjustync7, on 13 October 2012 - 05:43 PM, said:

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)


#4 Justy

  • Members
  • 210 posts
  • LocationCLGD

Posted 13 October 2012 - 05:59 PM

i want to get the code not run it.

#5 Xfel

    Peripheral Designer

  • Members
  • 515 posts

Posted 13 October 2012 - 06: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.

#6 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 13 October 2012 - 07: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 >_>





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users