Page 1 of 1

How to get source code from the cap file

Posted: Tue Mar 15, 2016 3:42 am
by leogen
I am given a CAP file. Is there any way to get source code from the cap file ?

Re: How to get source code from the cap file

Posted: Sat Mar 19, 2016 2:23 am
by gorgekin
IMO, there is NO way to do this!

Re: How to get source code from the cap file

Posted: Tue Oct 10, 2017 1:41 am
by gandalf
as i know, there is a component named normalizer in JCKit3 (located in tools.jar) can generate some kind of .class file(s) as inter-midia.

maybe you can use this tool as a start point. refer to <JCDevKitUG-Classic-3_0_4.pdf> chapter 6.

and, i googled at 2011 or more earlier, there is an open source project hosted in code.google.com, can do this job, but it only existed in the google's cache. so i failed to checkout it.

Re: How to get source code from the cap file

Posted: Thu Oct 19, 2017 5:50 am
by javacardx
It's possible in theory.
If the cap file without the DEBUG component,the decompiling source(.java) files will lost many informations.
It will be difficult to read or understand.

Re: How to get source code from the cap file

Posted: Tue Apr 10, 2018 3:34 pm
by sfinks