SRL Archive - Other Scripts

SCAR Obfusactor.


mastaraymond

2007-09-03 10:02:33

Update: Obfusactore.scar (42.4 KB) is the "latest" version.

Well i've made a scar obfusactor & string replacer. Haven't got much to say, run & see.

Btw, its far from perfect, but its a start, right?

Updated : Its noobfriendly i think ^^, should give way less errors!

Features:
Integer 'Encryption' (Just IntToHex ;) );
String 'Encryption' (Makes the strings unreadable, but can reverts them);
And ofcourse, Procedures + vars + Paramers, globals, types and consts obfusacting.

Some well know problems:

If you use Make Chaos, there can be some problems, but if you remove commands and brackets, it should work fine.

Some times it can't detect the last procedure\function, then you have to put in the text '// end here' after the last proc end;.

You must sort the globals. Stick the vars together, the consts together and the types together. And place those stuff before the first procedure\function
Example :
 program bla;
var
Bla2 : string;
Const
iets = 'Oops'

Procedure DoSomething; etc.

Post bugs please,

~Raymond

P.S. The script is 1500 lines.

To be sure it works allright place the text : // end here
after the last procedure\function his end;
Example:
program New;

Procedure a;
begin;
WritelN('a');
end;

Procedure b;
begin;
writeln('b');
end;// end here

begin
a;
b;
end.

Killerdou

2007-09-03 10:03:33

haha the script is obfuscated:rolleyes:

Harry

2007-09-03 10:06:27

Did Freddy1990 give your permission to upload this? Or is this not "Freddy quality" ? Would be nice for the real freddy's obber to be released… :D

mastaraymond

2007-09-03 10:08:17

From: hy71194
Did Freddy1990 give your permission to upload this? Or is this not "Freddy quality" ? Would be nice for the real freddy's obber to be released… :D
This is 'home' made, and if you ask me, freddy's 'encryption', is just a compiled script ;).

Starblaster100

2007-09-03 10:08:57

How ironic… lol

ShowerThoughts

2007-09-03 10:11:23

so this is an encrypton-tool that none can break only you?

Harry

2007-09-03 10:12:45

Omg SB100 double posted.

When I use this, It is hard to setup your script to work fine with it :p

Killerdou

2007-09-03 10:16:21

what about forms?

mastaraymond

2007-09-03 10:16:39

Yes, i know sb100 has got one, but i dont care xD. Mostly, all options and it should work [a]. Make chaos is not recommend :p.

@Hermpie, nah i decided to let it load random names, instead of ecnryption. This looks better x). Confusing if you ask me :p.

ShowerThoughts

2007-09-03 10:19:37

k could you make an encrypton tool for my autotalker;)

mastaraymond

2007-09-03 10:26:02

From: hermpie
k could you make an encrypton tool for my autotalker;)
I could, but there is 1 thing you must know. I can encrypt your strings, but scar must decrypt them to get the 'real' string. So, you need a decrypt function. But then it is possible to writeln the 'real' string for example :
Writeln(Decrypt('Asfhskfsd'));

But I could do it.. :rolleyes:.

~Raymond

ShowerThoughts

2007-09-03 10:31:24

lol k if i need it for more important stuff really important just say it..

Bobarkinator

2007-09-03 11:53:00

Hmmm… doesn't work for me. It says I need to place "// end here" after last proc. I was using your example.

Sp0rky

2007-09-03 12:00:42

Lol, this would be funny combined with my encryption plugin =D

mastaraymond

2007-09-03 12:05:04

From: bobarkinator
Hmmm… doesn't work for me. It says I need to place "// end here" after last proc. I was using your example.
Well, it should work, have you tried it without placing that text there?

Btw, im working on something that auto detects it, 1 mom.

Esteban

2007-09-03 13:51:07

I don't understand how to use it :S.

Markus

2007-09-03 14:07:40

@estebanThen you dont need to use it :)

Glad to see you released it pulic :p

ruler

2007-09-03 15:04:51

Here is my last release of mine, its almost 2 years old now lol. 700 lines, horrible looking, un managed.

http://www.impsoft.net/public/StripLines.zip

I think most private ones have been derivied from it also.

mastaraymond

2007-09-03 15:17:57

From: ruler
Here is my last release of mine, its almost 2 years old now lol. 700 lines, horrible looking, un managed.

http://www.impsoft.net/public/StripLines.zip

I think most private ones have been derivied from it also.
I haven't seen any obfusactor before i made this one. I was going on vacantion without internet, so i made this out myself :).

Santa_Clause

2007-09-05 05:56:35

Why is it that I can't view page 2 of this thread?

Ooo, nice one Masta.

GoF

2007-09-05 09:55:20

