链接:https://pan.baidu.com/s/1jJiG2G2 密码:e9ne
先安装Charles,然后在终端中执行下面的命令即可实现破解。
charles=/Applications/Charles.app/Contents/Java/charles.jar
dir=charleshack
mkdir $dir
cd $dir
cat >> License.java <<EOF
package com.xk72.charles;
public final class License {
public static boolean a() { return true; }
public static String b() { return "http://www.gfzj.us"; }
public static String a(String name, String key) { return null; }
}
EOF
javac -encoding UTF-8 License.java -d .&& jar -uvf $charles com/xk72/charles/License.class
cd .. && rm -rf $dir
先安装Charles,然后在终端中执行下面的命令即可实现破解。
charles=/Applications/Charles.app/Contents/Java/charles.jar
dir=charleshack
mkdir $dir
cd $dir
cat >> License.java <<EOF
package com.xk72.charles;
public final class License {
public static boolean a() { return true; }
public static String b() { return "http://www.gfzj.us"; }
public static String a(String name, String key) { return null; }
}
EOF
javac -encoding UTF-8 License.java -d .&& jar -uvf $charles com/xk72/charles/License.class
cd .. && rm -rf $dir