Linux破解Navicat15

1.下载Navicat15

1
wget https://download.navicat.com.cn/download/navicat15-premium-cs.AppImage

2.文件处理

1
2
3
4
5
navy@DEEPIN:~/Desktopmkdir navicat15-premium-cs
navy@DEEPIN:~/Desktopsudo mount -o loop navicat15-premium-cs.AppImage  navicat15-premium-cs
navy@DEEPIN:~/Desktopcp -r navicat15-premium-cs navicat15-premium-cs-bak
navy@DEEPIN:~/Desktopsudo umount navicat15-premium-cs
navy@DEEPIN:~/Desktoprm -rf navicat15-premium-cs

3.安装依赖

1
sudo apt install libcapstone-dev cmake rapidjson-dev  openssl git

4.安装keystone

1
2
3
4
5
6
7
navy@DEEPIN:~/Desktop$ git clone https://github.com/keystone-engine/keystone.git
navy@DEEPIN:~/Desktop/keystonecd keystone
navy@DEEPIN:~/Desktop/keystonemkdir build
navy@DEEPIN:~/Desktop/keystonecd build
navy@DEEPIN:~/Desktop/keystone/build$ ../make-share.sh
navy@DEEPIN:~/Desktop/keystone/build$  sudo make install
navy@DEEPIN:~/Desktop/keystone/buildsudo ldconfig

5.安装navicat-keygen

1
2
3
navy@DEEPIN:~/Desktop$ git clone -b linux --single-branch https://gitee.com/andisolo/navicat-keygen.git
navy@DEEPIN:~/Desktopcd navicat-keygen
navy@DEEPIN:~/Desktop/navicat-keygenmake all

编译最后一步,进入navicat-keygen后make all报错

https://gitee.com/andisolo/navicat-keygen/issues/I18N2H

往上翻日志,看到编译过程输出error:

./common/RSACipher.hpp:112:2: error: #error "Unexpected openssl version!"
112 | #error "Unexpected openssl version!"
然后全局搜索代码,在navicat-keygen/common/RSACipher.hpp

#else
    return RSA_bits(Get()); // 增加这一行,就可以了    
// #error "Unexpected openssl version!" // 注掉这一行
#endif

 

 

6.通过navicat-patcher命令来修改原公钥

1
navy@DEEPIN:~/Desktop/navicat-keygen$ ./bin/navicat-patcher ../navicat15-premium-cs-bak/

7.下载打包工具

1
2
navy@DEEPIN:~/Desktop$ wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
navy@DEEPIN:~/Desktopchmod +x appimagetool-x86_64.AppImage

8.打包成新的app

1
navy@DEEPIN:~/Desktop$ ./appimagetool-x86_64.AppImage navicat15-premium-cs-bak/ navicat15-premium-cs-2.AppImage

9.运行新的app

1
2
navy@DEEPIN:~/Desktopsudo chmod +x ~/Desktop/navicat15-premium-cs-2.AppImage
navy@DEEPIN:~/Desktop$ ./navicat15-premium-cs-2.AppImag

点击注册

10.使用 navicat-keygen 来生成序列号和JH码

1
2
navy@DEEPIN:~/Desktopcd navicat-keygen
navy@DEEPIN:~/Desktop/navicat-keygen$ ./bin/navicat-keygen --text ./RegPrivateKey.pem

按提示选择Navicat产品类别(1.Premium)、Navicat语言版本(1.)和填写主版本号(15),随后生成一个序列号,输入用户名和组织,出现Input request code in Base64: (Double press ENTER to end)
保留界面,进入第11步。

11.软件界面注册

断开网络

输入上一步生成的Serial number

点击激活

提示激活失败,选择手动激活

复制请求码到第10步

回车两次生成激活码

复制navicat-keygen生成的激活码,在软件对话框里的激活码输入框里输入激活码完成激活

posted @ 2023-09-26 10:34  浮尘微光  阅读(1286)  评论(1编辑  收藏  举报