crabapples-h / navicat-keygen-tools Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
./navicat-keygen --text ./RegPrivateKey.pem
./navicat-keygen: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
Ubuntu 22.04.1 LTS
I use this command ./bin/navicat-patcher /opt/navicat/Navicat and this command not work, I use Linux operating system manjero kde
[-] ./navicat-patcher/Misc.cpp:141 ->
std::filesystem::is_directory failed.
No such file or directory (0x2)
Hello, i got this error when tying to make all
g++ -std=c++17 -O2 \
-I./common/ \
\
\
\
./navicat-patcher/CapstoneDisassembler.cpp ./navicat-patcher/KeystoneAssembler.cpp ./navicat-patcher/Elf64Interpreter.cpp ./navicat-patcher/Misc.cpp ./navicat-patcher/PatchSolution.cpp ./navicat-patcher/PatchSolution0.cpp ./navicat-patcher/main.cpp -o ./bin/navicat-patcher -lcrypto -lcapstone -lkeystone
/tmp/cc6o4lzT.o: In function `nkg::Misc::FsIsExist(std::basic_string_view<char, std::char_traits<char> >)':
Misc.cpp:(.text+0x354): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
Misc.cpp:(.text+0x363): undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&, std::error_code&)'
/tmp/cc6o4lzT.o: In function `nkg::Misc::FsIsFile(std::basic_string_view<char, std::char_traits<char> >)':
Misc.cpp:(.text+0x4d1): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
Misc.cpp:(.text+0x4de): undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&, std::error_code&)'
/tmp/cc6o4lzT.o: In function `nkg::Misc::FsIsDirectory(std::basic_string_view<char, std::char_traits<char> >)':
Misc.cpp:(.text+0x651): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
Misc.cpp:(.text+0x65e): undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&, std::error_code&)'
/tmp/cc6o4lzT.o: In function `nkg::Misc::FsCopyFile(std::basic_string_view<char, std::char_traits<char> >, std::basic_string_view<char, std::char_traits<char> >)':
Misc.cpp:(.text+0x7e2): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
Misc.cpp:(.text+0x827): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
Misc.cpp:(.text+0x83b): undefined reference to `std::filesystem::copy_file(std::filesystem::__cxx11::path const&, std::filesystem::__cxx11::path const&, std::filesystem::copy_options, std::error_code&)'
/tmp/cc6o4lzT.o: In function `nkg::Misc::FsDeleteFile(std::basic_string_view<char, std::char_traits<char> >)':
Misc.cpp:(.text+0x9f1): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
Misc.cpp:(.text+0x9fe): undefined reference to `std::filesystem::remove(std::filesystem::__cxx11::path const&, std::error_code&)'
/tmp/cc6o4lzT.o: In function `nkg::Misc::FsCurrentWorkingDirectory[abi:cxx11]()':
Misc.cpp:(.text+0xb1e): undefined reference to `std::filesystem::current_path[abi:cxx11](std::error_code&)'
collect2: error: ld returned 1 exit status
make: *** [Makefile:70: patcher] Error 1
Any solution for this?
while cloning the repo to build it requires to login.
$ git clone -b linux --single-branch https://github.com/DoubleLabyrinth/navicat-keygen.git
Cloning into 'navicat-keygen'...
Username for 'https://github.com'
hello, i just trying to compile and got this error:
g++ -std=c++17 -O2 \
-I./common/ \
\
\
\
./navicat-patcher/CapstoneDisassembler.cpp ./navicat-patcher/KeystoneAssembler.cpp ./navicat-patcher/Elf64Interpreter.cpp ./navicat-patcher/Misc.cpp ./navicat-patcher/PatchSolution.cpp ./navicat-patcher/PatchSolution0.cpp ./navicat-patcher/main.cpp -o ./bin/navicat-patcher -lcrypto -lcapstone -lkeystone
In file included from ./navicat-patcher/CapstoneDisassembler.cpp:1:
./navicat-patcher/CapstoneDisassembler.hpp:2:10: fatal error: capstone/capstone.h: No such file or directory
2 | #include <capstone/capstone.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from ./navicat-patcher/PatchSolutions.hpp:2,
from ./navicat-patcher/PatchSolution.cpp:1:
./common/RSACipher.hpp:2:10: fatal error: openssl/opensslv.h: No such file or directory
2 | #include <openssl/opensslv.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from ./navicat-patcher/PatchSolutions.hpp:2,
from ./navicat-patcher/PatchSolution0.cpp:1:
./common/RSACipher.hpp:2:10: fatal error: openssl/opensslv.h: No such file or directory
2 | #include <openssl/opensslv.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from ./navicat-patcher/PatchSolutions.hpp:2,
from ./navicat-patcher/main.cpp:12:
./common/RSACipher.hpp:2:10: fatal error: openssl/opensslv.h: No such file or directory
2 | #include <openssl/opensslv.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:70: patcher] Error 1```
coudl you give me a solution?
thanks
sudo ../make-share.sh
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- broken
CMake Error at /usr/share/cmake-3.10/Modules/CMakeTestCCompiler.cmake:52 (message):
The C compiler
"/usr/bin/cc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/may/Downloads/keystone/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_73578/fast"
/usr/bin/make -f CMakeFiles/cmTC_73578.dir/build.make CMakeFiles/cmTC_73578.dir/build
make[1]: Entering directory '/home/may/Downloads/keystone/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_73578.dir/testCCompiler.c.o
/usr/bin/cc -o CMakeFiles/cmTC_73578.dir/testCCompiler.c.o -c /home/may/Downloads/keystone/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_73578
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_73578.dir/link.txt --verbose=1
/usr/bin/cc -rdynamic CMakeFiles/cmTC_73578.dir/testCCompiler.c.o -o cmTC_73578
/usr/bin/ld: cannot find Scrt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_73578.dir/build.make:97: recipe for target 'cmTC_73578' failed
make[1]: *** [cmTC_73578] Error 1
make[1]: Leaving directory '/home/may/Downloads/keystone/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_73578/fast' failed
make: *** [cmTC_73578/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:5 (project)
CMake Error at CMakeLists.txt:5 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "/home/may/Downloads/keystone/build/CMakeFiles/CMakeOutput.log".
See also "/home/may/Downloads/keystone/build/CMakeFiles/CMakeError.log".
I run follow those steps but in this step I get error, how do I fix it?
I run sudo apt-get install cmake before and get no error.
Navicat15版本是否有相应的方案?
Llegue hasta esta parte , me doy cuenta que falta mucha explicación , y si ya no funciona hacermelo saber muchas gracias de antemano
根据 https://github.com/HeQuanX/navicat-keygen-tools/blob/windows/doc/how-to-build.zh-CN.md 文档安装好了所需的库。
在 visual studio 2019 里生成时,报错。
2>ImageInterpreter.cpp
1>D:\navicat-keygen-tools\common\RSACipher.hpp(106,1): error C2027: 使用了未定义类型“rsa_st”
1>D:\vcpkg\installed\x64-windows-static\include\openssl\evp.h(1018): message : 参见“rsa_st”的声明
1>D:\navicat-keygen-tools\common\RSACipher.hpp(109,1): error C2027: 使用了未定义类型“rsa_st”
1>D:\vcpkg\installed\x64-windows-static\include\openssl\evp.h(1018): message : 参见“rsa_st”的声明
2>KeystoneAssembler.cpp
1>SerialNumberGenerator.cpp
2>Misc.cpp
1>_tmain.cpp
2>PatchSolution0.cpp
1>D:\navicat-keygen-tools\common\RSACipher.hpp(106,1): error C2027: 使用了未定义类型“rsa_st”
1>D:\vcpkg\installed\x64-windows-static\include\openssl\evp.h(1018): message : 参见“rsa_st”的声明
1>D:\navicat-keygen-tools\common\RSACipher.hpp(109,1): error C2027: 使用了未定义类型“rsa_st”
1>D:\vcpkg\installed\x64-windows-static\include\openssl\evp.h(1018): message : 参见“rsa_st”的声明
1>正在生成代码...
1>已完成生成项目“navicat-keygen.vcxproj”的操作 - 失败。
指向的 RSACipher.hpp 中的错误代码:
size_t Bits() const {
if (Get()->n == nullptr) {
throw Exception(NKG_CURRENT_SOURCE_FILE(), NKG_CURRENT_SOURCE_LINE(), TEXT("RSA modulus has not been set."));
} else {
return BN_num_bits(Get()->n);
}
}
中的 Get()->n
。
地址:https://github.com/DoubleLabyrinth/navicat-keygen.git
我们无法clone下载。
教程上面的命令无法向下执行。
I didn't see navicat-keygen which build keygen and patcher. (https://github.com/DoubleLabyrinth/navicat-keygen.git)
How can i clone this repo ?
Please public repo so that I can clone to build keygen.. Thanks you very much !
Press ENTER to continue or Ctrl + C to abort.
[+] Try to open libcc.so ... Ok!
terminate called without an active exception
[1] 116740 abort sudo /opt/navicat15-premium-cs
下载的 https://codeload.github.com/HeQuanX/navicat-keygen-tools/zip/recommended
g++ -std=c++17 -O2
-I./common/
-I/usr/local/opt/[email protected]/include -L/usr/local/opt/[email protected]/lib
./navicat-patcher/CapstoneDisassembler.cpp ./navicat-patcher/KeystoneAssembler.cpp ./navicat-patcher/Elf64Interpreter.cpp ./navicat-patcher/Misc.cpp ./navicat-patcher/PatchSolution.cpp ./navicat-patcher/PatchSolution0.cpp ./navicat-patcher/main.cpp -o ./bin/navicat-patcher -lcrypto -lcapstone -lkeystone
In file included from ./navicat-patcher/Elf64Interpreter.cpp:1:
./navicat-patcher/Elf64Interpreter.hpp:5:14: fatal error: 'libelf/libelf.h' file
not found
#include <libelf/libelf.h>
^~~~~~~~~~~~~~~~~
1 error generated.
In file included from ./navicat-patcher/PatchSolution.cpp:1:
In file included from ./navicat-patcher/PatchSolutions.hpp:3:
./navicat-patcher/Elf64Interpreter.hpp:5:14: fatal error: 'libelf/libelf.h' file
not found
#include <libelf/libelf.h>
^~~~~~~~~~~~~~~~~
1 error generated.
In file included from ./navicat-patcher/PatchSolution0.cpp:1:
In file included from ./navicat-patcher/PatchSolutions.hpp:3:
./navicat-patcher/Elf64Interpreter.hpp:5:14: fatal error: 'libelf/libelf.h' file
not found
#include <libelf/libelf.h>
^~~~~~~~~~~~~~~~~
1 error generated.
In file included from ./navicat-patcher/main.cpp:11:
./navicat-patcher/Elf64Interpreter.hpp:5:14: fatal error: 'libelf/libelf.h' file
not found
#include <libelf/libelf.h>
^~~~~~~~~~~~~~~~~
1 error generated.
make: *** [patcher] Error 1
我安装了一个debian虚拟机,在虚拟机中进行测试
成功之后就搞到实体机中了
按照教程: https://github.com/HeQuanX/navicat-keygen-tools/blob/main/doc/how-to-build.zh-CN.md
安装下面三个库
- capstone
- keystone
- rapidjson
注意事项:
在下面的编译的时候
该仓库已经没了git clone -b linux --single-branch https://github.com/DoubleLabyrinth/navicat-keygen.git
需要换成git clone https://github.com/HeQuanX/navicat-keygen-tools.git
cd navicat-keygen-tools
make all
因为是在虚拟机中,有好多东西都没有,还要重新安装
具体的我忘了,不过都不太重要,报错了去google查查,安装一下库就差不多了
挂载-复制-删除
官方AppImage下载地址
$ mkdir ~/Desktop/navicat15-premium-cs
$ sudo mount -o loop ~/Desktop/navicat15-premium-cs.AppImage ~/Desktop/navicat15-premium-cs
$ cp -r ~/Desktop/navicat15-premium-cs ~/Desktop/navicat15-premium-cs-patched
$ sudo umount ~/Desktop/navicat15-premium-cs
$ rm -rf ~/Desktop/navicat15-premium-cs
使用 navicat-patcher 替换官方公钥
https://github.com/HeQuanX/navicat-keygen-tools/blob/main/README.zh-CN.md
test@debian:~/navicat-keygen-tools/bin$ ls
navicat-keygen navicat-patcher
test@debian:~/navicat-keygen-tools/bin$ ./navicat-patcher ~/Desktop/navicat15-premium-cs
注意:该过程正确的话就会有一大堆输出
参考 https://github.com/HeQuanX/navicat-keygen-tools/blob/main/README.zh-CN.md 中的样例输出
这个过程会在当前文件夹~/navicat-keygen-tools/bin
下生成一个文件RegPrivateKey.pem
这个RegPrivateKey.pem
文件是在这生成的,第一次搞我还不知道,看了issue才知道...
将文件重新打包成AppImage:
接下来的这些基本都没啥问题了
$ wget 'https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage'
$ chmod +x appimagetool-x86_64.AppImage
$ ./appimagetool-x86_64.AppImage ~/Desktop/navicat15-premium-cs-patched ~/Desktop/navicat15-premium-cs-patched.AppImage
运行刚生成的AppImage
$ chmod +x ~/Desktop/navicat15-premium-cs-patched.AppImage
$ ~/Desktop/navicat15-premium-cs-patched.AppImage
如果后面测试完成之后,该破解AppImage文件可以用
就可以直接将这个文件复制到主机上,再进行破解了
我的主机系统
debian 11
5.10.8的内核
使用
navicat-keygen
来生成 序列号 和 激活码
test@debian:~/navicat-keygen-tools/bin$ ./navicat-keygen --text ./RegPrivateKey.pem
这个RegPrivateKey.pem是在bin目录下的,就是上面生成的
一定要注意这个路径不要搞错(最好使用tab键自动补全出来)
重要的事情说三遍断网
断网
断网
断网之后才能进行破解
按照教程 https://github.com/HeQuanX/navicat-keygen-tools/blob/main/README.zh-CN.md 中的进行一步一步的操作
产品选择Premium
语言选择简体中文
版本15
这个时候会生成一个密钥
该进程不能终止,如果终止就要重新来
在破解AppImage打开的注册窗口中输入
只有上面的都对了(产品,语言,版本.....),这个密钥才对
后面会有一个绿色的勾,否则是错误的叉
如果是叉就不能点击下面的激活(我第一次就是死这了)
激活时,由于没有网络,就会弹出窗口,里面可以选择手动激活
点击手动激活,复制里面的请求码
在终端中粘贴, 回车两次即可
复制 Activation Code: 粘贴回去,即可激活
删除清理
如果你和我一样的话,打算在虚拟机中试试
可以在第四步后,复制破解AppImage到主机上打开
后面的第五步依旧可以在虚拟机中完成
Navicat 16 已经发布了,不知道会不会更新对16的支持。
安装了:
brew install libplist
之后仍然提示:
-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib \
\
\
\
-lcrypto -lcapstone -lkeystone -lplist++ ./navicat-patcher/CapstoneDisassembler.cpp ./navicat-patcher/KeystoneAssembler.cpp ./navicat-patcher/X64ImageInterpreter.cpp ./navicat-patcher/HelperIsResolvedTo.cpp ./navicat-patcher/HelperPrintMemory.cpp ./navicat-patcher/PatchSolution0.cpp ./navicat-patcher/PatchSolution1.cpp ./navicat-patcher/PatchSolution2.cpp ./navicat-patcher/main.cpp -o ./bin/navicat-patcher
ld: library not found for -lplist++
i mistaked navicate mysql as premium. then i noticed this and re-download navicat prenium. when i want to run navicate-patcher again, it throw out error:
[-] Try to open libcc.so ... Not found!
[-] ./navicat-patcher/main.cpp:240 ->
No patch applied. Patch abort!
Hints: Are you sure your Navicat has not been patched/modified before?
how to reslove this?
thank you very much!
亲们,别整得那么辛苦又违法,试试 Kangaroo
MAC分支内容进行MAKE报错
make all
g++ -std=c++17 -O2 \
-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib \
\
\
\
-lcrypto -lcapstone -lkeystone -lplist++ ./navicat-patcher/CapstoneDisassembler.cpp ./navicat-patcher/KeystoneAssembler.cpp ./navicat-patcher/X64ImageInterpreter.cpp ./navicat-patcher/HelperIsResolvedTo.cpp ./navicat-patcher/HelperPrintMemory.cpp ./navicat-patcher/PatchSolution0.cpp ./navicat-patcher/PatchSolution1.cpp ./navicat-patcher/PatchSolution2.cpp ./navicat-patcher/main.cpp -o ./bin/navicat-patcher
ld: library not found for -lplist++
Your repo https://github.com/DoubleLabyrinth/navicat-keygen is not available. Please provide latest complied binaries for Keygen and patcher for windows 10.
**********************************************************
* Navicat Patcher (Linux) by @DoubleLabyrinth *
* Version: 1.0 *
**********************************************************
Press ENTER to continue or Ctrl + C to abort.
[+] Try to open libcc.so ... Ok!
[-] ./navicat-patcher/Elf64Interpreter.cpp:24 ->
Bad ELF file: header magic check failure.
ubuntu20.04
gcc 9.3
./bin_bak/navicat-patcher: /lib/libcrypto.so.1.0.0: version OPENSSL_1.0.0' not found (required by ./bin_bak/navicat-patcher) ./bin_bak/navicat-patcher: /lib/x86_64-linux-gnu/libstdc++.so.6: version
GLIBCXX_3.4.26' not found (required by ./bin_bak/navicat-patcher)
solved
我在註冊時選成
2.mysql
想要重新註冊成
1.Premium
但卻不知道要刪除什麼檔案,我在網路上搜尋都是 reset trial,刪除 ~/.navicat64
有好的解决方案吗,感谢
我执行到navicat-keygen --text RegPrivateKey.pem的时候
**********************************************************
* Navicat Keygen (Linux) by @DoubleLabyrinth *
* Version: 1.0 *
**********************************************************
[-] ./navicat-keygen/main.cpp:174 ->
BIO_new_file failed.
菜鸟如我不知道该怎么办了
./navicat-patcher /Applications/Navicat\ Premium.app
Navicat Patcher (macOS) by @DoubleLabyrinth *
Version: 5.0 *
Press Enter to continue or Ctrl + C to abort.
[+] Try to open "Contents/MacOS/Navicat Premium" ... Ok!
[+] Try to open "Contents/Frameworks/libcc-premium.dylib" ... Ok!
[-] PatchSolution0 ...... Omitted.
[-] PatchSolution1 ...... Omitted.
[-] PatchSolution2 ...... Omitted.
[-] PatchSolution3 ...... Omitted.
[*] Your Navicat version: 15.0.35
[-] Patch abort. None of PatchSolutions will be applied.
Are you sure your Navicat has not been patched/modified before?
user@MacBook-Air-de-User bin % ./navicat-patcher /Applications/Navicat\ Premium.app
Navicat Patcher (macOS) by @DoubleLabyrinth *
Version: 5.0 *
Press Enter to continue or Ctrl + C to abort.
[+] Try to open "Contents/MacOS/Navicat Premium" ... Ok!
[+] Try to open "Contents/Frameworks/libcc-premium.dylib" ... Ok!
[-] PatchSolution0 ...... Omitted.
[-] PatchSolution1 ...... Omitted.
[-] PatchSolution2 ...... Omitted.
[-] PatchSolution3 ...... Omitted.
[*] Your Navicat version: 15.0.35
[-] Patch abort. None of PatchSolutions will be applied.
Are you sure your Navicat has not been patched/modified before?**
Would you please update the code to support navicat premium 16.0.13 ? Actually it is not working on Linux Ubuntu 20.04
2. 编译
里面,
git clone -b linux --single-branch https://github.com/DoubleLabyrinth/navicat-keygen.git
该repo似乎私有化了,需要账号密码。需要将其改为
git clone -b linux --single-branch https://github.com/HeQuanX/navicat-keygen-tools.git
Cannot find libcc.so what about this file
Navicat Patcher by @DoubleLabyrinth *
Version: 4.0 *
Press Enter to continue or Ctrl + C to abort.
[*] Your Navicat version: 15.0.26
[-] PatchSolution0 ...... Omitted.
[-] PatchSolution1 ...... Omitted.
[-] PatchSolution2 ...... Omitted.
[-] Patch abort. None of PatchSolutions will be applied.
Are you sure your Navicat has not been patched before?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.