Skip to content

Instantly share code, notes, and snippets.

@maboloshi
Last active January 8, 2026 14:40
Show Gist options
  • Select an option

  • Save maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47 to your computer and use it in GitHub Desktop.

Select an option

Save maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47 to your computer and use it in GitHub Desktop.
Crack Sublime Text and Sublime Merge

How to Crack Sublime Text Build 4121

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
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

Bat Script
:: 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

Screenshot

Screenshot

Screenshot

Linux ↓

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

Bash Script
# 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

macOS ↓

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
Bash Script
# 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
Re-Sign App
codesign --force --deep --sign - "/Applications/Sublime Text.app"

Requires Apple Command Line Tools to be installed

macOS (M1 ARM64) ↓

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
Bash Script
# 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

How to Crack Sublime Merge Build 2063

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 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
Bat Script
:: 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

Linux ↓

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
Bash Script
# 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

macOS ↓

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
Bash Script
# 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
Re-Sign App
codesign --force --deep --sign - "/Applications/Sublime Merge.app"

Requires Apple Command Line Tools to be installed

macOS (M1 ARM64) ↓

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
Bash Script
# 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

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

@Ser4ph4
Copy link

Ser4ph4 commented Jun 10, 2025

Sublime Merge Build 2102, como ativar?

Oi, @EchoEngineer77 já fiz isso e não houve nenhuma atualização no Sublime Merge desde outubro de 2024 . Não consigo verificar se o patch funciona porque não estou usando o Sublime Merge...

No problem, I tried several ways:2102 none of them work... thanks for answering.

@gittchan
Copy link

gittchan commented Jun 15, 2025

Powershell with same template as @aasastra from Jun 26, 2024

ST4 4200 for Windows (Win64)

Stop-Process -Name "sublime_text" -Force -ErrorAction SilentlyContinue
Set-Location -Path "C:\Program Files\Sublime Text" -ErrorAction Stop

$hash = Get-FileHash .\sublime_text.exe -Algorithm MD5
if ($hash.Hash -ne "671B865FBDE25CDCBD0144D3E7BAEA31") {
    exit
}

function Write-Bytes {
    param (
        [string]$file,
        [int64]$offset,
        [byte[]]$bytes
    )

    $stream = [System.IO.File]::Open($file, [System.IO.FileMode]::Open, [System.IO.FileAccess]::Write)
    $stream.Seek($offset, [System.IO.SeekOrigin]::Begin) > $null
    $stream.Write($bytes, 0, $bytes.Length)
    $stream.Close()
}

Write-Bytes -file "C:\Program Files\Sublime Text\sublime_text.exe" -offset 0x000318AA -bytes @(0x90, 0x90, 0x90, 0x90, 0x90) # invalidate1
Write-Bytes -file "C:\Program Files\Sublime Text\sublime_text.exe" -offset 0x000318C3 -bytes @(0x90, 0x90, 0x90, 0x90, 0x90) # invalidate2
Write-Bytes -file "C:\Program Files\Sublime Text\sublime_text.exe" -offset 0x000A85E5 -bytes @(0x48, 0x31, 0xC0, 0xC3) # license_notification
Write-Bytes -file "C:\Program Files\Sublime Text\sublime_text.exe" -offset 0x000A891C -bytes @(0x48, 0x31, 0xC0, 0xC3) # license_check.2
Write-Bytes -file "C:\Program Files\Sublime Text\sublime_text.exe" -offset 0x000AA0DC -bytes @(0x48, 0x31, 0xC0, 0x48, 0xFF, 0xC0, 0xC3) # server_validate_4199_4200

Write-Output "Modifications complete."

@Destitute-Streetdwelling-Guttersnipe
Copy link

@Destitute-Streetdwelling-Guttersnipe
Copy link

@endlessuniverse
Copy link

Sublime Text 4 Build 4200

MD5 Before: cf2ba60236f6284da1581e29c3df35e7 MD5 After: fafcd973c631fcea17d77b04bbbb9652

Screenshot: image

Bash Script:

#!/bin/bash
# ST build 4200, Linux64
cd /opt/sublime_text || exit
md5sum -c <<< "cf2ba60236f6284da1581e29c3df35e7  sublime_text" || exit

echo 00571483: 90 90 90 90 90          | xxd -r - sublime_text
echo 0057149C: 90 90 90 90 90          | xxd -r - sublime_text
echo 00584378: C3                      | xxd -r - sublime_text
echo 00584658: 48 C7 C0 00 00 00 00 C3 | xxd -r - sublime_text
echo 00586008: C3                      | xxd -r - sublime_text

@DrunkenAlcoholic Hi. Can you please update your BytePatcher tool?

I tried this Bash script with the same version in Linux (Sublime Text 4 Build 4200) but the hash is different: 2de36b6755ac192ba0970bebcecf6c40

@DrunkenAlcoholic
Copy link

DrunkenAlcoholic commented Aug 8, 2025

@endlessuniverse

The repository has been updated and tested on a VM with a clean install of SolusOS and Sublime Text https://github.com/DrunkenAlcoholic/BytePatcher

image

Note: You will need to enter anything into the registration box and click "Register" to activate after patching

@endlessuniverse
Copy link

@DrunkenAlcoholic Thanks a lot!!!

@Kwodan
Copy link

Kwodan commented Aug 11, 2025

Hi. Sublime Merge 2110 is out now. Has anyone cracked it?

@ask6483
Copy link

ask6483 commented Aug 11, 2025

@Kwodan
Copy link

Kwodan commented Aug 12, 2025

@ask6483 Thank you)

@aynakeya
Copy link

aynakeya commented Aug 14, 2025

Sublime Merge Linux Stable 2110

not tested, not sure if crash_reporter_func is the correct one

Desciption Offset Original Patched
is_license_valid 0x005A4C10 55 41 57 41 56 41 55 41 48 C7 C0 19 01 00 00 C3
persistent_license_check_1 0x005A747D E8 34 43 11 00 90 90 90 90 90
persistent_license_check_2 0x005A7495 E8 1C 43 11 00 90 90 90 90 90
thread_check_license_func 0x005A608C 55 41 57 41 48 31 C0 C3
thread_license_notification_func 0x005A4980 41 54 53 48 48 31 C0 C3
crash_reporter_func 0x006ADB8B 55 41 57 41 48 31 C0 C3

Bash Script

# for Linux
cd "/opt/sublime_merge" || exit
md5sum -c <<<"66F76720E120895B4B325201A2042BC6  sublime_merge" || exit
echo 005A4C10: 48 C7 C0 19 01 00 00 C3 | xxd -r - sublime_merge
echo 005A747D: 90 90 90 90 90       | xxd -r - sublime_merge
echo 005A7495: 90 90 90 90 90       | xxd -r - sublime_merge
echo 005A608C: 48 31 C0 C3          | xxd -r - sublime_merge
echo 005A4980: 48 31 C0 C3          | xxd -r - sublime_merge
echo 006ADB8B: 48 31 C0 C3          | xxd -r - sublime_merge

Sublime Text Linux Stable 4200

also not fully tested. but should work

Desciption Offset Original Patched
is_license_valid 0x00584658 55 41 57 41 48 31 C0 C3
persistent_license_check_1 0x00571483 E8 92 52 0E 00 90 90 90 90 90
persistent_license_check_2 0x0057149C E8 79 52 0E 00 90 90 90 90 90
thread_check_license_func 0x00586048 55 41 57 41 48 31 C0 C3
thread_license_notification_func 0x0058437C 41 54 53 48 48 31 C0 C3
crash_reporter_func 0x008B4B73 55 41 57 41 48 31 C0 C3

Bash Script

# for Linux
cd "/opt/sublime_text" || exit
md5sum -c <<<"2DE36B6755AC192BA0970BEBCECF6C40  sublime_text" || exit
echo 00584658: 48 31 C0 C3          | xxd -r - sublime_text
echo 00571483: 90 90 90 90 90       | xxd -r - sublime_text
echo 0057149C: 90 90 90 90 90       | xxd -r - sublime_text
echo 00586048: 48 31 C0 C3          | xxd -r - sublime_text
echo 0058437C: 48 31 C0 C3          | xxd -r - sublime_text
echo 008B4B73: 48 31 C0 C3          | xxd -r - sublime_text

@Destitute-Streetdwelling-Guttersnipe
Copy link

@Bruskyer
Copy link

pls can you share offsets for Sublime Merge Win64 Stable 2110

@aynakeya
Copy link

@Bruskyer i don't have windows machine, so no guarante it works

Sublime Merge Windows Stable 2110

Desciption Offset Original Patched
is_license_valid 0x00047CD8 41 57 41 56 41 55 41 54 48 C7 C0 19 01 00 00 C3
persistent_license_check_1 0x0004A10C E8 CF 32 1C 00 90 90 90 90 90
persistent_license_check_2 0x0004A125 E8 B6 32 1C 00 90 90 90 90 90
thread_check_license_func 0x0004895E 41 57 41 56 48 31 C0 C3
thread_license_notification_func 0x000479CF 41 57 41 56 48 31 C0 C3
crash_reporter_func 0x00158174 41 57 41 56 48 31 C0 C3

Bash Script

:: for Win64
cd /d "C:\Program Files\Sublime Merge" || exit
certutil -hashfile sublime_merge.exe md5 | find /i "EB2E9BAA17F50C553A61E83132750065" || exit
echo 00047CD8: 48 C7 C0 19 01 00 00 C3 | xxd -r - sublime_merge.exe
echo 0004A10C: 90 90 90 90 90       | xxd -r - sublime_merge.exe
echo 0004A125: 90 90 90 90 90       | xxd -r - sublime_merge.exe
echo 0004895E: 48 31 C0 C3          | xxd -r - sublime_merge.exe
echo 000479CF: 48 31 C0 C3          | xxd -r - sublime_merge.exe
echo 00158174: 48 31 C0 C3          | xxd -r - sublime_merge.exe

@ehsan18t
Copy link

ehsan18t commented Sep 15, 2025

Any patches for Sublime Merge Stable 2112 Win64?

@Destitute-Streetdwelling-Guttersnipe
Copy link

@EchoEngineer77
Copy link

Sublime Merge 2112

Linux x64

echo 005A3A7E: 48 C7 C0 01 00 00 00 C3 | xxd -r - sublime_merge
echo 005A62B7: 90 90 90 90 90          | xxd -r - sublime_merge
echo 005A62CF: 90 90 90 90 90          | xxd -r - sublime_merge
echo 005A37EE: C3                      | xxd -r - sublime_merge
echo 005A4E8A: C3                      | xxd -r - sublime_merge

Windows x64

echo 00047D06: 48 C7 C0 01 00 00 00 C3 | xxd -r - sublime_merge.exe
echo 0004A126: 90 90 90 90 90          | xxd -r - sublime_merge.exe
echo 0004A13F: 90 90 90 90 90          | xxd -r - sublime_merge.exe
echo 000479FD: C3                      | xxd -r - sublime_merge.exe
echo 00048DFF: C3                      | xxd -r - sublime_merge.exe

@yabasha
Copy link

yabasha commented Oct 23, 2025

Hi guys, any patches for ST 4 4200 MacOS Apple Silicon, and Sublime Merge 2112 for MacOs Apple Silicon?

@rhcp011235
Copy link

Hi guys, any patches for ST 4 4200 MacOS Apple Silicon, and Sublime Merge 2112 for MacOs Apple Silicon?

cd "/Applications/Sublime Text.app/Contents/MacOS/" || exit
md5 -q sublime_text | grep -i "4AA67B38CCFCC37A2E7AF0239750F889" || exit

echo 00239DCF: 48 C7 C0 00 00 00 00 C3 | xxd -r - sublime_text
echo 00230C35: 90 90 90 90 90 | xxd -r - sublime_text
echo 00230C4D: 90 90 90 90 90 | xxd -r - sublime_text
echo 00239A96: C3 | xxd -r - sublime_text
echo 0023B035: C3 | xxd -r - sublime_text

echo 00EF9E24: 00 00 80 D2 C0 03 5F D6 | xxd -r - sublime_text
echo 00EF3570: 1F 20 03 D5 | xxd -r - sublime_text
echo 00EF3584: 1F 20 03 D5 | xxd -r - sublime_text
echo 00EF9B4C: C0 03 5F D6 | xxd -r - sublime_text
echo 00EFADA4: C0 03 5F D6 | xxd -r - sublime_text

codesign --force --deep --sign - "/Applications/Sublime Text.app"

@tt14tt
Copy link

tt14tt commented Oct 26, 2025

How you guys know how to crack the executable? Is there any turorial?

@yabasha
Copy link

yabasha commented Oct 26, 2025

Hi guys, any patches for ST 4 4200 MacOS Apple Silicon, and Sublime Merge 2112 for MacOs Apple Silicon?

cd "/Applications/Sublime Text.app/Contents/MacOS/" || exit md5 -q sublime_text | grep -i "4AA67B38CCFCC37A2E7AF0239750F889" || exit

echo 00239DCF: 48 C7 C0 00 00 00 00 C3 | xxd -r - sublime_text echo 00230C35: 90 90 90 90 90 | xxd -r - sublime_text echo 00230C4D: 90 90 90 90 90 | xxd -r - sublime_text echo 00239A96: C3 | xxd -r - sublime_text echo 0023B035: C3 | xxd -r - sublime_text

echo 00EF9E24: 00 00 80 D2 C0 03 5F D6 | xxd -r - sublime_text echo 00EF3570: 1F 20 03 D5 | xxd -r - sublime_text echo 00EF3584: 1F 20 03 D5 | xxd -r - sublime_text echo 00EF9B4C: C0 03 5F D6 | xxd -r - sublime_text echo 00EFADA4: C0 03 5F D6 | xxd -r - sublime_text

codesign --force --deep --sign - "/Applications/Sublime Text.app"

Thank you it worked 🥳

Can you get a patch for Sublime Merge 2112? Thanx

@endlessuniverse
Copy link

endlessuniverse commented Nov 28, 2025

@EchoEngineer77 Thank you. It works in Linux.

@StarLeet
Copy link

can anyone share SM 2119, Win64?

@aynakeya
Copy link

Sublime Merge Linux Stable 2121

Original MD5: EC4760507C0223DDEECCB9DC754B3435

Desciption Offset Original Patched
is_license_valid 0x005A5FAE 55 41 57 41 56 41 55 41 48 C7 C0 19 01 00 00 C3
persistent_license_check_1 0x005A881F E8 EC 8C 11 00 90 90 90 90 90
persistent_license_check_2 0x005A8837 E8 D4 8C 11 00 90 90 90 90 90
thread_check_license_func 0x005A742E 55 41 57 41 48 31 C0 C3
thread_license_notification_func 0x005A5D1E 41 57 41 56 48 31 C0 C3
crash_reporter_func 0x006B3285 55 41 57 41 48 31 C0 C3

Bash Script

# for Linux
cd "/opt/sublime_merge" || exit
md5sum -c <<<"EC4760507C0223DDEECCB9DC754B3435  sublime_merge" || exit
echo 005A5FAE: 48 C7 C0 19 01 00 00 C3 | xxd -r - sublime_merge
echo 005A881F: 90 90 90 90 90       | xxd -r - sublime_merge
echo 005A8837: 90 90 90 90 90       | xxd -r - sublime_merge
echo 005A742E: 48 31 C0 C3          | xxd -r - sublime_merge
echo 005A5D1E: 48 31 C0 C3          | xxd -r - sublime_merge
echo 006B3285: 48 31 C0 C3          | xxd -r - sublime_merge

