本帖最后由 孤木落 于 2026-4-6 18:18 编辑
新版写字机软件卡密求助,经过一段时间的努力破解成功了
只说一下大概思路,因为确实简单,因为之前方向错了浪费了很多时间
核心激活窗口在rt.jar里,而不是Launcher_guard.jar(这里面的注册窗口就是干扰项)
具体怎么发现的呢?
因为install4j打包的jar可以调试,直接连idea调试就可以了,在swing的ui创建函数上打方法断点,查看调用栈
类搜索脚本如下
import os
import zipfile
from pathlib import Path
def find_class_in_jars(root_dirs, class_path="java/net/Network.class"):
matches = []
for root_dir in root_dirs:
root_path = Path(root_dir)
if not root_path.exists():
print(f"警告: 目录不存在,跳过 -> {root_dir}")
continue
for jar_file in root_path.rglob("*.jar"):
try:
with zipfile.ZipFile(jar_file, 'r') as zf:
if class_path in zf.namelist():
matches.append(str(jar_file))
print(f"找到: {jar_file}")
except Exception as e:
print(f"无法读取 {jar_file}: {e}")
return matches
if __name__ == "__main__":
# 你要扫描的目录列表
directories = [
r"C:\Users\lenovo\Desktop\奎享雕刻\jre\lib",
r"C:\Users\lenovo\Desktop\奎享雕刻\Launcher_lib"
]
target_class = "java/net/Network.class"
print(f"正在搜索类: {target_class}")
results = find_class_in_jars(directories, target_class)
if results:
print("\n找到包含该类的 JAR 文件:")
for r in results:
print(f" {r}")
else:
print("\n未找到包含该类的 JAR 文件。")
本质就是把安装时间当作机器码,算两次md5得到激活码
吐槽:感觉windows上的java debugger没有android上的好用(说的就是你frida)
成品见附件:
Keygen.zip
(23.22 KB, 下载次数: 267)
|