:p You just came out of nowhere and started making this kinda awesome scripts.. Seems verry nice ;)

mastaraymond

2007-09-05 10:00:34

From: GoF
:p You just came out of nowhere and started making this kinda awesome scripts.. Seems verry nice ;)
Yeah, i wasn't active for over a year, but after i quit gaming (ET) i thought, why not go back and script again :).

Jason2gs

2007-09-06 18:31:46

Ooh, I like it :)

mastaraymond

2007-09-11 16:46:25

Updated the script! Fixed a few bugs and i made it less hard to use ( I think ).

~Raymond

the scar noob

2007-09-13 14:57:07

thx for sharing and it's awesome!:stirthepot:

lardmaster

2007-09-13 21:17:23

'ontiecotprg intrS'
I JUST KNOW THIS IS 'String protection' but i have no idea how it works…
lets see..
1,3,2,5,4,7,6,9,8,11,10,13,12,15,14,17,16…

so,its start at the back, go forwards two, back one, forwards two, back one, forwards two, etc, all adding to the begining,

so decryption would be…

String s=encrypted[encrypted.length-1];
int i;
for(i=encrypted.length-3; i>=0; i-=2) {
s+=encrypted;
s+=encrypted[i+1];
}
if(i==-1)
s+=encrypted[0];

i think :)

mastaraymond

2007-09-14 04:06:49

From: lardmaster
'ontiecotprg intrS'
I JUST KNOW THIS IS 'String protection' but i have no idea how it works…
lets see..
1,3,2,5,4,7,6,9,8,11,10,13,12,15,14,17,16…

so,its start at the back, go forwards two, back one, forwards two, back one, forwards two, etc, all adding to the begining,

so decryption would be…

String s=encrypted[encrypted.length-1];
int i;
for(i=encrypted.length-3; i>=0; i-=2) {
s+=encrypted;
s+=encrypted[i+1];
}
if(i==-1)
s+=encrypted[0];

i think :)

Hehe ^^, i added a decryption function.. Its in the scrip it obfuscated ;).

ZaSz

2008-05-24 22:01:09

Bump.

Wanna update and make mega l337 ??? I mean so that its not easy to defuse?

mastaraymond

2008-05-25 05:41:29

From: zasz
Bump.

Wanna update and make mega l337 ??? I mean so that its not easy to defuse?

This is exactly what a obfuscater should do.. This is the best you can get it..

ShowerThoughts

2008-05-25 08:14:04

From: mastaraymond
This is exactly what a obfuscater should do.. This is the best you can get it..


So this can be kind hacked only by Srl members?

GoF

2008-05-25 09:04:18

From: Hermpie
So this can be kind hacked only by Srl members?


Obfuscated scripts aren't hard to crack if you know what you're doing..

MylesMadness

2008-05-25 09:41:47

not hard at all

Edit:Unless its freddys obbber…

ShowerThoughts

2008-05-25 09:48:20

From: Mylesmadness
not hard at all

Edit:Unless its freddys obbber…


Yeah, i asked freddy if he could encrypt my script, but he didn't wanted :(

mastaraymond

2008-05-25 11:55:00

ffs. Freddy doesn't use an obfuscater. Freddy uses encryption and compression or even a compiled script..

GoF

2008-05-25 12:56:34

Freddy = Encryption.

Way different.

R0b0t1

2008-05-25 13:08:17

Eh, now it doesn't work. Asking for a semi-colon.

MylesMadness

2008-05-25 14:19:51

From: GoF
Freddy = Encryption.

Way different.
not really. Both serve the same point, to hide code.

Bobarkinator

2008-05-25 14:27:57

From: Mylesmadness
not really. Both serve the same point, to hide code.


But by different means.

Smartzkid

2008-05-27 19:49:16

And here we have a good example why you don't obfuscate stuff unless it's absolutely necessary:

[Error] (2:2082): Semicolon (';') expected

Simple error, but I can't fix it, 'cause I'm not gonna waste my time deobbing the whole thing.

mastaraymond

2008-05-28 13:18:44

From: Smartzkid
And here we have a good example why you don't obfuscate stuff unless it's absolutely necessary:

[Error] (2:2082): Semicolon (';') expected

Simple error, but I can't fix it, 'cause I'm not gonna waste my time deobbing the whole thing.

Haha, I've uploaded the right one several times though, just never on this topic :p. Will do it, 1 moment.

EvilChicken!

2008-05-28 13:55:27

Raymond, is this script really supposed to be unobfuscated?

mastaraymond

2008-05-29 11:11:53

From: EvilChicken!
Raymond, is this script really supposed to be unobfuscated?

Yeah can't be bothered to update it or whatsoever.. So go ahead.

GoF

2008-05-29 11:39:06

