JD-GUI 反编译
1、下载JD-GUI
2、运行 jd-gui.exe
3、选择 class、jar、war 文件
ProGuard-GUI 混淆
1、下载 ProGuard 的 Release,解压
2、运行 bin/proguardgui.bat
3、Input/Output -> Add input,添加待混淆jar
4、Input/Output -> Add input,指定输出文件的路径和文件名
5、Input/Output -> Add,添加待混淆jar 依赖的jar
6、Process -> Process!
ProGuard Maven插件 混淆
1、pom.xml
com.github.wvengen
proguard-maven-plugin
2.3.1
package
proguard
6.2.2
true
proguard
true
768m
-target 1.8
-ignorewarnings
-dontshrink
-dontoptimize
-useuniqueclassmembernames
-dontskipnonpubliclibraryclasses
-dontskipnonpubliclibraryclassmembers
-keepattributes Signature
-keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,*Annotation*,EnclosingMethod
-keepclassmembers enum com.qingzao.feiniao.** { *;}
-keep class **.mysql.**
-keep class com.qingzao.feiniao.pojo.** { *;}
-keep class com.qingzao.feiniao.FeiniaoApplication { public void init(); }
classes
com/qingzao/feiniao/**
${project.build.directory}
${project.build.finalName}-pg.jar
${java.home}/lib/rt.jar
net.sf.proguard
proguard-base
6.2.2
org.springframework.boot
spring-boot-maven-plugin
repackage
com.geekkeybo.weather.WeatherApplication
2、mvn clean package