Author Topic: [Problem][Java] Need help to reverse the Password of this programme  (Read 1618 times)

0 Members and 1 Guest are viewing this topic.

Offline Raavgo

  • Peasant
  • *
  • Posts: 88
  • Cookies: 12
  • On my way from a n00b to a PRO
    • View Profile

This Programme has a password within it and I am unable to crack it.The access is only protected through a 6-digit code which is checked on clientside.


This is part of a wargame and I am unable to solve it at the moment but I am eager to learn maybe someone wants to set me on the right part.


regards
Raavgo
« Last Edit: July 10, 2013, 12:20:11 pm by Raavgo »

Offline Deque

  • P.I.N.N.
  • Global Moderator
  • Overlord
  • *
  • Posts: 1203
  • Cookies: 518
  • Programmer, Malware Analyst
    • View Profile
Re: [Problem][Java] Need help to reverse the Password of this programme
« Reply #1 on: July 10, 2013, 01:00:53 pm »
Get JAD: http://varaneckas.com/jad/

Look for the .jar file that has the main Java code. I guess it's Client.jar.
Unzip it.
Put the .class files into the same folder as jad
Run ./jad *.class

You will get a bunch of .jad files which is the decompiled Java code. Read them and look for the password.

Offline Raavgo

  • Peasant
  • *
  • Posts: 88
  • Cookies: 12
  • On my way from a n00b to a PRO
    • View Profile
Re: [Problem][Java] Need help to reverse the Password of this programme
« Reply #2 on: July 10, 2013, 01:05:40 pm »
Already did that stuff :( just don't get through the source code
the password is encoded within the programme
« Last Edit: July 10, 2013, 01:30:09 pm by Raavgo »

Offline bluechill

  • Cybermancer
  • Royal Highness
  • ****
  • Posts: 682
  • Cookies: 344
  • I am the existence in these walls
    • View Profile
Re: [Problem][Java] Need help to reverse the Password of this programme
« Reply #3 on: August 21, 2013, 01:35:28 am »
Already did that stuff :( just don't get through the source code
the password is encoded within the programme

If the password is checked client side, then that means it is either created/calculated or stored within the program, you just have to find that location.

Also, I recommend: http://java.decompiler.free.fr/?q=jdgui for a java decompiler.
I have dreamed a dream, but now that dream has gone from me.  In its place now exists my own reality, a reality which I have created for myself by myself.