Quote:
Originally Posted by Saiket Which addon are you attempting to decrypt? I've taken a look at Carbonite, but that one's encrypted and obfuscated beyond all comprehension. Once you have the original source decrypted, the code looks like "function lolreturn ( elseend, roflwhile ) return elseend + roflwhile; end"; essentially they use a program to automatically remap actual variable names to made-up combinations of Lua reserved words and "lol", "rofl", etc.
Here's a tip for the first decrypting process based on my experience with Carbonite: before the addon has a chance to load, hook the "loadstring" and "RunScript" types of functions and save the arguments passed to them while the addon loads. Even if the encryption is recursive, you'll eventually see arguments of real decrypted code passed through. Save them in a saved variable and do what you will with the results. |
Well the addon in question is definitially Carbonite. To be completely blunt I paid for two months it thinking I'd get that version forever, but they make it expire after two months so that you have to keep on paying for it. In my mind I paid for the product at that time, I don't care about further updates, and I want to at least change it so that it won't expire.
Unfortunately I thought this would be a wee bit easier since its LUA (as opposed to something like C++), and I've never reverse-engineered before, so your post isn't exactly encouraging

How does the WoW engine load that garbled trash anyway? I'de like to at least get to poke around the "lol" code and see if I could search for the part about 'Expired' and delete it hah. Of course I have no idea how hard it is to get to that point so if you think its too much just lemme know.