Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Obfuscating Lua Codes

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25833
Location: The netherlands

PostPosted: Tue Jul 30, 2019 2:26 pm    Post subject: Reply with quote

Get the lua sourcecode (ce's git has a copy)
and then look for the opcode define lists and math list. The order in which they appear determines the opcode they generate.
So easily enough just switch some around or insert a few bogus ones inbetween (but make sure that some that need to be in a specific order are dealt with)



then use encodeFuction to encode your script and never use strings

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Tue Jul 30, 2019 3:50 pm    Post subject: Reply with quote

Fully read his post again, he explained how to alter the opcode id orders used which will alter the results of encodeFunction/decodeFunction calls. If you alter the opcode ids of Lua, then all the decompiler tools will fail to product proper output unless someone manually fixes it.

Given that the Lua engine is still on their machine they can reverse the alterations made to the Lua engine and fix the decompilers to work with the customized output.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites