GBlog icon indicating copy to clipboard operation
GBlog copied to clipboard

使用开源程序破解最新版Navicat(macOS版)

Open zhaoolee opened this issue 6 years ago • 0 comments

Navicat 最新版下载地址: https://www.navicat.com/en/download/navicat-premium

image

安装Navicat

image

安装破解依赖包

brew install openssl
brew install capstone
brew install keystone
brew install rapidjson
brew install libplist

没有安装brew的可以通过/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 安装

获取github开源程序, 编译开源程序, 获取破解文件 navicat-keygen navicat-patcher

git clone -b mac --single-branch https://github.com/DoubleLabyrinth/navicat-keygen.git
cd navicat-keygen
make all
cd ./bin
ls

make_all

删除Keychain Access.app内Navicat相关的信息(如果以前没有安装过Navicat, 这一步可以跳过)

以上gif图中, 作者在Keychain中输入了navi查找navicat相关的信息(怕删错可以输入navicat), 并进行了删除

使用刚刚生成的navicat-patcher替换Navicat的公钥

./navicat-patcher /Applications/Navicat\ Premium.app/

生成一份自签名的代码证书,并总是信任该证书

ca

  • 打开Keychain Access

  • 点击 Create a Certificate Authority

  • 创建证书

  • 找到刚刚创建的证书, 并双击进行设置 image

  • 设置总是信任证书

  • 如果需要指纹验证或密码验证, 填写正确就好~

使用codesignNavicat Premium.app重签名

codesign -f -s "zhaoolee_aca" /Applications/Navicat\ Premium.app/

断开互联网连接, 使用navicat-keygen来生成 序列号 和 激活码

  • 一个演示完整激活过程的gif图

激活完成

zhaoolee avatar Oct 22 '19 00:10 zhaoolee