Thanks to @leogx9r for providing cracking methods.
https://gist.github.com/JerryLokjianming/71dac05f27f8c96ad1c8941b88030451#gistcomment-3762200 https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47#gistcomment-3802197 https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47#gistcomment-3803204
Note: ARM platform is not supported
Desciption | Offset | Original | Patched |
---|---|---|---|
Initial License Check | 0x000A691C | 55 41 57 41 | 48 31 C0 C3 |
Persistent License Check 1 | 0x0000711A | E8 55 1F 20 00 | 90 90 90 90 90 |
Persistent License Check 2 | 0x00007133 | E8 3C 1F 20 00 | 90 90 90 90 90 |
Disable Server Validation Thread | 0x000A84E3 | 55 56 57 48 83 EC 30 | 48 31 C0 48 FF C0 C3 |
Disable License Notify Thread | 0x000A6517 | 55 | C3 |
Disable Crash Reporter | 0x00000400 | 41 | C3 |
for 4117, 4118: https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47#gistcomment-3927712
:: for Win64
cd /d "C:\Program Files\Sublime Text" || exit
printf '5446869D73EAEADEC1CACE4E5A6CF64D sublime_text.exe' | md5sum -c - || exit
printf '\x48\x31\xC0\xC3' | dd.exe of=sublime_text.exe bs=1 seek=682268 conv=notrunc
printf '\x90\x90\x90\x90\x90' | dd.exe of=sublime_text.exe bs=1 seek=28954 conv=notrunc
printf '\x90\x90\x90\x90\x90' | dd.exe of=sublime_text.exe bs=1 seek=28979 conv=notrunc
printf '\x48\x31\xC0\x48\xFF\xC0\xC3' | dd.exe of=sublime_text.exe bs=1 seek=689379 conv=notrunc
printf '\xC3' | dd.exe of=sublime_text.exe bs=1 seek=681239 conv=notrunc
printf '\xC3' | dd.exe of=sublime_text.exe bs=1 seek=1024 conv=notrunc
PS:Command Line Tools for Windows 64 extracted from PortableGit
The license can be any string.
Blocked by Microsoft Defender SmartScreen -> More Info -> Run Anyway
Desciption | Offset | Original | Patched |
---|---|---|---|
Initial License Check | 0x00375A48 | 55 41 57 41 | 48 31 C0 C3 |
Persistent License Check 1 | 0x0036BC85 | E8 0C BC 11 00 | 90 90 90 90 90 |
Persistent License Check 2 | 0x0036BC9B | E8 F6 BB 11 00 | 90 90 90 90 90 |
Disable Server Validation Thread | 0x003774CB | 55 41 56 53 41 89 F6 | 48 31 C0 48 FF C0 C3 |
Disable License Notify Thread | 0x0037570C | 41 | C3 |
Disable Crash Reporter | 0x0035F930 | 55 | C3 |
for 4121: https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47#gistcomment-3940961
# for Linux
cd /opt/sublime_text || exit
md5sum -c <<<"D3343AD6D13F816F1F9414223B8BE091 sublime_text" || exit
printf '\x48\x31\xC0\xC3' | dd of=sublime_text bs=1 seek=$((0x00375A48)) conv=notrunc
printf '\x90\x90\x90\x90\x90' | dd of=sublime_text bs=1 seek=$((0x0036BC85)) conv=notrunc
printf '\x90\x90\x90\x90\x90' | dd of=sublime_text bs=1 seek=$((0x0036BC9B)) conv=notrunc
printf '\x48\x31\xC0\x48\xFF\xC0\xC3' | dd of=sublime_text bs=1 seek=$((0x003774CB)) conv=notrunc
printf '\xC3' | dd of=sublime_text bs=1 seek=$((0x0037570C)) conv=notrunc
printf '\xC3' | dd of=sublime_text bs=1 seek=$((0x0035F930)) conv=notrunc
Desciption | Offset | Original | Patched |
---|---|---|---|
Initial License Check | 0x0009257E | 55 48 89 E5 | 48 31 C0 C3 |
Persistent License Check 1 | 0x000086F6 | E8 1F 1D 12 00 | 90 90 90 90 90 |
Persistent License Check 2 | 0x00008715 | E8 00 1D 12 00 | 90 90 90 90 90 |
Disable Server Validation Thread | 0x000938CF | 55 48 89 E5 41 57 41 | 48 31 C0 48 FF C0 C3 |
Disable License Notify Thread | 0x0009219C | 55 | C3 |
Disable Crash Reporter | 0x00002867 | 55 | C3 |
# for MacOS
cd "/Applications/Sublime Text.app/Contents/MacOS/" || exit
[ $(md5 sublime_text) = 29D43CC159DA2FADFCD15D95536AA29A ] || exit
printf '\x48\x31\xC0\xC3' | dd of=sublime_text bs=1 seek=$((0x0009257E)) conv=notrunc
printf '\x90\x90\x90\x90\x90' | dd of=sublime_text bs=1 seek=$((0x000086F6)) conv=notrunc
printf '\x90\x90\x90\x90\x90' | dd of=sublime_text bs=1 seek=$((0x00008715)) conv=notrunc
printf '\x48\x31\xC0\x48\xFF\xC0\xC3' | dd of=sublime_text bs=1 seek=$((0x000938CF)) conv=notrunc
printf '\xC3' | dd of=sublime_text bs=1 seek=$((0x0009219C)) conv=notrunc
printf '\xC3' | dd of=sublime_text bs=1 seek=$((0x00002867)) conv=notrunc
codesign --force --deep --sign - "/Applications/Sublime Text.app"
Requires
Apple Command Line Tools
to be installed
Based on: https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47#gistcomment-3929427
Desciption | Offset | Original | Patched |
---|---|---|---|
Initial License Check | 0x00FCA6F8 | E6 03 1E AA 19 59 0E 94 | E0 03 1F AA C0 03 5F D6 |
Persistent License Check 1 | 0x00F5C160 | 5F 95 03 94 | 1F 20 03 D5 |
Persistent License Check 2 | 0x00F5C174 | 5A 95 03 94 | 1F 20 03 D5 |
Disable Server Validation Thread | 0x00FCB7D8 | F6 57 BD A9 | C0 03 5F D6 |
Disable License Notify Thread | 0x00FCA388 | FC 6F BD A9 | C0 03 5F D6 |
Disable Crash Reporter | 0x00F577E4 | FC 6F BC A9 | C0 03 5F D6 |
# for MacOS
cd "/Applications/Sublime Text.app/Contents/MacOS/" || exit
[ $(md5 sublime_text) = B78F54073437FDF71834D46DCEC72700 ] || exit
printf '\xE0\x03\x1F\xAA\xC0\x03\x5F\xD6' | dd of=sublime_text bs=1 seek=$((0x00FCA6F8)) conv=notrunc
printf '\x1F\x20\x03\xD5' | dd of=sublime_text bs=1 seek=$((0x00F5C160)) conv=notrunc
printf '\x1F\x20\x03\xD5' | dd of=sublime_text bs=1 seek=$((0x00F5C174)) conv=notrunc
printf '\xC0\x03\x5F\xD6' | dd of=sublime_text bs=1 seek=$((0x00FCB7D8)) conv=notrunc
printf '\xC0\x03\x5F\xD6' | dd of=sublime_text bs=1 seek=$((0x00FCA388)) conv=notrunc
printf '\xC0\x03\x5F\xD6' | dd of=sublime_text bs=1 seek=$((0x00F577E4)) conv=notrunc
Thanks to @leogx9r for providing cracking methods.
https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47#gistcomment-3823090 https://gist.github.com/JerryLokjianming/71dac05f27f8c96ad1c8941b88030451#gistcomment-3762883 https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47#gistcomment-3802197
Note: ARM platform is not supported
Desciption | Offset | Original | Patched |
---|---|---|---|
Initial License Check | 0x00024570 | 55 41 57 41 56 41 55 41 | 48 C7 C0 19 01 00 00 C3 |
Persistent License Check 1 | 0x00027127 | E8 9C FC 25 00 | 90 90 90 90 90 |
Persistent License Check 2 | 0x00027140 | E8 83 FC 25 00 | 90 90 90 90 90 |
Disable Server Validation Thread | 0x00025AD7 | 55 56 57 48 83 EC 30 | 48 31 C0 48 FF C0 C3 |
Disable License Notify Thread | 0x000241C3 | 55 | C3 |
Disable Crash Reporter | 0x00021AF8 | 41 | C3 |
:: for Win64
cd /d "C:\Program Files\Sublime Merge" || exit
printf 'A6D0ED92FDC38018D59A426EE3E16929 sublime_merge.exe' | md5sum -c - || exit
printf '\x48\xC7\xC0\x19\x01\x00\x00\xC3' | dd of=sublime_merge.exe bs=1 seek=148848 conv=notrunc
printf '\x90\x90\x90\x90\x90' | dd of=sublime_merge.exe bs=1 seek=160039 conv=notrunc
printf '\x90\x90\x90\x90\x90' | dd of=sublime_merge.exe bs=1 seek=160064 conv=notrunc
printf '\x48\x31\xC0\x48\xFF\xC0\xC3' | dd of=sublime_merge.exe bs=1 seek=154327 conv=notrunc
printf '\xC3' | dd of=sublime_merge.exe bs=1 seek=147907 conv=notrunc
printf '\xC3' | dd of=sublime_merge.exe bs=1 seek=137976 conv=notrunc
PS:Command Line Tools for Windows 64 extracted from PortableGit
Desciption | Offset | Original | Patched |
---|---|---|---|
Initial License Check | 0x003B3B62 | 55 41 57 41 56 41 55 41 | 48 C7 C0 19 01 00 00 C3 |
Persistent License Check 1 | 0x003B66AD | E8 A6 39 1D 00 | 90 90 90 90 90 |
Persistent License Check 2 | 0x003B66C8 | E8 8B 39 1D 00 | 90 90 90 90 90 |
Disable Server Validation Thread | 0x003B4F8D | 55 41 56 53 41 89 F6 | 48 31 C0 48 FF C0 C3 |
Disable License Notify Thread | 0x003B38AE | 41 | C3 |
Disable Crash Reporter | 0x003B2832 | 55 | C3 |
# for Linux
cd /opt/sublime_merge || exit
md5sum -c <<<"CB61D19785055FEABA792E7D908E2374 sublime_merge" || exit
printf '\x48\xC7\xC0\x19\x01\x00\x00\xC3' | dd of=sublime_merge bs=1 seek=$((0x003B3B62)) conv=notrunc
printf '\x90\x90\x90\x90\x90' | dd of=sublime_merge bs=1 seek=$((0x003B66AD)) conv=notrunc
printf '\x90\x90\x90\x90\x90' | dd of=sublime_merge bs=1 seek=$((0x003B66C8)) conv=notrunc
printf '\x48\x31\xC0\x48\xFF\xC0\xC3' | dd of=sublime_merge bs=1 seek=$((0x003B4F8D)) conv=notrunc
printf '\xC3' | dd of=sublime_merge bs=1 seek=$((0x003B38AE)) conv=notrunc
printf '\xC3' | dd of=sublime_merge bs=1 seek=$((0x003B2832)) conv=notrunc
Desciption | Offset | Original | Patched |
---|---|---|---|
Initial License Check | 0x00027747 | 55 48 89 E5 41 57 41 56 | 48 C7 C0 19 01 00 00 C3 |
Persistent License Check 1 | 0x000295E4 | E8 CA B9 21 00 | 90 90 90 90 90 |
Persistent License Check 2 | 0x00029603 | E8 AB B9 21 00 | 90 90 90 90 90 |
Disable Server Validation Thread | 0x0002844F | 55 48 89 E5 41 57 41 | 48 31 C0 48 FF C0 C3 |
Disable License Notify Thread | 0x00027402 | 55 | C3 |
Disable Crash Reporter | 0x00025EA1 | 55 | C3 |
# for MacOS
cd "/Applications/Sublime Merge.app/Contents/MacOS/" || exit
[ $(md5 sublime_merge) = D578F6D65F9470F84E1D6724277E6820 ] || exit
printf '\x48\xC7\xC0\x19\x01\x00\x00\xC3' | dd of=sublime_merge bs=1 seek=$((0x00027747)) conv=notrunc
printf '\x90\x90\x90\x90\x90' | dd of=sublime_merge bs=1 seek=$((0x000295E4)) conv=notrunc
printf '\x90\x90\x90\x90\x90' | dd of=sublime_merge bs=1 seek=$((0x00029603)) conv=notrunc
printf '\x48\x31\xC0\x48\xFF\xC0\xC3' | dd of=sublime_merge bs=1 seek=$((0x0002844F)) conv=notrunc
printf '\xC3' | dd of=sublime_merge bs=1 seek=$((0x00027402)) conv=notrunc
printf '\xC3' | dd of=sublime_merge bs=1 seek=$((0x00025EA1)) conv=notrunc
codesign --force --deep --sign - "/Applications/Sublime Merge.app"
Requires
Apple Command Line Tools
to be installed
Based on: https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47#gistcomment-3929427
Desciption | Offset | Original | Patched |
---|---|---|---|
Initial License Check | 0x013F14DC | F8 5F BC A9 F6 57 01 A9 | 20 23 80 D2 C0 03 5F D6 |
Persistent License Check 1 | 0x013F2BDC | 21 6D 06 94 | 1F 20 03 D5 |
Persistent License Check 2 | 0x013F2BF0 | 1C 6D 06 94 | 1F 20 03 D5 |
Disable Server Validation Thread | 0x013F1FA4 | F6 57 BD A9 | C0 03 5F D6 |
Disable License Notify Thread | 0x013F1230 | FC 6F BD A9 | C0 03 5F D6 |
Disable Crash Reporter | 0x013EFFC8 | FC 6F BC A9 | C0 03 5F D6 |
# for MacOS
cd "/Applications/Sublime Merge.app/Contents/MacOS/" || exit
[ $(md5 sublime_merge) = D578F6D65F9470F84E1D6724277E6820 ] || exit
printf '\x20\x23\x80\xD2\xC0\x03\x5F\xD6' | dd of=sublime_merge bs=1 seek=$((0x013F14DC)) conv=notrunc
printf '\x1F\x20\x03\xD5' | dd of=sublime_merge bs=1 seek=$((0x013F2BDC)) conv=notrunc
printf '\x1F\x20\x03\xD5' | dd of=sublime_merge bs=1 seek=$((0x013F2BF0)) conv=notrunc
printf '\xC0\x03\x5F\xD6' | dd of=sublime_merge bs=1 seek=$((0x013F1FA4)) conv=notrunc
printf '\xC0\x03\x5F\xD6' | dd of=sublime_merge bs=1 seek=$((0x013F1230)) conv=notrunc
printf '\xC0\x03\x5F\xD6' | dd of=sublime_merge bs=1 seek=$((0x013EFFC8)) conv=notrunc
You can check and download the latest version from here (please note that not all versions are corresponding to the cracked version)
sudo spctl --master-disable
Enable Allow apps downloaded from “Anywhere” in Security & Privacy
Then it is better to build everything in one line if the 'cleanliness' is in this XD