Thread: How to obfuscate your client.jar

Page 1 of 3 123 LastLast
Results 1 to 10 of 29
  1. #1 How to obfuscate your client.jar 
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    R-S Admin Response  General Details
    What will obfuscating my .jar do for me?
    Well its obviously not gonna be a feature people will notice, but its more like something to protect your client with, to prevent people from just plain downloading your .jar and decompiling it and stealing your files which could be used for cheat engines and such or just plain leech stuff your client has.

    This should probably go to the client section, but eh.. i came here first so who cares.

    Difficulty: 3/10

    Requirements:
    - A Brain
    - Java
    - Jarmaker
    - Proguard


    Spoiler for Jarring the client:
    First of all, you're gonna want to jar your clients.
    This is the tutorial i used when i was clueless, so hopefully this'll also help you.

    http://www.rune-server.org/runescape...-detailed.html

    If not, i'll add my own jarring tutorial for the basic 317 clients upon request

    NOTE: If you plan to use this .jar as your webclient, sign the .jar after you've obfuscated it.


    Spoiler for Downloading and Running Proguard:
    After you've jarred your client download this Download ProGuard Java Optimizer and Obfuscator from SourceForge.net

    Save it somewhere you'll know where to find it and then open it after you've successfully downloaded it

    You'll have a group of files/folders like this when you've opened it


    After opening it, you'll then wanna start up the program by going to the bin folder then double clicking proguardgui.bat which'll open a new window looking like this


    This is the program that we will be using to obfuscate your client.jar


    Spoiler for Adding the input and outputs:
    On the left hand side of the window, you'll see multiple tabs, click the input/output tab, it should then show this window on proguard


    On the right hand side of the input/output tab, you'll find several other tabs, we'll only be using the add input and add output tabs so dont worry about the rest

    In this window, we will be inputting your .jar's location and outputting where the obfuscated version of your .jar would be going to

    So for example, my .jar is currently on my desktop named DivineFate.jar

    We would click on the add input tab which brings the window to search your computer, find where your created .jar is saved


    After that, click the add output tab, specify what you would want to save it as, in my case ill be saving it as ClientObfuscated.jar and then select the destination where you would like the obfuscated version of your .jar to save to, i'll be saving it to my desktop as an example


    After you've added the input and output, you'll be finished with the input/output tab of proguard.


    Spoiler for Manifesting in Obfuscation tab:

    You'll then have to go to the obfuscation tab which'll display this window


    Ignore everything on there, you'll only need to concentrate on this section


    Click the Add button on the window


    Another screen will then pop up. in this screen you'll be specifying your clients manifest, use whatever you used when you jarred your client
    place the main class to manifest here and then simply press ok at the bottom of that window



    Spoiler for Final step, processing:

    After you've done everything i've mentioned, go to the process tab on the left hand side. it should open a window like this


    Simply hit process at the bottom right of the window and it'll begin obfuscating your client.jar

    It will show the text i boxed followed by it saying it successfully processed if obfuscating your client is successful
    Reply With Quote  
     


  2. #2  
    Chemist

    Advocatus's Avatar
    Join Date
    Dec 2009
    Posts
    2,622
    Thanks given
    201
    Thanks received
    813
    Rep Power
    1462
    Wow. You should add img tags and spoilers, because currently it looks like a huge ugly block of text. Also, you really should get a moderator to move this to the client section.
    Quote Originally Posted by blakeman8192 View Post
    Quitting is the only true failure.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    Quote Originally Posted by Advocatus Diaboli View Post
    Wow. You should add img tags and spoilers, because currently it looks like a huge ugly block of text. Also, you really should get a moderator to move this to the client section.
    Yeap, I totally agree. Had 20 mins to do this, so I didnt wanna waste time uploading things to photobucket and use img tags with it, as I'm not sure if img tags work with the prntscrn formatted images. I'll reorganize it at a later time
    Reply With Quote  
     

  4. #4  
    « Pokémon Master »
    Ash Ketchum's Avatar
    Join Date
    Jun 2011
    Age
    29
    Posts
    1,423
    Thanks given
    275
    Thanks received
    153
    Rep Power
    39
    Quote Originally Posted by Karma_K View Post
    Yeap, I totally agree. Had 20 mins to do this, so I didnt wanna waste time uploading things to photobucket and use img tags with it, as I'm not sure if img tags work with the prntscrn formatted images. I'll reorganize it at a later time
    Pretty sure it should work, img tags work with puush at least, should work with prntscrn. This is great tho. I'll probably end up doing this. Thanks
    Attached image
    Spoiler for Galkon:

    Spoiler for Great Quotes:
    Quote Originally Posted by i am prod View Post
    **** YOU this just erased everyones passwords and no one can log in!!!
    Quote Originally Posted by blade2 View Post
    did i ****ing say it was a ****ing virus u dip shit i said virus scan dont scan java files i didn't say its a virus... l2****ingreadkid
    Spoiler for (╯°□°)╯︵┻━┻:
    Reply With Quote  
     

  5. #5  
    Logic - Numbers 🎧
    iLLuZi0nZ's Avatar
    Join Date
    Sep 2012
    Posts
    161
    Thanks given
    24
    Thanks received
    23
    Rep Power
    32
    thanks will use
    Reply With Quote  
     

  6. #6  
    Registered Member Chars's Avatar
    Join Date
    Aug 2013
    Posts
    142
    Thanks given
    5
    Thanks received
    13
    Rep Power
    58
    Thanks, I'll be sure to use this. (:


    Reply With Quote  
     

  7. #7  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    Test

    Reply With Quote  
     

  8. #8  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    Quote Originally Posted by Advocatus Diaboli View Post
    Wow. You should add img tags and spoilers, because currently it looks like a huge ugly block of text. Also, you really should get a moderator to move this to the client section.
    there, purty now? ill change the images when im back on a computer.
    Reply With Quote  
     

  9. #9  


    RS Wiki's Avatar
    Join Date
    Mar 2011
    Age
    29
    Posts
    9,688
    Thanks given
    1,752
    Thanks received
    3,103
    Rep Power
    5000
    what about jshrink, simple af to use
    All the best,
    Wiki




    coming soon
    Reply With Quote  
     

  10. #10  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    Quote Originally Posted by RS Wiki View Post
    what about jshrink, simple af to use
    I'm only promoting a program I am familiar with. That might be true, but I'm not familiar with jshrink. Doesn't matter either way, they'll accomish the same things won't they.
    Reply With Quote  
     

Page 1 of 3 123 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 95
    Last Post: 06-17-2012, 11:25 PM
  2. Replies: 23
    Last Post: 05-22-2010, 02:35 PM
  3. how to make your client ONLY connect to your server
    By LastResortpkz in forum Tutorials
    Replies: 5
    Last Post: 07-10-2008, 08:13 PM
  4. How to Resize your client!
    By btbtbtbt in forum Tutorials
    Replies: 1
    Last Post: 01-07-2008, 07:22 AM
  5. How to ake your client uneditable(in the server).
    By newservermaker in forum Tutorials
    Replies: 16
    Last Post: 09-29-2007, 05:03 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •