mac環境破解navicat premium 12.1

 

 

1. 下載破解工具 git

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

其中,navicat-keygen爲破解器;navicat-patcher爲補丁。補丁的意義在於navicat 12.1之後密鑰寫到二進制文件裏了。app

 ➜ navicat-keygen-mac tree -L 2工具

.
├── LICENSE
├── README.md
├── README.zh-CN.md
├── navicat-keygen
│   ├── 2048key.pem  私鑰
│   ├── Makefile
│   ├── main.cpp
│   ├── navicat-keygen  編譯生成
│   └── rpk   公鑰
└── navicat-patcher
├── Makefile
├── main.c
├── main.c.bak  備份
├── navicat-patcher  編譯生成
└── rpk  公鑰spa

 

2. 生成密鑰對, 而後將公鑰拷貝到navicat-patcher文件夾, 私鑰拷貝到navicat-keygen文件夾ssl

➜ navicat-keygen-mac cd navicat-keygen
➜ navicat-keygen openssl genrsa -out 2048key.pem 2048
➜ navicat-keygen cp rpk ../navicat-patch/rem

 

3. 用本身生成的公鑰替代navicat裏共鑰input

➜ navicat-keygen cd ../navicat-patcher
➜ navicat-patcher cp main.c main.c.bak
➜ navicat-patcher vi main.c, 替換用rpk內容替換const char pubkey[9][72]
➜ navicat-patcher make release

openssl

➜ navicat-patcher ./navicat-patcher /Applications/Navicat\ Premium.app/Contents/MacOS/Navicat\ Premium
Open file successfully.
Get file size successfully: 72335296
Map file successfully.
offset = 0x0000000002cd3798
Success!
➜ navicat-patcher xxd -s 0x0000000002cd3798 '/Applications/Navicat Premium.app/Contents/MacOS/Navicat Premium'|more
02cd3798: 2d2d 2d2d 2d42 4547 494e 2050 5542 4c49 -----BEGIN PUBLI
02cd37a8: 4320 4b45 592d 2d2d 2d2d 004d 4949 4249 C KEY-----.MIIBI
02cd37b8: 6a41 4e42 676b 7168 6b69 4739 7730 4241 jANBgkqhkiG9w0BA
02cd37c8: 5145 4641 414f 4341 5138 414d 4949 4243 QEFAAOCAQ8AMIIBC
02cd37d8: 674b 4341 5145 4174 6a62 4e38 764e 5a68 gKCAQEAtjbN8vNZh
02cd37e8: 4758 5755 5651 2f35 696e 7500 6362 6732 GXWUVQ/5inu.cbg2
02cd37f8: 767a 3732 5832 6d30 304a 4f45 4655 7148 vz72X2m00JOEFUqH
02cd3808: 436b 442b 6445 6f47 6170 6357 7639 5a64 CkD+dEoGapcWv9Zdit

確認navicat公鑰被替換爲rpk後,開始執行激活操做。

 

 

4. 激活

➜ navicat-keygen ./navicat-keygen 2048key.pem
Which is your Navicat language?
0. English
1. Simplified Chinese
2. Traditional Chinese
3. Japanese
4. Polish
5. Spanish
6. French
7. German
8. Korean
9. Russian
10. Portuguese

(input index)>0  我裝的是英文版,因此選0

SnKey:       這個是激活碼
xxxx-xxxx-xxxx-xxxx

Your name:    跳過
Yout organization:    跳過
Input Request Code (in Base64), empty line to return:   此處暫停

斷網,開啓navicat軟件,選擇激活,輸入激活碼

選擇manual xxx,navicat會彈出一串base64,複製到到終端,也就是navicat-keygen 「Input Request Code (in Base64), empty line to return:」處,

回車;回車;navicat-keygen會計算激活碼。

將navicat-keygen給出的激活碼複製到navicat激活界面。

 

 

 

--EOF--

相關文章
相關標籤/搜索