有需求,要做破损项。大概就是加内部类,然后破坏内部类的 class 文件,使其反编译时连带外部类都不可见。试试找找折腾了一个下午,没得出个结果。
就是想问一下,一般都是改哪几个字节的?先谢过为敬
光阴似箭催人老,日月如移越少年。
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 代码混淆工具,这种呢也是可以反编译的,不过非常难读。还有一种方式就是将class/jar文件加密,自定义ClassLoader实现在加载classDecrypt before loading.
proguard
ClassLoader
class
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
代码混淆工具,这种呢也是可以反编译的,不过非常难读。还有一种方式就是将class/jar文件加密,自定义
ClassLoader
实现在加载class
Decrypt before loading.