#3 failed to patch

Closed
opened 5 years ago by yec · 12 comments
yec commented 5 years ago

Hello?

I failed to patch the first step that you noticed.

os version

mac os version : catalina, 10.15.4

reproduce

$ git clone -b mac --single-branch https://notabug.org/doublesine/navicat-keygen.git

$ cd navicat-keygen && make all

g++ -std=c++17 -O2 \
-I./common/ \
-I/usr/local/opt/openssl@1.1/include -L/usr/local/opt/openssl@1.1/lib \
  \
  \
  \
./navicat-patcher/CapstoneDisassembler.cpp ./navicat-patcher/KeystoneAssembler.cpp ./navicat-patcher/Misc.cpp ./navicat-patcher/X64ImageInterpreter.cpp ./navicat-patcher/PatchSolution0.cpp ./navicat-patcher/PatchSolution1.cpp ./navicat-patcher/PatchSolution2.cpp ./navicat-patcher/PatchSolution3.cpp ./navicat-patcher/main.cpp -o ./bin/navicat-patcher -lcrypto -lcapstone -lkeystone -lplist++

g++ -std=c++17 -O2 \
-I./common/ \
-I/usr/local/opt/openssl@1.1/include -L/usr/local/opt/openssl@1.1/lib \
 \
./navicat-keygen/CollectInformation.cpp ./navicat-keygen/GenerateLicense.cpp ./navicat-keygen/main.cpp ./navicat-keygen/SerialNumberGenerator.cpp -o ./bin/navicat-keygen -lcrypto
Done.

$ ./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.16

[-] Patch abort. None of PatchSolutions will be applied.
    Are you sure your Navicat has not been patched/modified before?
Hello? I failed to patch the first step that you noticed. ## os version mac os version : catalina, 10.15.4 ## reproduce ``` $ git clone -b mac --single-branch https://notabug.org/doublesine/navicat-keygen.git $ cd navicat-keygen && make all g++ -std=c++17 -O2 \ -I./common/ \ -I/usr/local/opt/openssl@1.1/include -L/usr/local/opt/openssl@1.1/lib \ \ \ \ ./navicat-patcher/CapstoneDisassembler.cpp ./navicat-patcher/KeystoneAssembler.cpp ./navicat-patcher/Misc.cpp ./navicat-patcher/X64ImageInterpreter.cpp ./navicat-patcher/PatchSolution0.cpp ./navicat-patcher/PatchSolution1.cpp ./navicat-patcher/PatchSolution2.cpp ./navicat-patcher/PatchSolution3.cpp ./navicat-patcher/main.cpp -o ./bin/navicat-patcher -lcrypto -lcapstone -lkeystone -lplist++ g++ -std=c++17 -O2 \ -I./common/ \ -I/usr/local/opt/openssl@1.1/include -L/usr/local/opt/openssl@1.1/lib \ \ ./navicat-keygen/CollectInformation.cpp ./navicat-keygen/GenerateLicense.cpp ./navicat-keygen/main.cpp ./navicat-keygen/SerialNumberGenerator.cpp -o ./bin/navicat-keygen -lcrypto Done. $ ./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.16 [-] Patch abort. None of PatchSolutions will be applied. Are you sure your Navicat has not been patched/modified before? ```
DeltaFoX commented 5 years ago

I have just Fixed..

I have just Fixed..
yec commented 5 years ago
Poster

@DeltaFox

I've tried to do it again using your repo. (mac branch)

But failed again at same step.

@DeltaFox I've tried to do it again using your repo. (mac branch) But failed again at same step.
Double Sine commented 5 years ago
Owner

It seems that there's something changed inside executable files of navicat.

However, I left my macbook pro at my hometown which I am far away from, so I don't have a macOS environment to do analysis for navicat now. The mac branch won't be maintained until I have a macOS environment.

It seems that there's something changed inside executable files of navicat. However, I left my macbook pro at my hometown which I am far away from, so I don't have a macOS environment to do analysis for navicat now. The `mac` branch won't be maintained until I have a macOS environment.
DeltaFoX commented 5 years ago

I have write a Pull Request for the fix..

Best Regards bro Double Sine..

DFoX

@yec I have just Update NOW my FORK repo..

I have write a Pull Request for the fix.. Best Regards bro Double Sine.. DFoX @yec I have just Update NOW my FORK repo..
yec commented 5 years ago
Poster

@DeltaFox

I can not progress next step for get activation code when I input base64 request code then Enter.(last step)

So, I checked keygen process using top, it kept sleeping.

How can I get the Activation code?

Thanks.

@DeltaFox I can not progress next step for get activation code when I input base64 request code then Enter.(last step) So, I checked keygen process using top, it kept sleeping. How can I get the Activation code? Thanks.
DeltaFoX commented 5 years ago

I don't understand that you mean the keygen is fully functional... Just click activate now and regenerate key and activation...

I don't understand that you mean the keygen is fully functional... Just click activate now and regenerate key and activation...
yec commented 5 years ago
Poster

I tried to

  1. open navicat
  2. run patcher
  3. run code sign
  4. run keygen
  5. register
  6. manual register
  7. input request code(copy and paste)
  8. keygen does not respond
I tried to 1. open navicat 2. run patcher 3. run code sign 4. run keygen 5. register 6. manual register 7. input request code(copy and paste) 8. keygen does not respond
DeltaFoX commented 5 years ago

have you double press enter?

have you double press enter?
yec commented 5 years ago
Poster

No, I just copy, paste + Enter.

Process is end when double press enter

No, I just copy, paste + Enter. Process is end when double press enter
DeltaFoX commented 5 years ago

press two time enter after copy base64 request

Regards

press two time enter after copy base64 request Regards
yec commented 5 years ago
Poster

[-] ./common/RSACipher.hpp:251 ->

RSA_private_decrypt failed.
Hints: Are your sure you DO provide a correct private key?
[-] ./common/RSACipher.hpp:251 -> RSA_private_decrypt failed. Hints: Are your sure you DO provide a correct private key?
yec commented 5 years ago
Poster

@DeltaFox

Eventually, I activated.

I had a mistake at code sign step.

Thank you for your help.

Take care.

@DeltaFox Eventually, I activated. I had a mistake at code sign step. Thank you for your help. Take care.
Sign in to join this conversation.
No Label
No Milestone
No assignee
3 Participants
Loading...
Cancel
Save
There is no content yet.