@ask6483
Copy link

ask6483 commented Dec 20, 2025

@aynakeya Thx, I can confirm that it's working.

@S8D
Copy link

S8D commented Dec 29, 2025

I successfully patched Sublime Merge 2121 on ArchLinux with the code below. Enjoy!
sudo perl -e 'chdir "/opt/sublime_merge" or die "Cannot cd: $!\n"; my $f="sublime_merge"; open(my $fh,"+<",$f) or die "Cannot open: $!\n"; binmode $fh; my @p=([0x5A5FAE,"48C7C019010000C3"],[0x5A881F,"9090909090"],[0x5A8837,"9090909090"],[0x5A742E,"4831C0C3"],[0x5A5D1E,"4831C0C3"],[0x6B3285,"4831C0C3"]); foreach(@p){seek($fh,$_->[0],0) or die "Seek fail"; print $fh pack("H*",$_->[1]);} close $fh; print "Patched Sublime Merge 2121^^\n";'

or
sudo perl -pi -e 's/\x55\x41\x57\x41\x56\x41\x55\x41\x48\xC7\xC0\x19\x01\x00\x00\xC3/\x48\xC7\xC0\x19\x01\x00\x00\xC3/' /opt/sublime_merge/sublime_merge

@urxi
Copy link

urxi commented Jan 1, 2026

macOS

Sublime Text (Stable Channel, Build 4200)
cd "/Applications/Sublime Text.app/Contents/MacOS/" || exit
md5 -q sublime_text | grep -i "4AA67B38CCFCC37A2E7AF0239750F889" || exit

echo 00239DCF: 48 C7 C0 00 00 00 00 C3 | xxd -r - sublime_text
echo 00230C35: 90 90 90 90 90          | xxd -r - sublime_text
echo 00230C4D: 90 90 90 90 90          | xxd -r - sublime_text
echo 00239A96: C3                      | xxd -r - sublime_text
echo 0023B035: C3                      | xxd -r - sublime_text

echo 00EF9E24: 00 00 80 D2 C0 03 5F D6 | xxd -r - sublime_text
echo 00EF3570: 1F 20 03 D5             | xxd -r - sublime_text
echo 00EF3584: 1F 20 03 D5             | xxd -r - sublime_text
echo 00EF9B4C: C0 03 5F D6             | xxd -r - sublime_text
echo 00EFADA4: C0 03 5F D6             | xxd -r - sublime_text

codesign --force --deep --sign - "/Applications/Sublime Text.app"
Sublime Merge (Stable Channel, Build 2121)
cd "/Applications/Sublime Merge.app/Contents/MacOS/" || exit
md5 -q sublime_merge | grep -i "6AFDC2ACBB858785FC11985BF901900A" || exit

echo 00236718: 48 C7 C0 19 01 00 00 C3 | xxd -r - sublime_merge
echo 002388EA: 90 90 90 90 90          | xxd -r - sublime_merge
echo 00238909: 90 90 90 90 90          | xxd -r - sublime_merge
echo 0023641C: C3                      | xxd -r - sublime_merge
echo 00237310: C3                      | xxd -r - sublime_merge

echo 01041338: 20 23 80 D2 C0 03 5F D6 | xxd -r - sublime_merge
echo 01042C10: 1F 20 03 D5             | xxd -r - sublime_merge
echo 01042C24: 1F 20 03 D5             | xxd -r - sublime_merge
echo 010410C4: C0 03 5F D6             | xxd -r - sublime_merge
echo 01041C78: C0 03 5F D6             | xxd -r - sublime_merge

codesign --force --deep --sign - "/Applications/Sublime Merge.app"

@zheltikov
Copy link

Is there a patch available for Sublime Merge 2121 for Linux arm64?

@Destitute-Streetdwelling-Guttersnipe
Copy link

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