From: Mylesmadness
not really. Both serve the same point, to hide code.


Encryption actually makes it unreadable. You can just search for GetPages and edit a few booleans and you'll most likely remove all security stuffs :p

MylesMadness

2008-05-29 16:39:21

Im 99% sure the star's stress miner is not Encrypted. And star raves on how hard it is to crack.

Daniel

2008-05-30 02:34:01

From: Mylesmadness
Im 99% sure the star's stress miner is not Encrypted. And star raves on how hard it is to crack.

It is encrypted, by Freddy. But i don't see how come he doesn't release all his tools such as FARG (Freddy's Advanced RSS Generator) as i can see in the RSS Import files. As i also believe, Freddy would use a tool to encrypt star's script as i don't think he would try to encrypt a script that has over 3k lines (i think, never tried/used star's stresss miner).

BTW, Gj Ray!

mastaraymond

2008-05-30 13:02:29

From: Mylesmadness
Im 99% sure the star's stress miner is not Encrypted. And star raves on how hard it is to crack.

I'm 100% sure it is.. And on top of that encryption star used obfuscation..

Daniel

2008-05-30 20:24:21

o_O Semicolon expected in script. Right now i am de-obfusactoring it. About half-way through the script now.

MylesMadness

2008-05-30 21:12:04

Um its de-obfuscated already…

Daniel

2008-05-30 22:39:04

From: Mylesmadness
Um its de-obfuscated already…


It is? I just downloaded it yesterday. I downloaded the Published one.

mastaraymond

2008-05-31 08:24:18

From: IP-Drowner
It is? I just downloaded it yesterday. I downloaded the Published one.

I gave the un-obfuscated one for phr33 :rolleyes:

Harry

2008-05-31 08:26:43

No Raymond, if someone wants they can just go to your 1k post thread and pwn it there :) Don't need any Registered Users to get t3h c0de :o

Freddy1990

2008-05-31 17:23:44

From: IP-Drowner
But i don't see how come he doesn't release all his tools such as FARG (Freddy's Advanced RSS Generator) as i can see in the RSS Import files.


First off all, it's "Freddy1990's RSS Parser".
I don't release it because 1 it's not a "tool" as you so bluntly call it, it's a part of the cms system I wrote for my site. And 2 because I don't wan't to release it as there's absolutely no reason to seeing my cms system is customized for my site so it's virtually useless to anyone else.
And finally, I don't see how it related in any way to this topic.

Ron

2008-07-24 12:28:59

cool an obfuscator! I attempted to make one 4 or 5 months ago but my motivation then and now isn't as high as it was when I first joined the community lol.

Anyway, I tried to run your script but I keep getting errors. I had to run the script twice to be able to see the form lol. I'm sure it will be great once you finish it. :)

mastaraymond

2008-07-25 05:09:11

From: Ron
cool an obfuscator! I attempted to make one 4 or 5 months ago but my motivation then and now isn't as high as it was when I first joined the community lol.

Anyway, I tried to run your script but I keep getting errors. I had to run the script twice to be able to see the form lol. I'm sure it will be great once you finish it. :)

It used to work good, but it's just quite outdated at the moment and scar has updated some stuff that makes it not wanne compile :(.

Ron

2008-07-29 13:37:08

Are you going to update it?

Hugolord

2008-07-29 13:45:23

From: Mylesmadness
Im 99% sure the star's stress miner is not Encrypted. And star raves on how hard it is to crack.


It is. I bought it, but Star scammed me :mad: .

mastaraymond

2008-07-29 14:20:09

From: Ron
Are you going to update it?

I dont think so :p

Laur€ns

2008-08-07 08:27:28

It just poops out a little f..



Successfully compiled (809 ms)
[Runtime Error] : Could not call proc in line 130 in script C:\DOCUME~1\Eigenaar\LOCALS~1\Temp\Obfusactore.scar
Successfully compiled (398 ms)
A error, sorry ^^
[Runtime Error] : Exception: Access violation at address 00406C13 in module 'scar.exe'. Write of address FFFFFFFC in line 1530 in script C:\DOCUME~1\Eigenaar\LOCALS~1\Temp\Obfusactore.scarSuccessfully compiled (809 ms)
[Runtime Error] : Could not call proc in line 130 in script C:\DOCUME~1\Eigenaar\LOCALS~1\Temp\Obfusactore.scar
Successfully compiled (398 ms)
A error, sorry ^^
[Runtime Error] : Exception: Access violation at address 00406C13 in module 'scar.exe'. Write of address FFFFFFFC in line 1530 in script C:\DOCUME~1\Eigenaar\LOCALS~1\Temp\Obfusactore.scar

GoF

2008-08-07 10:27:17

I recall it intentionally giving a couple errors then working. I could be wrong though.