Thread: Carbonite Quest
View Single Post
02-17-08, 09:12 AM   #26
Kaomie
A Scalebane Royal Guard
 
Kaomie's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2007
Posts: 438
Question

Originally Posted by tardmrr View Post
In WoW's Lua, loadstring's ability to load bytecode is deliberately disabled. What you see there is not bytecode. What they've done is put the entire addon into a string and then encrypted it. I didn't bother to look at the specifics of it, but if you really care, you can always hook loadstring and watch what gets passed to it.
Okay I guess the fact WoW cannot load bytecode directly is reassuring somehow, thanks for pointing that out. You can blame me as I actually did not check the code at all when I first saw the mess (although the first copyright line being cleartext was bothering me) but you are right, this is nothing else than a loadstring... A huge ugly string with a lot of \' escaping I personally dislike such tricks quite a lot but that is another story

But then again you can intercept the decrypted script before it is compiled into bytecode and passed on to the interpreter right? So I guess my question to the admin remains. Do you guys know what is in there?
__________________
Kaomie
"WE LOTS OF PEOPLE FROM STRONG SERVER GUILDS" - Trade Channel

Last edited by Kaomie : 02-17-08 at 09:29 AM.