1

I have one exe file, that is packed by Tool Jar2exe. Can anyone help me to Convert it to jar file or is it possible or not ? Below is the link of that file .

http://www.mediafire.com/?eh7dmuy9vxd9m3w

4

3 Answers 3

2

Have you tried using an archiving program such as 7-zip or winzip to open up the file, then extracting the .class files?

5
  • I somehow doubt the fact that 7zip can actually extract from exe files. :)
    – user520288
    Commented Mar 24, 2012 at 21:24
  • Sure it can - superuser.com/questions/57898/… Commented Mar 24, 2012 at 21:27
  • wow, didn`t know this. thanks for the link, i take back what i said earlier.
    – user520288
    Commented Mar 24, 2012 at 21:30
  • I have tried 7-zip its giving .class file of packer tool . not original source . Commented Mar 24, 2012 at 21:31
  • Then you'll need a decompiler of some sort - try JAD - java.decompiler.free.fr Commented Mar 24, 2012 at 21:35
1

If those are truly binaries, then you are screwed and nothing else besides some serious reverse engineering is going to help you.

Chances however are that the exe file will contain the class files nicely packed together. Then just try to open it in 7-ZIP or similar and see if that works out.

5
  • i extract it with winrar but its not giving jar file its giving any packer tool jar2 exe details of regex lab . any other way to do ? Commented Mar 24, 2012 at 21:29
  • I don't want to extract , Actually i want this file to convert to jar file back . it can be done any advice ? Commented Mar 24, 2012 at 22:09
  • From the Jar2Exe homepage: Another important feature to be mentioned is the ability to hide the class files and even encrypt them. The encrypted files are decrypted at run time. This prevents the code from being reverse engineered to a certain extent. So buddy, maybe you are out of luck. Commented Mar 24, 2012 at 22:12
  • at run time any option to do this ? :( Commented Mar 24, 2012 at 22:19
  • You mean something like "grab the bytecode from JVM when it's executing"? Doubt it... Commented Mar 24, 2012 at 22:32
1

if 7-zip doesnt work or just show libs but not main jar it means the option " hide /encrypt " was used. Hence you need to use winhex, ollydbg and ressource hacker and you'r good to go http://reverseengineeringtips.blogspot.fr/2014/12/unpacking-jar2exe-21-extracting-jar.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.