ITT TECH student

10 views
Skip to first unread message

joshua tipke

unread,
Nov 11, 2015, 9:30:20 PM11/11/15
to dex...@googlegroups.com
Hi, 
My name is Josh Tipke and i have been trying to learn to use dex2jar for a class project in my bachelor program. Could you possibly help with a more direct showing on how to use and operate dex2jar for beginners?

I already have .jar file i am using for this just i'm kinda stuck at the remap part. I just don't know what i'm supposed to be looking at to put in the d2j-jar-remap -- rename package/class/method/field name in a jar

I would in your debt on how to proceed from this point.

Sincerely,
Joshua Tipke

Bob Pan

unread,
Nov 11, 2015, 10:11:48 PM11/11/15
to dex...@googlegroups.com
hi,

the d2j-jar-remap command is intended to de-obfuscate a jar.

de-obfuscate: everything is java world are opensource. and there are a lot of java decompilers. Shipping Java program directly is not safe. To protect the program, obfuscater like Proguard is used to prevent from reverse engineer.
Proguard rename the package/class/method/field names to a meaningless names like 'a', 'b', 'c'. which is hard to learn the program logical from names.
But still, we need reverse engineer the Java program, we have to de-obfuscate the program. the most simple way is to rename the meaningless names to a meaning name. For example, rename  a class named 'a' to 'Class_a', we can distinguish with a field that have a same name 'a'

there is an out-of-dated document about the command.

the command d2j-jar-remap is removed in the last dex2jar, because i have found the Proguard can also do the job.
   d2j-init-deobf is similar with the proguard is argument '-printmapping'
   d2j-jar-remap is similar with the Proguard's argument '-applymapping'

BR,
b0b


--
You received this message because you are subscribed to the Google Groups "dex2jar" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dex2jar+u...@googlegroups.com.
To post to this group, send email to dex...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages