Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lugrus2000/1fc55158b87f94d799392a6dd1ac0ce2 to your computer and use it in GitHub Desktop.
Save lugrus2000/1fc55158b87f94d799392a6dd1ac0ce2 to your computer and use it in GitHub Desktop.
How to Crack SublimeText and SublumeMerge

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

Win64 ↓

Desciption Offset Original Patched
Первоначальная проверка лицензии 0x000A47E2 55 41 57 41 48 31 C0 C3
Постоянная проверка лицензии 1 0x0000712A E8 A1 1D 20 00 90 90 90 90 90
Постоянная проверка лицензии 2 0x00007143 E8 88 1D 20 00 90 90 90 90 90
Отключить поток проверки сервера 0x000A62D9 55 56 57 48 83 EC 30 48 31 C0 48 FF C0 C3
Отключить поток уведомления о лицензии 0x000A4455 55 C3
Отключить Crash Reporter 0x00000400 41 C3
Bat Script
:: for Win64
cd /d "C:\Program Files\Sublime Text" || exit
echo|set /p="4B9E87D1547A4FC9E47D6A6D8DC5E381  sublime_text.exe" >nul 2>&1 | md5sum -c - || exit
printf '\x48\x31\xC0\xC3'                 | dd.exe of=sublime_text.exe bs=1 seek=673762 conv=notrunc
printf '\x90\x90\x90\x90\x90'             | dd.exe of=sublime_text.exe bs=1 seek=28970  conv=notrunc
printf '\x90\x90\x90\x90\x90'             | dd.exe of=sublime_text.exe bs=1 seek=28995  conv=notrunc
printf '\x48\x31\xC0\x48\xFF\xC0\xC3'     | dd.exe of=sublime_text.exe bs=1 seek=680665 conv=notrunc
printf '\xC3'                             | dd.exe of=sublime_text.exe bs=1 seek=672853 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

Лицензия может быть любой строкой.

Blocked by Microsoft Defender SmartScreen -> More Info -> Run Anyway

Screenshot

Screenshot

Screenshot

Linux ↓

Desciption Offset Original Patched
Initial License Check 0x0036567C 55 41 57 41 48 31 C0 C3
Persistent License Check 1 0x0035BCCB E8 AC 82 18 00 90 90 90 90 90
Persistent License Check 2 0x0035BCE6 E8 91 82 18 00 90 90 90 90 90
Disable Server Validation Thread 0x00367171 55 41 56 53 41 89 F6 48 31 C0 48 FF C0 C3
Disable License Notify Thread 0x003653CE 41 C3
Disable Crash Reporter 0x0034F5F0 55 C3
Bash Script
# for Linux
cd /opt/sublime_text || exit
md5sum -c <<<"FF083966171185D01CB5F7F3721F1B95  sublime_text" > /dev/null 2>&1 || exit
printf '\x48\x31\xC0\xC3'                 | dd of=sublime_text bs=1 seek=$((0x0036567C)) conv=notrunc
printf '\x90\x90\x90\x90\x90'             | dd of=sublime_text bs=1 seek=$((0x0035BCCB)) conv=notrunc
printf '\x90\x90\x90\x90\x90'             | dd of=sublime_text bs=1 seek=$((0x0035BCE6)) conv=notrunc
printf '\x48\x31\xC0\x48\xFF\xC0\xC3'     | dd of=sublime_text bs=1 seek=$((0x00367171)) conv=notrunc
printf '\xC3'                             | dd of=sublime_text bs=1 seek=$((0x003653CE)) conv=notrunc
printf '\xC3'                             | dd of=sublime_text bs=1 seek=$((0x0034F5F0)) conv=notrunc

macOS ↓

Desciption Offset Original Patched
Initial License Check 0x00090E5D 55 48 89 E5 48 31 C0 C3
Persistent License Check 1 0x0000906E E8 B7 F2 11 00 90 90 90 90 90
Persistent License Check 2 0x0000908D E8 98 F2 11 00 90 90 90 90 90
Disable Server Validation Thread 0x000921C7 55 48 89 E5 41 57 41 48 31 C0 48 FF C0 C3
Disable License Notify Thread 0x00090B18 55 C3
Disable Crash Reporter 0x00003237 55 C3
Bash Script
# for MacOS
cd "/Applications/Sublime Text.app/Contents/MacOS/" || exit
[ $(md5 -q sublime_text) = 7BE878DCE68C856B4BF3045E18F08015 ] || exit
printf '\x48\x31\xC0\xC3'                 | dd of=sublime_text bs=1 seek=$((0x00090E5D)) conv=notrunc
printf '\x90\x90\x90\x90\x90'             | dd of=sublime_text bs=1 seek=$((0x0000906E)) conv=notrunc
printf '\x90\x90\x90\x90\x90'             | dd of=sublime_text bs=1 seek=$((0x0000908D)) conv=notrunc
printf '\x48\x31\xC0\x48\xFF\xC0\xC3'     | dd of=sublime_text bs=1 seek=$((0x000921C7)) conv=notrunc
printf '\xC3'                             | dd of=sublime_text bs=1 seek=$((0x00090B18)) conv=notrunc
printf '\xC3'                             | dd of=sublime_text bs=1 seek=$((0x00003237)) conv=notrunc

How to Crack Sublime Merge Build 2059

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

Win64 ↓

Desciption Offset Original Patched
Initial License Check 0x00023778 55 41 57 41 56 41 55 41 48 C7 C0 19 01 00 00 C3
Persistent License Check 1 0x000261FB E8 8C 28 26 00 90 90 90 90 90
Persistent License Check 2 0x00026214 E8 73 28 26 00 90 90 90 90 90
Disable Server Validation Thread 0x00024BD3 55 56 57 48 83 EC 30 48 31 C0 48 FF C0 C3
Disable License Notify Thread 0x000233CB 55 C3
Disable Crash Reporter 0x00020C68 41 C3
Bat Script
:: for Win64
cd /d "C:\Program Files\Sublime Merge" || exit
echo|set /p="29A9F8BBF4F4958CBF5E46922487681D  sublime_merge.exe" >nul 2>&1 | md5sum -c - || exit
printf '\x48\xC7\xC0\x19\x01\x00\x00\xC3' | dd of=sublime_merge.exe bs=1 seek=145272 conv=notrunc
printf '\x90\x90\x90\x90\x90'             | dd of=sublime_merge.exe bs=1 seek=156155 conv=notrunc
printf '\x90\x90\x90\x90\x90'             | dd of=sublime_merge.exe bs=1 seek=156180 conv=notrunc
printf '\x48\x31\xC0\x48\xFF\xC0\xC3'     | dd of=sublime_merge.exe bs=1 seek=150483 conv=notrunc
printf '\xC3'                             | dd of=sublime_merge.exe bs=1 seek=144331 conv=notrunc
printf '\xC3'                             | dd of=sublime_merge.exe bs=1 seek=134248 conv=notrunc

PS:Command Line Tools for Windows 64 extracted from PortableGit

Linux ↓

Desciption Offset Original Patched
Initial License Check 0x003A5400 55 41 57 41 56 41 55 41 48 C7 C0 19 01 00 00 C3
Persistent License Check 1 0x003A7EC9 E8 7C F3 1B 00 90 90 90 90 90
Persistent License Check 2 0x003A7EE4 E8 61 F3 1B 00 90 90 90 90 90
Disable Server Validation Thread 0x003A67FE 55 41 56 53 41 89 F6 48 31 C0 48 FF C0 C3
Disable License Notify Thread 0x003A514E 41 C3
Disable Crash Reporter 0x003A40D2 55 C3
Bash Script
# for Linux
cd /opt/sublime_merge || exit
md5sum -c <<<"43E900A19926409EDF6BD8BA8709C633  sublime_merge" > /dev/null 2>&1 || exit
printf '\x48\xC7\xC0\x19\x01\x00\x00\xC3' | dd of=sublime_merge bs=1 seek=$((0x003A5400)) conv=notrunc
printf '\x90\x90\x90\x90\x90'             | dd of=sublime_merge bs=1 seek=$((0x003A7EC9)) conv=notrunc
printf '\x90\x90\x90\x90\x90'             | dd of=sublime_merge bs=1 seek=$((0x003A7EE4)) conv=notrunc
printf '\x48\x31\xC0\x48\xFF\xC0\xC3'     | dd of=sublime_merge bs=1 seek=$((0x003A67FE)) conv=notrunc
printf '\xC3'                             | dd of=sublime_merge bs=1 seek=$((0x003A514E)) conv=notrunc
printf '\xC3'                             | dd of=sublime_merge bs=1 seek=$((0x003A40D2)) conv=notrunc

macOS ↓

Desciption Offset Original Patched
Initial License Check 0x000261BB 55 48 89 E5 41 57 41 56 48 C7 C0 19 01 00 00 C3
Persistent License Check 1 0x00027F74 E8 62 13 22 00 90 90 90 90 90
Persistent License Check 2 0x00027F93 E8 43 13 22 00 90 90 90 90 90
Disable Server Validation Thread 0x00026E43 55 48 89 E5 41 57 41 48 31 C0 48 FF C0 C3
Disable License Notify Thread 0x00025E76 55 C3
Disable Crash Reporter 0x000248ED 55 C3
Bash Script
# for MacOS
cd "/Applications/Sublime Merge.app/Contents/MacOS/" || exit
[ $(md5 -q sublime_merge) = C38FF301DDCA0E2E8F84E76F6E25CA4B ] || exit
printf '\x48\xC7\xC0\x19\x01\x00\x00\xC3' | dd of=sublime_merge bs=1 seek=$((0x000261BB)) conv=notrunc
printf '\x90\x90\x90\x90\x90'             | dd of=sublime_merge bs=1 seek=$((0x00027F74)) conv=notrunc
printf '\x90\x90\x90\x90\x90'             | dd of=sublime_merge bs=1 seek=$((0x00027F93)) conv=notrunc
printf '\x48\x31\xC0\x48\xFF\xC0\xC3'     | dd of=sublime_merge bs=1 seek=$((0x00026E43)) conv=notrunc
printf '\xC3'                             | dd of=sublime_merge bs=1 seek=$((0x00025E76)) conv=notrunc
printf '\xC3'                             | dd of=sublime_merge bs=1 seek=$((0x000248ED)) conv=notrunc

Sublime Text & Sublime Merge cracked by TNT ( macOS | Without License) ↓

You can check and download the latest version from here (please note that not all versions are corresponding to the cracked version)

DISABLE SYSTEM INTERGRITY PROTECTION (SIP)

sudo spctl --master-disable

DISABLE GATEKEEPER

Enable Allow apps downloaded from “Anywhere” in Security & Privacy

disable-gatekeeper


Можно и вручную версию 4113 (UNLIMITED USER LICENSE).

В hosts:
0.0.0.0 sublimetext.com
0.0.0.0 license.sublimehq.com
0.0.0.0 45.55.255.55 #sublimetext
0.0.0.0 45.55.41.223 #sublimetext

В 16-ном редакторе:

Поиск: C3 C6 01 00 C3
Замена на: C3 C6 01 01 C3

Поиск: 51 31 C0 88 05
Замена на: 51 b0 01 88 05

Ну, это фанатам при живом VSC нужен Sublime. Дело привычки и... принципа зачастую. Или профи, не нуждающимся в услугах столь мощного инструмента, тем, кто вместо VS пользует блокнот. Вот для них, скорее.


Sublime Text v4.x STABLE 4113 (14/07/2021)
SublimeText_4_Build_4113_Win64_Key_and_Patch-SODiUM (Crack only for Standard and Portable editions):

UNLIMITED USER LICENSE

https://www.mediafire.com/file/i7mwico11uejpzh/SublimeText\_4\_Build\_4113\_Win64\_Key\_and\_Patch-SODiUM.7z/file
https://pixeldrain.com/u/vkkCnr4W
https://www30.zippyshare.com/v/KALoKc07/file.html
https://1fichier.com/?kkrs1wpqusv93b1r9g1w


OTHER

Note

  1. If you can, please purchase the genuine license through the official channel and support the software developer.
  2. All crack methods here are implemented by @leogx9r.
  3. All data is not guaranteed to be authoritative or correct, nor has it been tested across the platform, nor is it responsible for any errors, lost data, etc. in practice! Please assess yourself!!!
  4. I am only within the ability to update the information based on the existing crack methods until the existing rules fail.

ToC

Sublime Text Sublime Merge
Stable channel win / linux / mac / mac-arm64 win / linux / mac / mac-arm64
Dev channel win / linux / mac / mac-arm64 win / linux / mac / mac-arm64

How to Crack Sublime Text, Stable Channel, Build 4143

Thanks to @leogx9r for providing cracking methods.

https://gist.github.com/JerryLokjianming/71dac05f27f8c96ad1c8941b88030451?permalink_comment_id=3762200#gistcomment-3762200 https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3802197#gistcomment-3802197 https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3803204#gistcomment-3803204

Win64

Desciption Offset Original Patched
Initial License Check 0x000A9864 55 41 57 41 48 31 C0 C3
Persistent License Check 1 0x000071FE E8 71 8B 20 00 90 90 90 90 90
Persistent License Check 2 0x00007217 E8 58 8B 20 00 90 90 90 90 90
Disable Server Validation Thread 0x000AB682 55 56 57 48 83 EC 30 48 31 C0 48 FF C0 C3
Disable License Notify Thread 0x000A940F 55 C3
Disable Crash Reporter 0x00000400 41 C3

for 4117, 4118: https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3927712#gistcomment-3927712

