SRL Archive - Java Help and Tutorials

Decompiling and deobfuscating RSC


Capricorn

2009-11-15 18:56:10

How do I go about doing this? I have all the class files here right now.

YoHoJo

2009-11-15 19:02:07

Try asking at http://www.moparisthebest.com/smf/index.php they specialize in Java and client stuff. Itd be sweet if we got a RSC java bot going! :D But SCAR scripts for rsc would be just as awesome!

Capricorn

2009-11-15 19:05:04

Yeah, it would be pretty cool. Ill leave this for a while because I don't remember my account for mopar lol :P

Method

2009-11-15 19:14:01

JAD and JODE both decompile decently.

For a deobfuscator, try this one.

Capricorn

2009-11-16 02:06:03

The decompilers worked fine but the deobfuscator spit out a bunch of main errors.

Thanks for the help though.

Method

2009-11-16 09:36:59

And those errors were??

Capricorn

2009-11-16 19:14:29

Exception in thread "main" java.lang.NoClassDefFoundError: com/esk/deob/Main
Caused by: java.lang.ClassNotFoundException: com.esk.deob.Main
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
Could not find the main class: com.esk.deob.Main. Program will exit.

I don't know, maybe I am missing something :P

ZaSz

2009-11-16 19:21:33

Hmm, if we can read the client, then that may be the way to get past the blasted fatigue!

Method

2009-11-16 21:17:06

From: Capricorn
Exception in thread "main" java.lang.NoClassDefFoundError: com/esk/deob/Main
Caused by: java.lang.ClassNotFoundException: com.esk.deob.Main
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
Could not find the main class: com.esk.deob.Main. Program will exit.

I don't know, maybe I am missing something :P


It seems like the class files don't exist for some reason. Try compiling the application.

Capricorn

2009-11-16 21:29:54

Well in the folder deob/com/esk/deob/ there are is four files, main.class, main.java, transform.java and transform.class

But ill recompile them and see if that fixes it.

arash

2009-11-16 21:48:21

Let's all use cookie cutter debuggers, and deobfuscators thinking that they will work perfectly for every single RS release, as opposed to doing it the correct way.

Great Idea :)

super_

2009-11-23 11:11:33

there are no public good deobfuscators, however, frank_ has been working on one for a while… but don't count on it lol because there's no insurance.

super_

2009-12-11 20:07:25

From: arash
Let's all use cookie cutter debuggers, and deobfuscators thinking that they will work perfectly for every single RS release, as opposed to doing it the correct way.

Great Idea :)


and what do YOU, sitting on a high horse, propose? do you even understand how to reverse the obfuscation jagex applies?

JPHamlett

2009-12-11 21:23:15

try this

http://java.decompiler.free.fr/

arash

2009-12-20 11:23:05

Yes I do Eric.

super_

2009-12-20 19:31:52

From: arash
Yes I do Eric.


eric? since when is my name eric? and no, i highly doubt you do… mainly because you are just plain stupid.

arash

2009-12-25 00:20:11

I coded the internetz

Sex

2009-12-25 00:44:56

From: arash
I coded the internetz

No.
No you didn't.
That is plain idiocy.

Infantry001

2009-12-25 02:36:46

From: arash
I coded the internetz


Obvious troll is obvious.

arash

2009-12-26 15:31:39

From: Infantry001
Obvious troll is obvious.

Really I thought obvious trolls are not obvious…..

That statement right there is even more useless than my initial post which is ironic because you were criticizing it.

YOU FAIL

BobboHobbo

2009-12-27 00:33:33

From: arash
Really I thought obvious trolls are not obvious…..

That statement right there is even more useless than my initial post which is ironic because you were criticizing it.

YOU FAIL


Child.. leave the child be.

Infantry001

2009-12-27 21:30:14

From: arash
Really I thought obvious trolls are not obvious…..

That statement right there is even more useless than my initial post which is ironic because you were criticizing it.

YOU FAIL


Someone doesn't understand internet memes >_<