[Windows/Mac/Linux] UnsecureSWF 1.0 : remove junk code from your client

Posts 1–13 of 13 · Page 1 of 1
[Windows/Mac/Linux] UnsecureSWF 1.0 : remove junk code from your client
The goal of this tool is to disassemble the rotmg game client in order to clean if from junk code.
Junk code is inserted by secureSWF so i named this tool like this


INSTRUCTIONS:
- Download and extract all the files to any folder
- Launch the Jar using the launch.cmd command on Windows, or using the terminal on Linux & MacOS
- This program require requires java 1.7 or above.
- Instructions are written on the interface. No config, no complication. You run, you drag swf, you click

* If you dont plan to mess with the client code, dont download this ! Its a tool for advanced users
* Needless to say, this is useless on nilly's clients since she remove the junk with her own secret tool.
* This tool DOES NOT deal with name obfuscation, also known as the "_-XX" crap. Check on cybershadow github for that.
* This tool DOES NOT WORK if you have a SPACE in either:
-> the path/name of the SWF
->
the path/name of Unsecureswf folder


UnsecureSWF_mpgh.net.zip1.2 MB · 72 downloads 1/54 malicious
inb4 the junk code algorithm changes every version now.
Looks nicely implemented I'm just worried :/

How did you do your threading?
Quote Originally Posted by maat7043 View Post
inb4 the junk code algorithm changes every version now.
Looks nicely implemented I'm just worried :/

How did you do your threading?
algorithm comes from a paid product, so unless kebem paid for another...
Threading?

* a nested class for each threaded operation :

class DecompileTask extends SwingWorker.

*Call the thread under a button->actionperformed
DecompileTask DT = new DecompileTask;
Dt.execute

In DecompileTask class implement "doneInBackground" with all the stuff you need todo and "done" to fix your app (mostly gui)when the thread is finished (by error or normal ending)

Enjoy
Quote Originally Posted by JustAnoobROTMG View Post
algorithm comes from a paid product, so unless kebem paid for another...
Threading?

* a nested class for each threaded operation :

class DecompileTask extends SwingWorker.

*Call the thread under a button->actionperformed
DecompileTask DT = new DecompileTask;
Dt.execute

In DecompileTask class implement "doneInBackground" with all the stuff you need todo and "done" to fix your app (mostly gui)when the thread is finished (by error or normal ending)

Enjoy
I assume the paid product has options and setting though based on your application. Hopefully you are right.
Thanks. I will have to do a speed comparison to see who's is the fastest :P

My first attempt with no threading took so long to run lol
Quote Originally Posted by maat7043 View Post
My first attempt with no threading took so long to run lol
Lol. Actually i dejunk one file at a time (this is easier to update the progress bar ) and it seems fast enough.
Quote Originally Posted by JustAnoobROTMG View Post
Lol. Actually i dejunk one file at a time (this is easier to update the progress bar ) and it seems fast enough.
Same. Less than a 1:30 sec for full rename/dejunk/+other manipulations which I don't think is unreasonable. One thing that we could do to speed up process is to do all the manipulations in memory rather than writing/reading from files on the hard drive. That would require one to make a library of the D rabcdasm source or a rewrite into another language. Not something I'm interested in doing though.
//Approved
What is this doing?
Quote Originally Posted by Chreyne View Post
What is this doing?
logs you off from mpgh, you should use it.
Quote Originally Posted by nilly View Post
Same. Less than a 1:30 sec for full rename/dejunk/+other manipulations which I don't think is unreasonable. One thing that we could do to speed up process is to do all the manipulations in memory rather than writing/reading from files on the hard drive. That would require one to make a library of the D rabcdasm source or a rewrite into another language. Not something I'm interested in doing though.
Like JNoob said. Fast enough

My first try I was doing a lot of unnessecary writing to the harddrive which I have since fixed
Is there actually any advantage in removing the 'junk code'? Like causing the game to load faster at start up? Would be cool.
Quote Originally Posted by Roguea View Post
Is there actually any advantage in removing the 'junk code'? Like causing the game to load faster at start up? Would be cool.
Not really. Its purely for hack makers. It only reduce the client size for something like 300k BUT make the code so easier to follow

Quote Originally Posted by nilly View Post
Same. Less than a 1:30 sec for full rename/dejunk/+other manipulations which I don't think is unreasonable. One thing that we could do to speed up process is to do all the manipulations in memory rather than writing/reading from files on the hard drive. That would require one to make a library of the D rabcdasm source or a rewrite into another language. Not something I'm interested in doing though.
I make a backup of the file ,but when it comes to pure dejunkung i load the whole file as an Arraylist<String> and i work in memory
Posts 1–13 of 13 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?