Bat Script
:: for Win64
cd /d "C:\Program Files\Sublime Text" || exit
certutil -hashfile sublime_text.exe md5 | find /i "654F4259E066F90F4964E695CF808AD0" || exit
echo 000A9864: 48 31 C0 C3          | xxd -r - sublime_text.exe
echo 000071FE: 90 90 90 90 90       | xxd -r - sublime_text.exe
echo 00007217: 90 90 90 90 90       | xxd -r - sublime_text.exe
echo 000AB682: 48 31 C0 48 FF C0 C3 | xxd -r - sublime_text.exe
echo 000A940F: C3                   | xxd -r - sublime_text.exe
echo 00000400: C3                   | xxd -r - sublime_text.exe

PS:xxd.exe extracted from git for windows

The license can be any string.

Blocked by Microsoft Defender SmartScreen -> More Info -> Run Anyway

Screenshot
![Screenshot](https://i.imgur.com/t4QlRZ6.png)

![Screenshot](https://i.imgur.com/18372Rh.png)

Linux

Desciption Offset Original Patched
Initial License Check 0x003A31F2 55 41 57 41 48 31 C0 C3
Persistent License Check 1 0x00399387 E8 08 0E 12 00 90 90 90 90 90
Persistent License Check 2 0x0039939D E8 F2 0D 12 00 90 90 90 90 90
Disable Server Validation Thread 0x003A4E30 55 41 56 53 41 89 F6 48 31 C0 48 FF C0 C3
Disable License Notify Thread 0x003A2E82 41 C3
Disable Crash Reporter 0x0038C9F0 55 C3
Bash Script
# for Linux
cd /opt/sublime_text || exit
md5sum -c <<<"AFDEBB91F2BF42C9B491BAFD517C0A49  sublime_text" || exit
echo 003A31F2: 48 31 C0 C3          | xxd -r - sublime_text
echo 00399387: 90 90 90 90 90       | xxd -r - sublime_text
echo 0039939D: 90 90 90 90 90       | xxd -r - sublime_text
echo 003A4E30: 48 31 C0 48 FF C0 C3 | xxd -r - sublime_text
echo 003A2E82: C3                   | xxd -r - sublime_text
echo 0038C9F0: C3                   | xxd -r - sublime_text

macOS

Desciption Offset Original Patched
Initial License Check 0x00096206 55 48 89 E5 48 31 C0 C3
Persistent License Check 1 0x000086A4 E8 C5 8E 12 00 90 90 90 90 90
Persistent License Check 2 0x000086BC E8 AD 8E 12 00 90 90 90 90 90
Disable Server Validation Thread 0x0009779F 55 48 89 E5 41 57 41 48 31 C0 48 FF C0 C3
Disable License Notify Thread 0x00095DF0 55 C3
Disable Crash Reporter 0x000026A7 55 C3
Bash Script
# for MacOS
cd "/Applications/Sublime Text.app/Contents/MacOS/" || exit
md5 -q sublime_text | grep -i "70909B4BCCB3209C6F6C80122171BA84" || exit
echo 00096206: 48 31 C0 C3          | xxd -r - sublime_text
echo 000086A4: 90 90 90 90 90       | xxd -r - sublime_text
echo 000086BC: 90 90 90 90 90       | xxd -r - sublime_text
echo 0009779F: 48 31 C0 48 FF C0 C3 | xxd -r - sublime_text
echo 00095DF0: C3                   | xxd -r - sublime_text
echo 000026A7: C3                   | xxd -r - sublime_text
Re-Sign App
codesign --force --deep --sign - "/Applications/Sublime Text.app"

Requires Apple Command Line Tools to be installed

macOS (ARM64)

Based on: https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3929427#gistcomment-3929427

Desciption Offset Original Patched
Initial License Check 0x01055A38 E6 03 1E AA 8E 91 0E 94 E0 03 1F AA C0 03 5F D6
Persistent License Check 1 0x00FE4E80 6E A8 03 94 1F 20 03 D5
Persistent License Check 2 0x00FE4E94 69 A8 03 94 1F 20 03 D5
Disable Server Validation Thread 0x01056D2C F6 57 BD A9 C0 03 5F D6
Disable License Notify Thread 0x010556A0 FC 6F BD A9 C0 03 5F D6
Disable Crash Reporter 0x00FE04C0 FC 6F BC A9 C0 03 5F D6
Bash Script
# for macOS (ARM64)
cd "/Applications/Sublime Text.app/Contents/MacOS/" || exit
md5 -q sublime_text | grep -i "70909B4BCCB3209C6F6C80122171BA84" || exit
echo 01055A38: E0 03 1F AA C0 03 5F D6 | xxd -r - sublime_text
echo 00FE4E80: 1F 20 03 D5             | xxd -r - sublime_text
echo 00FE4E94: 1F 20 03 D5             | xxd -r - sublime_text
echo 01056D2C: C0 03 5F D6             | xxd -r - sublime_text
echo 010556A0: C0 03 5F D6             | xxd -r - sublime_text
echo 00FE04C0: C0 03 5F D6             | xxd -r - sublime_text
Re-Sign App
codesign --force --deep --sign - "/Applications/Sublime Text.app"

Requires Apple Command Line Tools to be installed


How to Crack Sublime Text, Dev Channel, Build 4141

Thanks to @leogx9r for providing cracking methods.

https://gist.github.com/JerryLokjianming/71dac05f27f8c96ad1c8941b88030451?permalink_comment_id=3762200#gistcomment-3762200 https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3802197#gistcomment-3802197 https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3803204#gistcomment-3803204

Win64

Desciption Offset Original Patched
Initial License Check 0x000A9914 55 41 57 41 48 31 C0 C3
Persistent License Check 1 0x000071FE E8 41 8D 20 00 90 90 90 90 90
Persistent License Check 2 0x00007217 E8 28 8D 20 00 90 90 90 90 90
Disable Server Validation Thread 0x000AB766 55 56 57 48 83 EC 30 48 31 C0 48 FF C0 C3
Disable License Notify Thread 0x000A94BF 55 C3
Disable Crash Reporter 0x00000400 41 C3

for 4117, 4118: https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3927712#gistcomment-3927712

Bat Script
:: for Win64
cd /d "C:\Program Files\Sublime Text" || exit
certutil -hashfile sublime_text.exe md5 | find /i "4CA479BCCAFE2EF69FC7F71ED4FB65C5" || exit
echo 000A9914: 48 31 C0 C3          | xxd -r - sublime_text.exe
echo 000071FE: 90 90 90 90 90       | xxd -r - sublime_text.exe
echo 00007217: 90 90 90 90 90       | xxd -r - sublime_text.exe
echo 000AB766: 48 31 C0 48 FF C0 C3 | xxd -r - sublime_text.exe
echo 000A94BF: C3                   | xxd -r - sublime_text.exe
echo 00000400: C3                   | xxd -r - sublime_text.exe

PS:xxd.exe extracted from git for windows

The license can be any string.

Blocked by Microsoft Defender SmartScreen -> More Info -> Run Anyway

Screenshot
![Screenshot](https://i.imgur.com/t4QlRZ6.png)

![Screenshot](https://i.imgur.com/18372Rh.png)

Linux

Desciption Offset Original Patched
Initial License Check 0x003A30D4 55 41 57 41 48 31 C0 C3
Persistent License Check 1 0x00399187 E8 42 0E 12 00 90 90 90 90 90
Persistent License Check 2 0x0039919D E8 2C 0E 12 00 90 90 90 90 90
Disable Server Validation Thread 0x003A4CE0 55 41 56 53 41 89 F6 48 31 C0 48 FF C0 C3
Disable License Notify Thread 0x003A2D64 41 C3
Disable Crash Reporter 0x0038C7F0 55 C3
Bash Script
# for Linux
cd /opt/sublime_text || exit
md5sum -c <<<"3B14994442C9BB763BC8ACC14CD9ED89  sublime_text" || exit
echo 003A30D4: 48 31 C0 C3          | xxd -r - sublime_text
echo 00399187: 90 90 90 90 90       | xxd -r - sublime_text
echo 0039919D: 90 90 90 90 90       | xxd -r - sublime_text
echo 003A4CE0: 48 31 C0 48 FF C0 C3 | xxd -r - sublime_text
echo 003A2D64: C3                   | xxd -r - sublime_text
echo 0038C7F0: C3                   | xxd -r - sublime_text

macOS

Desciption Offset Original Patched
Initial License Check 0x00096A4A 55 48 89 E5 48 31 C0 C3
Persistent License Check 1 0x00008DF4 E8 05 90 12 00 90 90 90 90 90
Persistent License Check 2 0x00008E0C E8 ED 8F 12 00 90 90 90 90 90
Disable Server Validation Thread 0x00097FE3 55 48 89 E5 41 57 41 48 31 C0 48 FF C0 C3
Disable License Notify Thread 0x00096638 55 C3
Disable Crash Reporter 0x00002DF7 55 C3
Bash Script
# for MacOS
cd "/Applications/Sublime Text.app/Contents/MacOS/" || exit
md5 -q sublime_text | grep -i "D9F75A7113A9E2A3F88E8F6CD4AE7287" || exit
echo 00096A4A: 48 31 C0 C3          | xxd -r - sublime_text
echo 00008DF4: 90 90 90 90 90       | xxd -r - sublime_text
echo 00008E0C: 90 90 90 90 90       | xxd -r - sublime_text
echo 00097FE3: 48 31 C0 48 FF C0 C3 | xxd -r - sublime_text
echo 00096638: C3                   | xxd -r - sublime_text
echo 00002DF7: C3                   | xxd -r - sublime_text
Re-Sign App
codesign --force --deep --sign - "/Applications/Sublime Text.app"

Requires Apple Command Line Tools to be installed

macOS (ARM64)

Based on: https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3929427#gistcomment-3929427

Desciption Offset Original Patched
Initial License Check 0x010594D4 E6 03 1E AA 15 93 0E 94 E0 03 1F AA C0 03 5F D6
Persistent License Check 1 0x00FE882C 91 A8 03 94 1F 20 03 D5
Persistent License Check 2 0x00FE8840 8C A8 03 94 1F 20 03 D5
Disable Server Validation Thread 0x0105A7CC F6 57 BD A9 C0 03 5F D6
Disable License Notify Thread 0x01059144 FC 6F BD A9 C0 03 5F D6
Disable Crash Reporter 0x00FE3E6C FC 6F BC A9 C0 03 5F D6
Bash Script
# for macOS (ARM64)
cd "/Applications/Sublime Text.app/Contents/MacOS/" || exit
md5 -q sublime_text | grep -i "D9F75A7113A9E2A3F88E8F6CD4AE7287" || exit
echo 010595DC: E0 03 1F AA C0 03 5F D6 | xxd -r - sublime_text
echo 00FE8878: 1F 20 03 D5             | xxd -r - sublime_text
echo 00FE888C: 1F 20 03 D5             | xxd -r - sublime_text
echo 0105A8E4: C0 03 5F D6             | xxd -r - sublime_text
echo 0105924C: C0 03 5F D6             | xxd -r - sublime_text
echo 00FE3EB8: C0 03 5F D6             | xxd -r - sublime_text
Re-Sign App
codesign --force --deep --sign - "/Applications/Sublime Text.app"

Requires Apple Command Line Tools to be installed


How to Crack Sublime Merge, Stable Channel, Build 2079

Thanks to @leogx9r for providing cracking methods.

https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3823090#gistcomment-3823090 https://gist.github.com/JerryLokjianming/71dac05f27f8c96ad1c8941b88030451?permalink_comment_id=3762883#gistcomment-3762883 https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3802197#gistcomment-3802197

Win64

Desciption Offset Original Patched
Initial License Check 0x000254FA 55 41 57 41 48 31 C0 C3
Persistent License Check 1 0x000289C9 E8 7A F6 26 00 90 90 90 90 90
Persistent License Check 2 0x000289E2 E8 61 F6 26 00 90 90 90 90 90
Disable Server Validation Thread 0x00026D59 55 56 57 48 83 EC 30 48 31 C0 48 FF C0 C3
Disable License Notify Thread 0x000250FD 55 C3
Disable Crash Reporter 0x000241A4 41 C3
Bat Script
:: for Win64
cd /d "C:\Program Files\Sublime Merge" || exit
certutil -hashfile sublime_merge.exe md5 | find /i "CC38B7E3DAB6420773962F2C18929669" || exit
echo 000254FA: 48 31 C0 C3             | xxd -r - sublime_merge.exe
echo 000289C9: 90 90 90 90 90          | xxd -r - sublime_merge.exe
echo 000289E2: 90 90 90 90 90          | xxd -r - sublime_merge.exe
echo 00026D59: 48 31 C0 48 FF C0 C3    | xxd -r - sublime_merge.exe
echo 000250FD: C3                      | xxd -r - sublime_merge.exe
echo 000241A4: C3                      | xxd -r - sublime_merge.exe

PS:xxd.exe extracted from git for windows

Linux

Desciption Offset Original Patched
Initial License Check 0x003CC9BA 55 41 57 41 48 31 C0 C3
Persistent License Check 1 0x003CF9DD E8 94 D8 1D 00 90 90 90 90 90
Persistent License Check 2 0x003CF9F3 E8 7E D8 1D 00 90 90 90 90 90
Disable Server Validation Thread 0x003CDFA2 55 41 56 53 41 89 F6 48 31 C0 48 FF C0 C3
Disable License Notify Thread 0x003CC6D2 41 C3
Disable Crash Reporter 0x003CC130 55 C3
Bash Script
# for Linux
cd /opt/sublime_merge || exit
md5sum -c <<<"F58AACE8B32B442949BAA9E59E09483E  sublime_merge" || exit
echo 003CC9BA: 48 31 C0 C3             | xxd -r - sublime_merge
echo 003CF9DD: 90 90 90 90 90          | xxd -r - sublime_merge
echo 003CF9F3: 90 90 90 90 90          | xxd -r - sublime_merge
echo 003CDFA2: 48 31 C0 48 FF C0 C3    | xxd -r - sublime_merge
echo 003CC6D2: C3                      | xxd -r - sublime_merge
echo 003CC130: C3                      | xxd -r - sublime_merge

macOS

Desciption Offset Original Patched
Initial License Check 0x00028623 55 48 89 E5 48 31 C0 C3
Persistent License Check 1 0x0002AD40 E8 36 A7 22 00 90 90 90 90 90
Persistent License Check 2 0x0002AD5F E8 17 A7 22 00 90 90 90 90 90
Disable Server Validation Thread 0x000295BF 55 48 89 E5 41 57 41 48 31 C0 48 FF C0 C3
Disable License Notify Thread 0x000282AA 55 C3
Disable Crash Reporter 0x00027AA9 55 C3
Bash Script
# for MacOS
cd "/Applications/Sublime Merge.app/Contents/MacOS/" || exit
md5 -q sublime_merge | grep -i "5EDD4914770EDEB49AD619E599D108B4" || exit
echo 00028623: 48 31 C0 C3             | xxd -r - sublime_merge
echo 0002AD40: 90 90 90 90 90          | xxd -r - sublime_merge
echo 0002AD5F: 90 90 90 90 90          | xxd -r - sublime_merge
echo 000295BF: 48 31 C0 48 FF C0 C3    | xxd -r - sublime_merge
echo 000282AA: C3                      | xxd -r - sublime_merge
echo 00027AA9: C3                      | xxd -r - sublime_merge
Re-Sign App
codesign --force --deep --sign - "/Applications/Sublime Merge.app"

Requires Apple Command Line Tools to be installed

macOS (ARM64)

!!!! May have expired !!!!

Based on:

Desciption Offset Original Patched
Initial License Check 0x014AE9A8 E6 03 1E AA 6D 9E 10 94 E0 03 1F AA C0 03 5F D6
Persistent License Check 1 0x014B0954 1F 98 06 94 1F 20 03 D5
Persistent License Check 2 0x014B0968 1A 98 06 94 1F 20 03 D5
Disable Server Validation Thread 0x014AF758 F6 57 BD A9 C0 03 5F D6
Disable License Notify Thread 0x014AE6DC FC 6F BD A9 C0 03 5F D6
Disable Crash Reporter 0x014ADFEC FC 6F BC A9 C0 03 5F D6
Bash Script
# for macOS (ARM64)
cd "/Applications/Sublime Merge.app/Contents/MacOS/" || exit
md5 -q sublime_merge | grep -i "5EDD4914770EDEB49AD619E599D108B4" || exit
echo 014AE9A8: E0 03 1F AA C0 03 5F D6 | xxd -r - sublime_merge
echo 014B0954: 1F 20 03 D5             | xxd -r - sublime_merge
echo 014B0968: 1F 20 03 D5             | xxd -r - sublime_merge
echo 014AF758: C0 03 5F D6             | xxd -r - sublime_merge
echo 014AE6DC: C0 03 5F D6             | xxd -r - sublime_merge
echo 014ADFEC: C0 03 5F D6             | xxd -r - sublime_merge
Re-Sign App
codesign --force --deep --sign - "/Applications/Sublime Merge.app"

Requires Apple Command Line Tools to be installed


How to Crack Sublime Merge, Dev Channel, Build 2081

Thanks to @leogx9r for providing cracking methods.

https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3823090#gistcomment-3823090 https://gist.github.com/JerryLokjianming/71dac05f27f8c96ad1c8941b88030451?permalink_comment_id=3762883#gistcomment-3762883 https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3802197#gistcomment-3802197

Win64

Desciption Offset Original Patched
Initial License Check 0x00025AEE 55 41 57 41 48 31 C0 C3
Persistent License Check 1 0x00029059 E8 86 68 27 00 90 90 90 90 90
Persistent License Check 2 0x00029072 E8 6D 68 27 00 90 90 90 90 90
Disable Server Validation Thread 0x000273E9 55 56 57 48 83 EC 30 48 31 C0 48 FF C0 C3
Disable License Notify Thread 0x000256F1 55 C3
Disable Crash Reporter 0x00024798 41 C3
Bat Script
:: for Win64
cd /d "C:\Program Files\Sublime Merge" || exit
certutil -hashfile sublime_merge.exe md5 | find /i "B5498E935CB0906DF9A2D0B6CB5B056B" || exit
echo 00025AEE: 48 31 C0 C3             | xxd -r - sublime_merge.exe
echo 00029059: 90 90 90 90 90          | xxd -r - sublime_merge.exe
echo 00029072: 90 90 90 90 90          | xxd -r - sublime_merge.exe
echo 000273E9: 48 31 C0 48 FF C0 C3    | xxd -r - sublime_merge.exe
echo 000256F1: C3                      | xxd -r - sublime_merge.exe
echo 00024798: C3                      | xxd -r - sublime_merge.exe

PS:xxd.exe extracted from git for windows

Linux

Desciption Offset Original Patched
Initial License Check 0x003CF4F0 55 41 57 41 48 31 C0 C3
Persistent License Check 1 0x003D2503 E8 56 1E 1E 00 90 90 90 90 90
Persistent License Check 2 0x003D2519 E8 40 1E 1E 00 90 90 90 90 90
Disable Server Validation Thread 0x003D0AC8 55 41 56 53 41 89 F6 48 31 C0 48 FF C0 C3
Disable License Notify Thread 0x003CF208 41 C3
Disable Crash Reporter 0x003CEC66 55 C3
Bash Script
# for Linux
cd /opt/sublime_merge || exit
md5sum -c <<<"8204768E92B3F70AB9ECDB5253DEE82D  sublime_merge" || exit
echo 003CF4F0: 48 31 C0 C3             | xxd -r - sublime_merge
echo 003D2503: 90 90 90 90 90          | xxd -r - sublime_merge
echo 003D2519: 90 90 90 90 90          | xxd -r - sublime_merge
echo 003D0AC8: 48 31 C0 48 FF C0 C3    | xxd -r - sublime_merge
echo 003CF208: C3                      | xxd -r - sublime_merge
echo 003CEC66: C3                      | xxd -r - sublime_merge

macOS

Desciption Offset Original Patched
Initial License Check 0x00028D6B 55 48 89 E5 48 31 C0 C3
Persistent License Check 1 0x0002B486 E8 A8 00 23 00 90 90 90 90 90
Persistent License Check 2 0x0002B4A5 E8 89 00 23 00 90 90 90 90 90
Disable Server Validation Thread 0x00029D0F 55 48 89 E5 41 57 41 48 31 C0 48 FF C0 C3
Disable License Notify Thread 0x000289F2 55 C3
Disable Crash Reporter 0x000281F1 55 C3
Bash Script
# for MacOS
cd "/Applications/Sublime Merge.app/Contents/MacOS/" || exit
md5 -q sublime_merge | grep -i "82C49FF5BF32CBD79BF579B9624A7FDB" || exit
echo 00028D6B: 48 31 C0 C3             | xxd -r - sublime_merge
echo 0002B486: 90 90 90 90 90          | xxd -r - sublime_merge
echo 0002B4A5: 90 90 90 90 90          | xxd -r - sublime_merge
echo 00029D0F: 48 31 C0 48 FF C0 C3    | xxd -r - sublime_merge
echo 000289F2: C3                      | xxd -r - sublime_merge
echo 000281F1: C3                      | xxd -r - sublime_merge
Re-Sign App
codesign --force --deep --sign - "/Applications/Sublime Merge.app"

Requires Apple Command Line Tools to be installed

macOS (ARM64)

!!!! May have expired !!!!

Based on:

Desciption Offset Original Patched
Initial License Check 0x014CBDD8 E6 03 1E AA 1B B1 10 94 E0 03 1F AA C0 03 5F D6
Persistent License Check 1 0x014CDD94 70 A8 06 94 1F 20 03 D5
Persistent License Check 2 0x014CDDA8 6B A8 06 94 1F 20 03 D5
Disable Server Validation Thread 0x014CCB98 F6 57 BD A9 C0 03 5F D6
Disable License Notify Thread 0x014CBB08 FC 6F BD A9 C0 03 5F D6
Disable Crash Reporter 0x014CB420 FC 6F BC A9 C0 03 5F D6
Bash Script
# for macOS (ARM64)
cd "/Applications/Sublime Merge.app/Contents/MacOS/" || exit
md5 -q sublime_merge | grep -i "82C49FF5BF32CBD79BF579B9624A7FDB" || exit
echo 014CBDD8: E0 03 1F AA C0 03 5F D6 | xxd -r - sublime_merge
echo 014CDD94: 1F 20 03 D5             | xxd -r - sublime_merge
echo 014CDDA8: 1F 20 03 D5             | xxd -r - sublime_merge
echo 014CCB98: C0 03 5F D6             | xxd -r - sublime_merge
echo 014CBB08: C0 03 5F D6             | xxd -r - sublime_merge
echo 014CB420: C0 03 5F D6             | xxd -r - sublime_merge
Re-Sign App
codesign --force --deep --sign - "/Applications/Sublime Merge.app"

Requires Apple Command Line Tools to be installed

Copy link

ghost commented Jan 30, 2023

Hi, I wrote a patcher for linux, and you guys can use the code and just change the patterns. thanks to everyone for writing the offsets and hex patterns, Link, Thanks, I will make one for all OS's but I just wanted to send a proof of concept.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment