一键破解脚本
./crack.sh
➜ aspose-words ./crack.sh
==> 官网下载
==> 用7z命令删除jar内的META-INF文件夹
7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=utf8,Utf16=on,HugeFiles=on,64 bits,8 CPUs x64)
Open archive: aspose-words-20.12-jdk17.jar
--
Path = aspose-words-20.12-jdk17.jar
Type = zip
Physical Size = 15438168
Updating archive: aspose-words-20.12-jdk17.jar
Items to compress: 0
Files read from disk: 0
Archive size: 14653666 bytes (14 MiB)
Everything is Ok
==> 执行破解,生成类
==> 用jar命令更新jar内的类
替换前
912 Wed Dec 09 10:56:16 CST 2020 com/aspose/words/internal/zzZDZ.class
22168 Wed Dec 09 10:56:16 CST 2020 com/aspose/words/zzZDZ.class
正在添加: com/aspose/words/zzZDZ.class(输入 = 21850) (输出 = 9296)(压缩了 57%)
替换后
912 Wed Dec 09 10:56:16 CST 2020 com/aspose/words/internal/zzZDZ.class
21850 Tue Jan 05 11:04:12 CST 2021 com/aspose/words/zzZDZ.class
==> 重命名
==> 测试转换
convert cost 2363ms