首先到官网下载:https://www.navicat.com.cn/download/navicat-premium
到git下载工具 :https://github.com/DoubleLabyrinth/navicat-keygen/releases
(本文转载,个人心得:建议直接观看英文教程,中文教程的命令好像有点问题,我在第二个获取注册码的命令时系统报格式错误,英文教程的命令则正确,原因未知,有大神知道的可以留个言,有能力的大佬尽量支持正版吧,都做一行的,开发不易)
1. 先用navicat-patcher.exe给主程序打个补丁,其实就是换掉之中的公钥
管理员运行cmd:navicat-patcher.exe <Navicat installation path> [RSA-2048 PEM file]
<Navicat installation path>就是navicat.exe的路径,最好是完整的。比如:D:\navicat-keygen>navicat-patcher "D:\Program Files\PremiumSoft\Navicat Premium 12" RegPrivateKey.pem
2. 再用navicat-keygen.exe生成注册码
所以cmd里直接运行:
navicat-keygen.exe RegPrivateKey.pem
输入数字选择合适的语言:
0. English
1. Simplified Chinese
2. Traditional Chinese
3. Japanese
4. Polish
5. Spanish
6. French
7. German
8. Korean
9. Russian
10. Portuguese
填名字和组织名称,之后会生成一个序列号,并要求填入请求码。
打开navicat,断网。
在注册界面填入序列号,然后激活。这时会提示要手动激活,ok就选这个。
接下来会有请求码,复制然后贴入控制台,按两次Enter,就可以得到注册码了。
How to use?
- Download the latest release from here.
- Use
navicat-patcher.exe
to replace Navicat Activation Public Key that is stored innavicat.exe
andlibcc.dll
.navicat-patcher.exe <Navicat installation path> [RSA-2048 PEM file]
<Navicat installation path>
: The full path to Navicat installation folder.This parameter must be specified.[RSA-2048 PEM file]
: The full path or relative path to a RSA-2048 private key file.This parameter is optional. If not specified,navicat-patcher.exe
will generate a new RSA-2048 private key fileRegPrivateKey.pem
at current directory.
Example: (in cmd.exe)
navicat-patcher.exe "C:\Program Files\PremiumSoft\Navicat Premium 12" .\RegPrivateKey.pem
It has been tested on Navicat Premium 12.1.7 Simplified Chinese version. The following is an example of output.
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. Your RSA public key: -----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtOZGsX7UoDPuxCfEuw4i yWDASpwaN19GaPNrTlWz6K7MKXGrAQpYD5gNZ8nGdfRgp52TErTHSNoRjgfpxGqK ApPUISsIanGMcyf/H2b8pGuz1oF19kVKSyZTPaVLbE+1Cw7FULbI04bc64XnWSHo aQAXrYKGpC7oDomRGMtx28figu3AHAk1UQrcCvE3+0ITTA7X8xaRwz6+gb+uLgCd iXyRYDodG8i+kk1YIt3f2mt7jH+uEHqBYjIfvvo6g5MZz4KNz7Ewc6+sDyO8bmlX eFnHo6YAgCcaHVvVtGNCxCd1O5wWHvUN985HHQYnFr7qzJaL9cPb735pP2hb0IXe ywIDAQAB -----END PUBLIC KEY----- MESSAGE: Navicat.exe has been backed up successfully. MESSAGE: libcc.dll has been backed up successfully. ...... ...... ...... Solution0 has been done successfully. Solution1 has been done successfully.
- Then use
navicat-keygen.exe
to generate snKey and Activation Codenavicat-keygen.exe <-bin|-text> [-adv] <RSA-2048 PrivateKey(PEM file)>
<-bin|-text>
: Must be-bin
or-text
.If-bin
is specified,navicat-keygen.exe
will finally generatelicense_file
. It is used for Navicat old activation method only.If-text
is specified,navicat-keygen.exe
will finally generate a Base64-style string which is Activation Code. It is used for Navicat new activation method.This parameter must be specified.[-adv]
: Enable advanced mode.This parameter is optional. If specified,navicat-keygen.exe
will ask you input Navicat product ID number, language signature numbers. It is for future use generally.<RSA-2048 PrivateKey(PEM file)>
: The full path or relative path to a RSA-2048 private key file.This parameter must be specified.
Example: (in cmd.exe)
navicat-keygen.exe -text .\RegPrivateKey.pem
You will be asked to select Navicat product, language and input major version number. After that an randomly generated snKey will be given.
Select Navicat product: 1. DataModeler 2. Premium 3. MySQL 4. PostgreSQL 5. Oracle 6. SQLServer 7. SQLite 8. MariaDB 9. MongoDB 10. ReportViewer (Input index)> 1 Select product language: 1. English 2. Simplified Chinese 3. Traditional Chinese 4. Japanese 5. Polish 6. Spanish 7. French 8. German 9. Korean 10. Russian 11. Portuguese (Input index)> 1 (Input major version number, range: 0 ~ 15, default: 12)> 12 Serial number: NAVA-DHCN-P2OI-DV46 Your name:
You can use this snKey to activate your Navicat preliminarily.
Then you will be asked to input
Your name
andYour organization
. Just set them whatever you want, but not too long.Your name: DoubleLabyrinth Your organization: DoubleLabyrinth Input request code (in Base64), input empty line to end:
After that, you will be asked to input the request code. Now DO NOT CLOSE KEYGEN.
- Disconnect your network and open Navicat. Find and click
Registration
. FillRegistration Key
by snKey that the keygen gave and clickActivate
. - Generally online activation will failed and Navicat will ask you do
Manual Activation
, just choose it. - Copy your request code and paste it in the keygen. Input empty line to tell the keygen that your input ends.
Your name: DoubleLabyrinth Your organization: DoubleLabyrinth Input request code (in Base64), input empty line to end: q/cv0bkTrG1YDkS+fajFdi85bwNVBD/lc5jBYJPOSS5bfl4DdtnfXo+RRxdMjJtEcYQnvLPi2LF0 OB464brX9dqU29/O+A3qstSyhBq5//iezxfu2Maqca4y0rVtZgQSpEnZ0lBNlqKXv7CuTUYCS1pm tEPgwJysQTMUZf7tu5MR0cQ+hY/AlyQ9iKrQAMhHklqZslaisi8VsnoIqH56vfTyyUwUQXrFNc41 qG5zZNsXu/NI79JOo7qTvcFHQT/k5cTadbKTxY+9c5eh+nF3JR7zEa2BDDfdQRLNvy4DTSyxdYXd sAk/YPU+JdWI+8ELaa0SuAuNzr5fEkD6NDSG2A== Request Info: {"K":"NAVADHCNP2OIDV46", "DI":"Y2eJk9vrvfGudPG7Mbdn", "P":"WIN 8"} Response Info: {"K":"NAVADHCNP2OIDV46","DI":"Y2eJk9vrvfGudPG7Mbdn","N":"DoubleLabyrinth","O":"DoubleLabyrinth","T":1537630251} License: oyoMYr9cfVGXeT7F1dqBwHsB/vvWj6SUL6aR+Kzb0lm5IyEj1CgovuSq+qMzFfx+ oHMFaGKFg6viOY2hfJcrO2Vdq0hXZS/B/Ie3jBS2Ov37v8e3ufVajaH+wLkmEpLd xppCVLkDQjIHYR2IPz5s/L/RuWqDpEY4TPmGFF6q+xQMnqQA3vXPyG+JYMARXLru Y1gCDLN30v3DpyOeqKmFjUqiHK5h8s0NYiH2OpMyaCpi12JsF23miP89ldQp3+SJ 8moo0cNGy7sFp2gX9ol2zVoo7qxfYlLl03f7CALJ6im0sx4yBsmlzFDdvpQUbXk8 YZ5rT4LML2Fx6Wgnnklb5g==
- Finally, you will get Activation Code which looks like a Base64 string. Just copy it and paste it in Navicat
Manual Activation
window, then clickActivate
. If nothing wrong, activation should be done successfully.