generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: How's my plugin?

Previous Thread :: Next Thread 
OrangeKitten is not online. OrangeKitten
Joined: 12 Jul 2007
Total Posts: 383
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
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
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
robloxer8282 is not online. robloxer8282
Joined: 25 Dec 2012
Total Posts: 819
18 Aug 2015 05:03 PM
@Kapitanovas
obfuscates the selected script
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
18 Aug 2015 05:05 PM
Obfuscating code is a waste of time.
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
18 Aug 2015 05:05 PM
That would remove spaces in strings. Obfuscation should make the script completely unreadable and preserve functionality.
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
18 Aug 2015 05:06 PM
Terrible
Good obfuscation is not possible in rbx.lua
Report Abuse
robloxer8282 is not online. robloxer8282
Joined: 25 Dec 2012
Total Posts: 819
18 Aug 2015 05:06 PM
Obfuscation doesnt work with filtering enabled on
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
18 Aug 2015 05:09 PM
robloxer8282, you're stupid.
Report Abuse
robloxer8282 is not online. robloxer8282
Joined: 25 Dec 2012
Total Posts: 819
18 Aug 2015 05:11 PM
why am i stupid

i read on the wiki it was disabled
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
18 Aug 2015 05:12 PM
This is a plugin!
Report Abuse
robloxer8282 is not online. robloxer8282
Joined: 25 Dec 2012
Total Posts: 819
18 Aug 2015 05:13 PM
I know its a plugin
Report Abuse
robloxer8282 is not online. robloxer8282
Joined: 25 Dec 2012
Total Posts: 819
18 Aug 2015 05:15 PM
wait nevermind it was disabled by filteringenabled it was something else
Report Abuse
robloxer8282 is not online. robloxer8282
Joined: 25 Dec 2012
Total Posts: 819
18 Aug 2015 05:15 PM
wasnt*
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
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
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
18 Aug 2015 05:17 PM
Wait string.dump won't work anyway because there's no client loadstring
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
18 Aug 2015 05:20 PM
loadstring-ing dumped functions has been disabled for a looooong time.
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
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
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
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
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
18 Aug 2015 05:31 PM
Like this
local str="\95\102\95\102\95\102"
Report Abuse
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
18 Aug 2015 05:37 PM
thought so XD

"My Life is going Good... but..."
Report Abuse
OrangeKitten is not online. OrangeKitten
Joined: 12 Jul 2007
Total Posts: 383
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
TickerOfTime is not online. TickerOfTime
Joined: 02 Sep 2012
Total Posts: 2030
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
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
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
OrangeKitten is not online. OrangeKitten
Joined: 12 Jul 2007
Total Posts: 383
19 Aug 2015 12:21 PM
BothAngles you tard, no it wont.
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
19 Aug 2015 01:08 PM
local source = [[local str = "1 + 1 = 2"]]
print(Obfuscate(source))

localstr="1+1=2"

^ lmao
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image