Top posting users this month | |
Latest topics | » Where to go from here.September 14th 2020, 1:20 pm by MrNicNac» Send me an EmailSeptember 14th 2020, 1:16 pm by MrNicNac» [v1.6.0.0] Lua Script Obfuscator [No Bytecode]July 6th 2015, 7:38 pm by m27frogy» New Site PossiblyJuly 6th 2015, 4:16 pm by m27frogy» Ambassador!April 15th 2015, 11:40 pm by naknak» Boop - TagApril 13th 2015, 9:46 pm by naknak» Vip Class ScriptApril 13th 2015, 4:54 pm by naknak» Who's active?!April 13th 2015, 4:52 pm by naknak» Genesis PointJuly 17th 2014, 7:04 pm by branefreez» Reward SystemJuly 17th 2014, 5:41 am by m27frogy» Script RequestJuly 10th 2014, 11:43 am by naknak» local scripts?July 10th 2014, 11:39 am by naknak» Project: Reconstruction [Died]July 10th 2014, 11:36 am by naknak» Hi. I am new hereApril 26th 2014, 4:01 pm by altshiftkey» What's your favorite sport?January 1st 2014, 2:13 pm by m27frogy» FlashLight ScriptJanuary 1st 2014, 2:11 pm by m27frogy» Gun Making! [READ DESC]January 1st 2014, 2:10 pm by m27frogy» Hi, I am new here!November 26th 2013, 3:33 pm by Keanu73» Improve CodingOctober 26th 2013, 1:12 pm by pook03» Simple ButtonSeptember 1st 2013, 6:19 pm by branefreez |
| | [v1.6.0.0] Lua Script Obfuscator [No Bytecode] | |
| | Author | Message |
---|
m27frogy The Garbageman
Posts : 336 Join date : 2011-06-23
| Subject: [v1.6.0.0] Lua Script Obfuscator [No Bytecode] September 6th 2012, 4:44 pm | |
| Note: This is a copy of a post made by StefanBashkir (i.e. MrNicNac.) This is by no means my plugin.I spent a good 12 hours on making something that dynamically obfuscates code. The point of obfuscation is to make something hard to read or comprehend, as the definition states. So, I did just that. First, here's an image of what this plugin will do (your results will vary). [Only admins are allowed to see this image]What It Does•The plugin finds all of your local variables and functions with names larger than 4-5 characters. (anything lower is usually not straightforward anyways) and it replaces all of them with a special hash of certain 8-bit characters. These names will be from 8-15 bytes long. Then, all of the strings in the script are collected and replaced by a table index. The strings are stored at the very top, unobfuscated. Afterwords, the plugin will then exploit Lua's whitespace handling and find all of the spaces in the script and replace the spaces with a large set of escape characters through a comment followed by another space. This makes the code very, very hard to read. It will probably daunt anyone trying to even edit the code. If you want to give it a go, then here's the download link. Versions1.0.0.0[You must be registered and logged in to see this link.] -- Direct download 1.6.0.0[You must be registered and logged in to see this link.] -- Direct download 1.6.0.1[You must be registered and logged in to see this link.] -- RbxPlugin package •Fixed lengthy string captures. •Fixed captures eating up large scripts, thus ruining the code. •Now fully supports double-bracket strings. Leveled literals are still not supported, but not used in mainstream code anyways. •Added "Read-me" file (Doesn't exist in RbxPlugin package) ExtraIf you want to make sure nobody else can use your place, then before you obfuscate any script, make sure you add the following to the top of all of your code. - Code:
-
if game.CreatorId ~= YourUserID then game.RequestShutdown = function() print("This server is shutting down.") end end
Last edited by m27frogy on July 6th 2015, 7:37 pm; edited 1 time in total | |
| | | naknak Administrator
Posts : 878 Join date : 2010-07-30
| Subject: Re: [v1.6.0.0] Lua Script Obfuscator [No Bytecode] October 1st 2012, 10:18 pm | |
| :O
You know if I still played Roblox, I'd love you for this. Unless it was relatively simple to replicate.. But either way lol | |
| | | m27frogy The Garbageman
Posts : 336 Join date : 2011-06-23
| Subject: Re: [v1.6.0.0] Lua Script Obfuscator [No Bytecode] October 28th 2012, 8:23 pm | |
| I actually figured out a way to remove the --[==[Blah]==], but I doubt anyone will think of that. | |
| | | branefreez Intermediate Scripter
Posts : 143 Join date : 2012-07-14
| Subject: Re: [v1.6.0.0] Lua Script Obfuscator [No Bytecode] December 13th 2012, 5:12 pm | |
| Can you make the download links view-able for non-admins? I'd like to use it to test a loadstring(BLAH.BLAH.Value)() H4X that I have been trying to verify its validity. I would really appreciate it. | |
| | | m27frogy The Garbageman
Posts : 336 Join date : 2011-06-23
| Subject: Re: [v1.6.0.0] Lua Script Obfuscator [No Bytecode] December 27th 2012, 7:04 pm | |
| - branefreez wrote:
- Can you make the download links view-able for non-admins? I'd like to use it to test a loadstring(BLAH.BLAH.Value)() H4X that I have been trying to verify its validity. I would really appreciate it.
Depends. Is the value a string value or a bunch or random numbers? | |
| | | branefreez Intermediate Scripter
Posts : 143 Join date : 2012-07-14
| Subject: Re: [v1.6.0.0] Lua Script Obfuscator [No Bytecode] February 25th 2013, 4:45 pm | |
| I actually cant remember... But I'm wondering what would happen if I obfuscate this: - Code:
-
loadstring('\B\Y\T\E\C\O\D\E')() and run it through a table : - Code:
-
local bytes = {"B", "Y", "T", "E", "C", "O", "D", "E"}
loadstring(table.concat(bytes, "\"))() But... I'm to lazy to try it... It would probably error, anyways [The roblox Dev's are smart enough to prevent that]. | |
| | | m27frogy The Garbageman
Posts : 336 Join date : 2011-06-23
| Subject: Re: [v1.6.0.0] Lua Script Obfuscator [No Bytecode] February 27th 2013, 10:09 am | |
| Bytecode in general is removed. Not that they ban it in some round about way, they simply have prevented loadstring from running bytecode. | |
| | | branefreez Intermediate Scripter
Posts : 143 Join date : 2012-07-14
| Subject: Re: [v1.6.0.0] Lua Script Obfuscator [No Bytecode] March 1st 2013, 6:31 pm | |
| Well, if bytecode is in Decimal notation, what about Hexadecimal or binary or Octal notations being run by loadstring()() ??? | |
| | | m27frogy The Garbageman
Posts : 336 Join date : 2011-06-23
| Subject: Re: [v1.6.0.0] Lua Script Obfuscator [No Bytecode] March 1st 2013, 6:36 pm | |
| Think of it like this: - Code:
-
function loadstring(...) if (arguments are string code) --blah. elseif (arguments are bytecode) --blah else --improper formatting error end end So, they simply modified it to this: - Code:
-
function loadstring(...) if (arguments are string code) --blah. else --improper formatting error end end loadstring has no way of handling bytecode. Period. loadstring will NEVER run bytecode, it only knows how to run NORMAL LUA. | |
| | | branefreez Intermediate Scripter
Posts : 143 Join date : 2012-07-14
| Subject: Re: [v1.6.0.0] Lua Script Obfuscator [No Bytecode] March 1st 2013, 6:41 pm | |
| Wow... I never thought of it like that. Thank you for clearing up the confusion cluttering my head. :) | |
| | | m27frogy The Garbageman
Posts : 336 Join date : 2011-06-23
| Subject: Re: [v1.6.0.0] Lua Script Obfuscator [No Bytecode] March 1st 2013, 6:45 pm | |
| It's okay. You have to remember, these languages are actually programmed from languages. :3 All the way down to binary. | |
| | | branefreez Intermediate Scripter
Posts : 143 Join date : 2012-07-14
| Subject: Re: [v1.6.0.0] Lua Script Obfuscator [No Bytecode] March 1st 2013, 6:52 pm | |
| I'm now wondering if it is possible to use CE to find the loadstring()() function and edit it..... I is a h4xx0r! | |
| | | m27frogy The Garbageman
Posts : 336 Join date : 2011-06-23
| Subject: Re: [v1.6.0.0] Lua Script Obfuscator [No Bytecode] July 6th 2015, 7:38 pm | |
| Updated it for my own usage. Probably good idea to couple this with LuaSrcDiet for some totally unreadable code. ;) | |
| | | Sponsored content
| Subject: Re: [v1.6.0.0] Lua Script Obfuscator [No Bytecode] | |
| |
| | | | [v1.6.0.0] Lua Script Obfuscator [No Bytecode] | |
|
Similar topics | |
|
| Permissions in this forum: | You cannot reply to topics in this forum
| |
| |
| Who is online? | In total there are 2 users online :: 0 Registered, 0 Hidden and 2 Guests :: 1 Bot
None
Most users ever online was 54 on August 2nd 2017, 2:13 am
|
| Please tell us what time zone you are in here
Got a really good idea? Post it in projects and it might show up here! |
|