SRL Archive - Simba (Testing) Scripts

Simba Obfuscator.


Markus

2011-11-18 06:11:59

Hey,
Well I've made a Simba obfusactor & string replacer. Haven't got much to say, run & see.
It's pretty cool I think, makes complete visual chaos of your script. Took me a few nights over the last week.
Features:
String encryption
Procedure/Function/Var/Parameter renaming, makes your CustomWriteln(color, str); into something like xnZsRMJv(IKj45Y74, JcX3OjJ5);
Comment stripping. byebye comments! It leaves compiler directives alone
'Make chaos' mode, fun for the whole family. Turns it all on one line as it usual.
Can be deobfuscated =D Yep, I got a deobfuscater (which doesn't work at this obfuscator, ofc the obbed obber cant be deobbed) which will deobfuscate most scripts obfuscated with this. The deobber will be released later as it's a bit too bugged now. So if you want to obfuscate your payscripts with this, go ahead! It will be even easier to crack for me than it usually is + I know how your script works.

Constants aren't supported, put them in an include file. Labels will be ignored. The script ignores everything it doesn't know, so it's very conservative. In contrary to Ray's obfuscator you don't need to group vars together.

Not Coming soon: real ClusterFutterer™ style! Makes everything one big [][] of variant! If it works for Jagex it should work for us, right? ;)

It may error a bit in the watermarking, if it does please post/send your script and I'll fix the obfuscator. I only tested the obfuscator on

It has no _____ mode, because this small script already has 80 tokens, I'm not sure if _________________________________________________________________ is a valid function name (the length). But I can add it if there's demand.


Post bugs please,

~Markus

P.S. The script is 437 lines

2011-11-21: Updated and released deobfuscator!

i luffs yeww

2011-11-18 06:14:00

COOL
a

Flight

2011-11-18 06:30:47

Lol it's like fighting fire with fire. Nice job there, Markus. ;)

marpis

2011-11-18 06:37:46

Mmm nice I guess, but I don't like the purpose of obfuscating… ;)

Sir R. M8gic1an

2011-11-18 06:39:57

Well I know I def won't use this obsfucator… no point, it'd only make markus' job easier!

-RM

Markus

2011-11-18 06:51:54

From: marpis
Mmm nice I guess, but I don't like the purpose of obfuscating… ;)


No need to worry! This obfuscator is designed to make the purpose of obfuscating useless, as it can be deobfuscated easily. So the sole purpose of this thing is: there is no purpose! But you could use it to test Lape's speed I guess ;)
wait I'll do that right now, cool. edit: no label support in lape =(

mastaraymond

2011-11-18 08:30:28

Beats my obfuscater!

nielsie95

2011-11-18 11:11:25

Does it work with with-statements and record fields? That was one of the main reasons I didn't want to obfuscate names in my obfuscator.

Markus

2011-11-18 14:44:20

It completely ignores them, though the design shouldn't make it too hard.. I can easily check every token in the script and replace them with something else, and it's made for consistent renaming: if somewhere an X will be replaced with Y, every X will be replaced with Y
if (inArr(GetNextToken(true), RecordDeclares)) then .., and if (getnexttoken(false) = 'WITH', yea it should be possible.
But it being possible doesn't mean that I'm going to do it, the sole purpose of this thing is to obfuscate itself :D If people want real obfuscation they could use one of the others or just give it a try themselves.

DeSnob

2011-11-18 16:12:39

This is cool and all, but someone really needs to make an .exe creator. Would be great to just run it and have a form pop up to begin.

Markus

2011-11-18 16:14:32

^ used to be there in Simba but got removed. Just too high risk of insecure scripts. (No, don't even try searching it, this was LOOOOONG ago)

Swatarianess

2011-11-20 10:37:46

Cheers ^^ will use this when i finish my script and release :D

Sir R. M8gic1an

2011-11-20 13:06:47

From: bro433
Cheers ^^ will use this when i finish my script and release :D


We don't accept (free) scripts being obfuscated on the forums… :p

-RM

noidea

2011-11-20 13:13:38

Obfuscated Obfuscater.

Sir R. M8gic1an

2011-11-20 17:55:21

From: noidea
Obfuscated Obfuscater.


good point. Nonetheless this is not a script that could grab your player info… unless markus goes after player files which would be detected by samba's security extension if he didn't disable that in the meantime…

Anyway obfuscated scripts are still against the rules… we'll discuss this obfuscater up in staff. Use at your own risk

-RM

kingarabian

2011-11-20 18:42:17

Now I know which obfuscator not to use :).

Markus

2011-11-21 00:29:48

From: noidea
Obfuscated Obfuscater.


Ray started the tradition ;) The reason I left it obfuscated is two-fold: first, it would be way too easy to figure out how to deobfuscate scripts made with this and thus disable that (it's one live you have to remove..), I don't want to see this used for payscripts which I don't condone over here. Second: the source is real crap and written in the late night, and I want the challenge for luffs to remain (he's manually renaming this). You could see this as practice for client reverse engineering but then in pascal and easier.
Also, the no obfuscated scripts rule only applies to real RuneScape/SRL scripts, not to ones that don't connect to the internet and are not in the public scripts section.

i luffs yeww

2011-11-21 01:47:21

I've been gone the past few days due to family issues, but I'm working on it again. :)

Swatarianess

2011-11-21 10:29:36

From: Sir R. M8gic1an
We don't accept (free) scripts being obfuscated on the forums… :p

-RM


reli? :duh: kk imma use it for any script i dont realease for free ;)

also works awesomly :D and it can be De-Obfuscated ?

senrath

2011-11-21 10:46:16

From: bro433
reli? :duh: kk imma use it for any script i dont realease for free ;)

also works awesomly :D and it can be De-Obfuscated ?


Any obfuscation can be reversed. And Markus has an automated deobber for this one.

Oh, and don't forget you can't sell any scripts on this forum, so any pay scripts you make will have to be released elsewhere.

Swatarianess

2011-11-21 11:59:35

From: senrath
Any obfuscation can be reversed. And Markus has an automated deobber for this one.

Oh, and don't forget you can't sell any scripts on this forum, so any pay scripts you make will have to be released elsewhere.


nah wasnt planning on it was just thinking of how much people need the scripts :P my scripting not good enuf to make Private scripts i'd prob Obfuscate to stop leechers/noobs from using lol ;)

P1nky

2011-11-21 12:08:55

Oh naiiice, remembering you mentioning about this on IRC.
Lookin naice :), if I ever post my scripts on Sythe, I'll make sure to obfuscate the script with this!

Markus

2011-11-21 12:40:00

The deobber has been released! It doesn't beautify the script but it renames everything back to original :p
And I fixed a small issue with the string encryption, in rare cases it jumped thru half the script.