亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

java - 想請(qǐng)教一下如何做class文件破損
大家講道理
大家講道理 2017-04-18 10:34:21
0
2
346

有需求,要做破損項(xiàng)。大概就是加內(nèi)部類,然后破壞內(nèi)部類的 class 文件,使其反編譯時(shí)連帶外部類都不可見(jiàn)。試試找找折騰了一個(gè)下午,沒(méi)得出個(gè)結(jié)果。

就是想問(wèn)一下,一般都是改哪幾個(gè)字節(jié)的?先謝過(guò)為敬

大家講道理
大家講道理

光陰似箭催人老,日月如移越少年。

reply all(2)
PHPzhong

It can indeed be achieved. But the probability is low, and the specific reasons are not very clear.

伊謝爾倫

Is this possible? There are standards for class bytecode. As long as the jvm knows your class, it must be decompiled.

proguard 代碼混淆工具,這種呢也是可以反編譯的,不過(guò)非常難讀。
還有一種方式就是將class/jar文件加密,自定義ClassLoader實(shí)現(xiàn)在加載classDecrypt before loading.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template