Jesseunit Posted October 7, 2013 Share Posted October 7, 2013 (edited) Greetings, Quick note: This post is about obfuscating files (such as images, audio and vehicle modifications) to keep your precious assets safe from thieves. Introduction For the past few days I've been working on an MTA file obfuscator script that is capable if obfuscating pre-selected files upon resource start and deobfuscate upon resource stop to prevent your files from being stolen by so-called 'client cache thieves'. How it works Anyways, you might be thinking: "How in the hell does it work?" Well, for that I have a simple explanation. When the resource starts, all the files you selected that need to be obfuscated will be stored in a cache. Once a player connects to your server the obfuscated files will be transferred to their computer whereas the client is still joining. Obfuscation technique The way the script is obfuscating the files, is by selecting a random letter, or several other random letters and replacing them with a random letter whilst the resource is being started. This will make the file unviewable, though if a random letter got replaced outside of the header (Such as an image) it'll still be viewable but even that has its consequences, hence the fact that some colors will be mixed and the client will end up with a digital version of a Picasso painting. The way it's being scripted The script is currently using a heavily modified version of MiddleClass, a Lua module to make it easier for me to create classes without making spaghetti of the beautifully well tabbed out coding. The resource in general will be scripted in Lua OOP because I like coding stuff that people don't understand quite easily. Additional information you may want to know although it's not necessary. I'm doing my utmost best to finish this script. But as any other experienced scripter might know, practice makes perfect. That's why I'm asking you to leave a honest suggestion and/or feedback regarding the development of this resource. So let's say you have a truly awesome idea, don't be scared to drop it here! I will respond as soon as possible and see what I can do. Download: A download is not available yet, although if you're really curious you can track its progress on our Github Lemonade page, over here. Special thanks to these geniuses - Qaisjp: For just being awesome in general and helping me. - Ixjf: Helping me getting hooked up with the MiddleClass module. Contact Feel free to contact me if you'd like. Skype: jes.siau E-mail: [email protected] Note: This post will be updated shortly with fancy pictures Edited October 7, 2013 by Guest Link to comment
qaisjp Posted October 7, 2013 Share Posted October 7, 2013 (edited) Can't wait for the code, nice work! Edited February 1, 2014 by Guest Link to comment
Jesseunit Posted October 11, 2013 Author Share Posted October 11, 2013 i hooked ixjf up with middleclass, therefore i hooked you up with middleclass.Can't wait for the code, nice work! Yup, currently using an outdated code on GitHub. But soon I will be implementing the salting technique we discussed about a while ago, random letters isn't just going to prevent the more 'experienced' people from restoring the files to its 'fixed' state. Link to comment
THEWES Posted February 1, 2014 Share Posted February 1, 2014 So, this is encrypting clientside files ? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now