Topic: 关于反编译的问题(手机中程序反编译却是a.class,b.class,c.class)

  Print this page

1.关于反编译的问题(手机中程序反编译却是a.class,b.class,c.class) Copy to clipboard
Posted by: Butterfly_125
Posted on: 2005-07-13 14:06

请使用准确的文字描述作为标题
Your next post without a proper Subject will be removed.

You should at least tell us which program you are using to 反编译,
perhaps attach the jar file[s) as well

Original subject :
帮个忙了~

我在把手机中的Java程序反编译出来了,看到的.class文件
却是a.class,b.class,c.class....这样的文件。昨天我又用了一个做.jar
电子书的软件(在手机上运行的),我把那个软件做好的.jar文件解压出来,
看到的还是a.class,b.class,c.class....这样的文件。这些.jar文件是用别的语言做出来,然后再转成java语言呢?
还是J2EE的什么标准?

2.Re:帮个忙了~ [Re: Butterfly_125] Copy to clipboard
Posted by: Butterfly_125
Posted on: 2005-07-13 18:48

为什么类名是a,b,c……?为了降低可读性吗?

3.Re:帮个忙了~ [Re: Butterfly_125] Copy to clipboard
Posted by: wmgreat
Posted on: 2005-07-13 19:17

就是为了防止楼主:)

4.Re:帮个忙了~(手机中程序反编译却是a.class,b.class,c.class) [Re: Butterfly_125] Copy to clipboard
Posted by: Butterfly_125
Posted on: 2005-07-13 21:40

哦?还真是为了这样?那这些是用一些软件来自动生成的吧。
不会是自己编完再改吧。
用什么软件可以改?

5.Re:帮个忙了~(手机中程序反编译却是a.class,b.class,c.class) [Re: Butterfly_125] Copy to clipboard
Posted by: ranchgirl
Posted on: 2005-07-14 09:41

It is called Obfuscator:
ProGuard, RetroGuard are all free to use. Do a google search, you will find them easily!

WTK can auto obfuscate the jar file before deploy. It is against your decompile to steal their source code. It also can reduce the size of the jar file, which is also very important for mobile devices.

I used ProGuard when I was developing mobile games.

Since the Obfuscator did such an excellent job, when you decompile them back to a.java, b.java, etc. and try to recompile them, you have very good chance to see compiler errors. This is because the decompiler get confused too. Even you are lucky enough to make the code recompilable, you need huge amount of time to understand the logic, since the code is absolutely unreadable.

The classes are called a, b, c..., the methods are called a(), b(), c(), ..., the method parameters, the instance variable and class static variables and the local variable of totally different types are all called a, b, c...everywhere.

Ha Ha Ha!
What an excellent job they are doing??? :; Smile Big Smile


The best advice to you: writing your own code will save your time than stealing other's code. It also sharps your skills and makes you more competant on the job market.

All the best to you and your thief/hacker friends!

6.Re:帮个忙了~(手机中程序反编译却是a.class,b.class,c.class) [Re: Butterfly_125] Copy to clipboard
Posted by: Butterfly_125
Posted on: 2005-07-14 13:35

Thank you very much,my friend-gongshi!
Your answer very very particular and excellent!!
你的英文也非常好,我自己也在编写一个游戏代码,想介鉴一下别人的代码。
所以才反编译一下看看。
有你的解答,我自己也知道怎么保护我的代码了。
万分感谢!!

7.Re:关于反编译的问题(手机中程序反编译却是a.class,b.class,c.class) [Re: Butterfly_125] Copy to clipboard
Posted by: ranchgirl
Posted on: 2005-07-14 14:01

Hey, Butterfly_125

My friend, indeed!

You have a good attitude, and did not get offended.

Good luck and have fun with your gaming business!

Thanks!

---gongshi

8.Re:关于反编译的问题(手机中程序反编译却是a.class,b.class,c.class) [Re: Butterfly_125] Copy to clipboard
Posted by: jigsaw
Posted on: 2005-07-16 20:15

反编译并读懂别人的代码也是提高自己水平的途径之一 而且我认为 在某种程度上比自己写更有效

9.Re:关于反编译的问题(手机中程序反编译却是a.class,b.class,c.class) [Re: jigsaw] Copy to clipboard
Posted by: ranchgirl
Posted on: 2005-07-16 22:06

jigsaw wrote:
反编译并读懂别人的代码也是提高自己水平的途径之一 而且我认为 在某种程度上比自己写更有效


Decompile one obfuscated mobile game, small and "easy". Try, you will know what you are talking about.

Hehehe, Do you need one to try? I can provide you one if you need.

Let me know how much time you get it recompiled, and 读懂 and even make improvement on it. Smile

Don't get me wrong, I think you can do it! The key is how much time you need, afford, and are willing to spend on it.

Why do I know this?
It is because I tried, and also know many of the tricks...Wink Smile Big Smile

10.Re:关于反编译的问题(手机中程序反编译却是a.class,b.class,c.class) [Re: gongshi] Copy to clipboard
Posted by: jigsaw
Posted on: 2005-07-18 14:37

gongshi wrote:
Decompile one obfuscated mobile game, small and "easy". Try, you will know what you are talking about.

Hehehe, Do you need one to try? I can provide you one if you need.

Let me know how much time you get it recompiled, and 读懂 and even make improvement on it. Smile

Don't get me wrong, I think you can do it! The key is how much time you need, afford, and are willing to spend on it.

Why do I know this?
It is because I tried, and also know many of the tricks...Wink Smile Big Smile


Big Smile 新人吧?呵呵 有空的话 多转转 看看我以前的贴子 你就知道我做过什么了


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923