|
| 18 Aug 2015 03:38 PM |
local plugin
local Gsubs = { {".Parent","['P'..'a'..'r'..'e'..'n'..'t']"}, {" ",""}, {" * ","*"}, {" / ","/"}, {" + ","+"}, {" - ","-"}, {" = ","="}, {"nil","NULL_PLACE"}, }
local function Obfuscate(String) for i = 1,#Gsubs do String = String:gsub(Gsubs[i][1],Gsubs[i][2]) end return String end
plugin:CreateToolbar( "Script Obfuscator" ):CreateButton( "Obfuscate Script(s).", "Click to obfuscate selected script(s)!", "" ).Click:connect(function() local Children = game:GetService("Selection"):Get() for i = 1,#Children do local Child = Children[i] if Child:IsA("Script") or Child:IsA("LocalScript") or Child:IsA("ModuleScript") then local Success,Message = pcall(function() Obfuscate(Child.Source) end) if not Success then error("[Obfuscator] "..Message) end else print("[Obfuscator] "..Child.Name.." is not a script!") return end end end)
Got the basics done. Now for the hard stuff. |
|
|
| Report Abuse |
|
|
|
| 18 Aug 2015 04:54 PM |
what exactly is this supposed to do? o.O I couldn't quiet get the whole code, only a bit...
"My Life is going Good... but..." |
|
|
| Report Abuse |
|
|
|
| 18 Aug 2015 05:03 PM |
@Kapitanovas obfuscates the selected script |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 18 Aug 2015 05:05 PM |
| Obfuscating code is a waste of time. |
|
|
| Report Abuse |
|
|
|
| 18 Aug 2015 05:05 PM |
| That would remove spaces in strings. Obfuscation should make the script completely unreadable and preserve functionality. |
|
|
| Report Abuse |
|
|
|
| 18 Aug 2015 05:06 PM |
Terrible Good obfuscation is not possible in rbx.lua |
|
|
| Report Abuse |
|
|
|
| 18 Aug 2015 05:06 PM |
| Obfuscation doesnt work with filtering enabled on |
|
|
| Report Abuse |
|
|
|
| 18 Aug 2015 05:09 PM |
| robloxer8282, you're stupid. |
|
|
| Report Abuse |
|
|
|
| 18 Aug 2015 05:11 PM |
why am i stupid
i read on the wiki it was disabled |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 18 Aug 2015 05:15 PM |
| wait nevermind it was disabled by filteringenabled it was something else |
|
|
| Report Abuse |
|
|
| |
|
|
| 18 Aug 2015 05:16 PM |
Let me rephrase what I said. Obfuscation is possible, but it's very easy to get the original code in rbx.lua
string.dump I think you can loadstring this, but that's not recommended Possibly takes the longest to construct the original code, but is also the easiest to deobfuscate if someone makes a script to do it
Saving values to a variable Easy to deobfuscate
Using a function to return values Easy to deobfuscate
Using getfenv to get values Easy to deobfuscate
Adding dummy code Suggested
|
|
|
| Report Abuse |
|
|
|
| 18 Aug 2015 05:17 PM |
| Wait string.dump won't work anyway because there's no client loadstring |
|
|
| Report Abuse |
|
|
|
| 18 Aug 2015 05:20 PM |
| loadstring-ing dumped functions has been disabled for a looooong time. |
|
|
| Report Abuse |
|
|
|
| 18 Aug 2015 05:22 PM |
Well I guess that explains why NotAshley's script didn't use loadstring Thanks for telling me :) |
|
|
| Report Abuse |
|
|
|
| 18 Aug 2015 05:27 PM |
so em... this is what I found "completely unreadable form, preventing it from analysing and theft." so it's basically trying to make code unreadable? o.O and em, EXACTLY how does this happen?
"My Life is going Good... but..." |
|
|
| Report Abuse |
|
|
|
| 18 Aug 2015 05:31 PM |
Like this local str="\95\102\95\102\95\102" |
|
|
| Report Abuse |
|
|
|
| 18 Aug 2015 05:37 PM |
thought so XD
"My Life is going Good... but..." |
|
|
| Report Abuse |
|
|
|
| 18 Aug 2015 08:42 PM |
I said I am still working on it. I need to convert to ACII characters or w/e and not .Anchored and stuff but ['Anchored'] |
|
|
| Report Abuse |
|
|
|
| 18 Aug 2015 08:59 PM |
| BothAngles, it did use loadstring, however it was with a custom VM. The code in the call is a LuaQ chunk. It is possible to get the source from that, and the actual module source like I did. :P |
|
|
| Report Abuse |
|
|
|
| 19 Aug 2015 03:23 AM |
Ok OrangeKitten gl wasting your time Oh and btw your script will remove spaces in strings
You can make a macro in Notepad++ that'll undo your obfuscation in < .1 seconds |
|
|
| Report Abuse |
|
|
|
| 19 Aug 2015 12:21 PM |
| BothAngles you tard, no it wont. |
|
|
| Report Abuse |
|
|
|
| 19 Aug 2015 01:08 PM |
local source = [[local str = "1 + 1 = 2"]] print(Obfuscate(source))
localstr="1+1=2"
^ lmao |
|
|
| Report Abuse |
|
|