Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #2843

Re: Finally java class file encryption possible.

Newsgroups comp.lang.java.help
Date 2013-10-30 10:40 -0700
References (1 earlier) <j3e2ka-878.ln1@s.simpson148.btinternet.com> <85e67187-df89-47ff-9f44-d486b846b421@googlegroups.com> <u1p5ka-tt6.ln1@s.simpson148.btinternet.com> <9611b714-c4c1-42e3-80dc-edd2f1939b36@googlegroups.com> <bmf7ka-is7.ln1@s.simpson148.btinternet.com>
Message-ID <db658622-4627-4f2e-9c17-2d76cb6400ca@googlegroups.com> (permalink)
Subject Re: Finally java class file encryption possible.
From Java Encryptor <java.encryptor@gmail.com>

Show all headers | View raw


On Wednesday, October 30, 2013 7:24:51 PM UTC+5:30, Steven Simpson wrote:
> On 30/10/13 12:38, Java Encryptor wrote:
> 
> > I have updated the files with two versions of exe files.
> 
> > 32 bit version and 64 bit version.
> 
> 
> 
> Now it works, thanks.
> 
> 
> 
> However, I've managed to obtain classfiles for One, Two, Three and even 
> 
> VinZipCryptClassesLoader, by injecting a dump into one of the 
> 
> defineClass methods of java.lang.ClassLoader (which Daniel Pitts 
> 
> suggested).  It wasn't a lot of effort.  Isn't this what you are trying 
> 
> to avoid?
> 
> 
> 
> Here's a snippet of the output of "javap -verbose One":
> 
> 
> 
> Classfile One.class
> 
>    Last modified 30-Oct-2013; size 601 bytes
> 
>    MD5 checksum 09d43a1e5d0013dcc26748271dd675b8
> 
>    Compiled from "One.java"
> 
> public class One
> 
>    SourceFile: "One.java"
> 
>    minor version: 0
> 
>    major version: 51
> 
>    flags: ACC_PUBLIC, ACC_SUPER
> 
> Constant pool:
> 
>     #1 = Class              #21            //  One
> 
>     #2 = Methodref          #1.#22         //  One."<init>":()V
> 
>     #3 = Methodref          #12.#22        //  java/lang/Object."<init>":()V
> 
>     #4 = Class              #23            //  javax/swing/JFrame
> 
>     #5 = Methodref          #4.#22         //  javax/swing/JFrame."<init>":()V
> 
>     #6 = String             #24            //  Hello! We are in class One.
> 
>     #7 = Methodref          #25.#26        //  javax/swing/JOptionPane.showMessageDialog:(Ljava/awt/Component;Ljava/lang/Object;)V
> 
>     #8 = Class              #27            //  Two
> 
>     #9 = Methodref          #8.#22         //  Two."<init>":()V
> 
>    #10 = String             #28            //  We are back in class One from Class Two-Three.
> 
> 
> 
> etc...
> 
> 
> 
> 
> 
> -- 
> 
> ss at comp dot lancs dot ac dot uk

Thanks,

So basically there is no way we can prevent our class from de-compiling.

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Finally java class file encryption possible. Java Encryptor <java.encryptor@gmail.com> - 2013-10-25 02:16 -0700
  Re: Finally java class file encryption possible. Roedy Green <see_website@mindprod.com.invalid> - 2013-10-25 04:08 -0700
    Re: Finally java class file encryption possible. Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2013-10-25 16:21 +0300
      Re: Finally java class file encryption possible. Java Encryptor <java.encryptor@gmail.com> - 2013-10-27 06:40 -0700
    Re: Finally java class file encryption possible. Java Encryptor <java.encryptor@gmail.com> - 2013-10-27 06:37 -0700
      Re: Finally java class file encryption possible. Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-10-27 10:25 -0700
        Re: Finally java class file encryption possible. Java Encryptor <java.encryptor@gmail.com> - 2013-10-28 05:52 -0700
  Re: Finally java class file encryption possible. Steven Simpson <ss@domain.invalid> - 2013-10-28 15:57 +0000
    Re: Finally java class file encryption possible. Java Encryptor <java.encryptor@gmail.com> - 2013-10-29 11:30 -0700
      Re: Finally java class file encryption possible. Steven Simpson <ss@domain.invalid> - 2013-10-29 22:22 +0000
        Re: Finally java class file encryption possible. Java Encryptor <java.encryptor@gmail.com> - 2013-10-30 05:38 -0700
          Re: Finally java class file encryption possible. Steven Simpson <ss@domain.invalid> - 2013-10-30 13:54 +0000
            Re: Finally java class file encryption possible. Java Encryptor <java.encryptor@gmail.com> - 2013-10-30 10:40 -0700
              Re: Finally java class file encryption possible. Joerg Meier <joergmmeier@arcor.de> - 2013-10-30 19:17 +0100
                Re: Finally java class file encryption possible. markspace <markspace@nospam.nospam> - 2013-10-30 12:06 -0700
                Re: Finally java class file encryption possible. Joerg Meier <joergmmeier@arcor.de> - 2013-10-30 21:27 +0100
  Re: Finally java class file encryption possible. eduardo.coca.sola@gmail.com - 2014-02-12 03:21 -0800

csiph-web