WebApp Sec mailing list archives

RE: how to convert JAR file to source code


From: admin () systemstates net
Date: Fri, 25 Apr 2008 07:51:20 -0700

-------- Original Message --------
Subject: how to convert JAR file to source code
From: Application Tester <vul.tester () gmail com>
Date: Fri, April 25, 2008 7:42 am
To: webappsec () securityfocus com

hi

Is there any free tool that can convert *.jar files to source code?

Thanks in advance
App. Tester.
[+ +]
   ^

IIRC, A jar file is basically a zip format file with .class files in.
So you should be able to unpack it using "jar -tvf" and then use a java
decompiler such as  http://www.kpdus.com/jad.html  to recover something
like the original source. (Won't be the original source, because 
information will have been lost in the compilation -> decompilation
process).

cheers,


(could be a tar format file instead of a zip, same difference)
-- 
www.systemstates.net - penetration test / IDS / incident response


-------------------------------------------------------------------------
Sponsored by: Watchfire 
Methodologies & Tools for Web Application Security Assessment 
With the rapid rise in the number and types of security threats, web application security assessments should be 
considered a crucial phase in the development of any web application. What methodology should be followed? What tools 
can accelerate the assessment process? Download this Whitepaper today! 

https://www.watchfire.com/securearea/whitepapers.aspx?id=70170000000940F
-------------------------------------------------------------------------


Current thread: