Navicat Premiun 12破解教程

使用github上国人开发的破解工具:

https://github.com/DoubleLabyrinth/navicat-keygen

跟着中文版README,一步一步走下去即可完成破解,下面记录一下实操中遇到的问题。

1. 下载:下载64位的release版本,工具下载下来的目录:

2. 因为目录中已经有了RegPrivateKey.pem文件,担心该文件会被覆盖,所以执行的时候我就把第二个参数修改成了RegPrivateKey2.pem:

navicat-patcher.exe "C:\Program Files\PremiumSoft\Navicat Premium 12" .\RegPrivateKey2.pem

这时报错:

MESSAGE: Navicat.exe has been found.
MESSAGE: libcc.dll has been found.

MESSAGE: [Solution0] Keyword has been found: offset = +0x0297a6e0.
MESSAGE: [Solution1] Keywords[0] has been found: offset = +0x02057530.
MESSAGE: [Solution1] Keywords[1] has been found: offset = +0x006c4f89.
MESSAGE: [Solution1] Keywords[2] has been found: offset = +0x02057240.
MESSAGE: [Solution1] Keywords[3] has been found: offset = +0x006c4f6f.
MESSAGE: [Solution1] Keywords[4] has been found: offset = +0x0205722c.

@LoadKey LINE: 18
ERROR: cipher->ImportKeyFromFile failed.

 3. 分析:在github这个repo下搜索ERROR: cipher->ImportKeyFromFile failed,发现源码如下:

f (!Helper::ConvertToUTF8(filename, PrivateKeyFileName)) {
            REPORT_ERROR("ERROR: ConvertToUTF8 failed.");
            return FALSE;
        if (!cipher->ImportKeyFromFile<RSACipher::KeyType::PrivateKey, RSACipher::KeyFormat::PEM>(PrivateKeyFileName)) {
            REPORT_ERROR("ERROR: cipher->ImportKeyFromFile failed.");

初步分析后应该是文件名问题,重新执行命令,去掉第二个参数(该参数可选):

navicat-patcher.exe "C:\Program Files\PremiumSoft\Navicat Premium 12"

输出正常,成功产生.pem文件。

相关推荐
©️2020 CSDN 皮肤主题: 编程工作室 设计师:CSDN官方博客 返回首页