[TuT - A] [General] How to Decompile CLASS files!

Results 1 to 15 of 15
  1. #1
    I am THE DON Joe9099 is offline
    MemberRank
    Jan 2007 Join Date
    England, UkLocation
    3,655Posts

    [TuT - A] [General] How to Decompile CLASS files!

    Thread Type: Tutorial

    Description: How to decompile CLASS files..

    Difficulty: 2/10

    Download: http://www.bysoft.se/sureshot/cavaj/

    Ok lets start..
    (I know i made a tutorial before, but this is a different way of doing it, and my other one was simply using Javac and not really explained much)..

    Right lets say you want to edit a title on the loading screen in a HD client but you can't as it's a CLASS file and when you normally open CLASS files, they have [][][][][]133[][][] its all encrypted text, so no one can leech it and change it.

    But im going to show you how to simply bypass this.
    Firstly we are going to download the program called Cavaj, i have inserted a download link above.

    Then open Cavaj and you will see the window as shown below:



    Once opened, at the top left of it, you will see "File".
    Click that, then goto "Open".
    Then you will see a window like the one shown below.



    Ok i opened "Applet_Sub1.class" and i am now able to see all the text decrypted in that CLASS file.
    A picture is shown below...



    If you want to change something, it now gets a little tiny bit more difficult.
    Change what you want in that window, then copy ALL the text shown. (Just do CTRL+A)..
    Once it's all selected, you must now paste it into a new Notepad file.
    Save the Notepad file as Applet_Sub1.java Or whatever your using, to the DESKTOP!
    (Dont overwrite the old one)

    Ok now we have that done, we are going to compile it to turn it into a CLASS file.
    So simply goto "C:\Program Files\Java\jdk1.6.0_11\bin" (Thats where mine is)
    and in there will be a Application called JAVAC.
    We are going to use this to compile, its really easy to do.

    Once we are ready to compile, DRAG the Applet_Sub1.java into the directory where your JAVAC is and goto CMD. (I recommend you actually drag ALL files to your client files there, so you can compile without errors....)

    Ok then goto CMD and LOCATE to the Place where javac is.. "C:\Program Files\Java\jdk1.6.0_11\bin"
    If you dont know how to use CMD then Google it..

    Once you have located it, do JAVAC Applet_Sub1.java or whatever yours is called, it will then start compiling and hopefully without errors....

    Once compiled, you will see the file Applet_Sub1.CLASS somewhere in that directory.
    Then copy and replace it with the other one in the original client files..

    Hope this helps some people..

    - Joe
    Last edited by Joe9099; 05-05-09 at 02:52 PM.


  2. #2
    Member shivang1 is offline
    MemberRank
    Aug 2008 Join Date
    NCLocation
    65Posts

    Re: [Guide] How to Decompile CLASS files!

    Wow thanks!!!

  3. #3
    Member shivang1 is offline
    MemberRank
    Aug 2008 Join Date
    NCLocation
    65Posts

    Re: [Guide] How to Decompile CLASS files!

    uhhh what do i do after i download?? it keeps giving me error when i double click setup

  4. #4
    I am THE DON Joe9099 is offline
    MemberRank
    Jan 2007 Join Date
    England, UkLocation
    3,655Posts

    Re: [Guide] How to Decompile CLASS files!

    o_o np, and it works fine for me lol..?

  5. #5
    right + down + X GhostSnyper is offline
    MemberRank
    May 2006 Join Date
    AZ, USALocation
    2,818Posts

    Re: [Guide] How to Decompile CLASS files!

    Well this will work to some extent. As with all decompilers, there will be some errors in the files, as not every character is recognized by such programs

  6. #6
    Account Upgraded | Title Enabled! Brandon is offline
    MemberRank
    Aug 2006 Join Date
    Florida - U.S.ALocation
    1,090Posts

    Re: [Guide] How to Decompile CLASS files!

    Quote Originally Posted by ghostsnyper View Post
    Well this will work to some extent. As with all decompilers, there will be some errors in the files, as not every character is recognized by such programs
    I agree...It is totally unreliable.

  7. #7
    I am THE DON Joe9099 is offline
    MemberRank
    Jan 2007 Join Date
    England, UkLocation
    3,655Posts

    Re: [Guide] How to Decompile CLASS files!

    yes its very unreliable and u will get errors, but those who know how to fix will have no problem

  8. #8
    right + down + X GhostSnyper is offline
    MemberRank
    May 2006 Join Date
    AZ, USALocation
    2,818Posts

    Re: [Guide] How to Decompile CLASS files!

    This is only really to be used for the decompilation of the newest clients, for use of our servers

  9. #9
    I am THE DON Joe9099 is offline
    MemberRank
    Jan 2007 Join Date
    England, UkLocation
    3,655Posts

    Re: [Guide] How to Decompile CLASS files!

    yeh ghost indeed it is

  10. #10
    Novice ownertim is offline
    MemberRank
    May 2009 Join Date
    1Posts

    Re: [TuT - A] [General] How to Decompile CLASS files!

    link down pl0x!@?!?

  11. #11
    Novice donkeydude is offline
    MemberRank
    May 2009 Join Date
    1Posts

    Re: [Guide] How to Decompile CLASS files!

    site does not work!

  12. #12
    I am THE DON Joe9099 is offline
    MemberRank
    Jan 2007 Join Date
    England, UkLocation
    3,655Posts

    Re: [TuT - A] [General] How to Decompile CLASS files!

    Download link updated...

  13. #13
    Valued Member Gangstasl1 is offline
    MemberRank
    Aug 2007 Join Date
    EnglandLocation
    120Posts

    Re: [TuT - A] [General] How to Decompile CLASS files!

    Link dead...

    Edit -

    Well, the download link, on the link is dead. Lol.

  14. #14
    Novice k o l d is offline
    MemberRank
    Aug 2010 Join Date
    1Posts

    Re: [TuT - A] [General] How to Decompile CLASS files!

    Thanks, I used it do decompile a class file for a script for runescape, which had a killswitch in it incase the fishes that fished for prices dropped. I just wanted t remove that so it'd still work when he turned it off. He had gave the download as a class file instead of giving us the code. He said "Installed in the script is a killswitch that will eventually allow me to shut down the script." Which kinda pissed me off because he was going to make it to where we had to pay for the script, so I took the chance I was given, and I'm happy that I did. Thank you, I am very grateful.

  15. #15
    Apprentice Opsi1133 is offline
    MemberRank
    Sep 2008 Join Date
    17Posts

    Re: [TuT - A] [General] How to Decompile CLASS files!

    Thank you, great tut.



Advertisement