Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save fearblackcat/9d75d886bd14bf62e8ae6a5a9a1d99c3 to your computer and use it in GitHub Desktop.
Save fearblackcat/9d75d886bd14bf62e8ae6a5a9a1d99c3 to your computer and use it in GitHub Desktop.
Sublime Text 3 patching

Ref: https://gist.github.com/vertexclique/9839383

For 3143 build 2017.09.14

VERSION PLATFORM OFFSET ORIGINAL CRACKED
3143 macOS 0x65D4 55 C3
3143   macOS   0x6219 55       C3    
3143 macOS   0x75214 55 48 89 E5 41 57 41 56 48 C7 C0 01 00 00 00 C3
3143 Linux x86_64   0x19D46 89 E8 74 FF C0 EB

Open Terminal and run bellow 3 commands (run all of them)

printf '\xc3' | dd seek=$((0x65d4)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
printf '\xc3' | dd seek=$((0x6219)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
printf '\x48\xc7\xc0\x01\x00\x00\x00\xc3' | dd seek=$((0x75214)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text

After run the commands, start new Sublime Text app, go to Main Menu > Help > Enter License. On the popup type in any text (example "a") and click Use Licence .

For 3126 build 2016.09.26

VERSION PLATFORM OFFSET ORIGINAL CRACKED
3126 macOS 0x6890 F8 E0
3126 Win x86 0xBA11D 1A 2A
3126 Win x64 0xFC53B 94 95
3126 Linux x86 0xC35C 94 95
3126 Linux x64 0xC62E 94 95

Terminal command for Mac OS X:

printf '\xe0' | dd seek=$((0x6890)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text

Terminal command for Linux x86:

printf '\x95' | dd seek=$((0xc35c)) conv=notrunc bs=1 of=/path/to/sublime_text

For 3124 build 2016.09.22

VERSION PLATFORM OFFSET ORIGINAL CRACKED
3124 macOS 0x5d5d F8 E0
printf '\xe0' | dd seek=$((0x5d5d)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text

For 3114 build 2016.05.17

VERSION PLATFORM OFFSET ORIGINAL CRACKED
3114 Linux x64 0xc700 94 95
3114 Linux x86 0xc429 94 95
3114 Win x64 0xe62b4 94 95
3114* Win x64 0xe62b1 f8 e0
3114 Win x86 0xa22fb 1a 2a
3114* Win x86 0xa22fb 1a fe
3114 OSX 0x5d9e f8 e0
  • star * marked rows means another method.

Crack 3114 for Linux x64 (Only Ubuntu default installtion, dd maybe require elevation of privilege. )

printf '\x95' | dd seek=$((0xc700)) conv=notrunc bs=1 of=/path/to/sublime_text

For 3103 build

Michael Barnes Single User License EA7E-821385 8A353C41 872A0D5C DF9B2950 AFF6F667 C458EA6D 8EA3C286 98D1D650 131A97AB AA919AEC EF20E143 B361B1E7 4C8B7F04 B085E65E 2F5F5360 8489D422 FB8FC1AA 93F6323C FD7F7544 3F39C318 D95E6480 FCCC7561 8A4A1741 68FA4223 ADCEDE07 200C25BE DBBC4855 C4CFB774 C5EC138C 0FEC1CEF D9DCECEC D3A5DAD1 01316C36

To pupils: all binaries can be downloaded http://pan.baidu.com/s/1ntCChyp

After overwriting, maybe need to run chmod +x /path/to/sublime_text. For linux default installation, need to add sudo.

For programmers:

VERSION PLATFORM OFFSET ORIGINAL CRACKED
3107 Linux x64 0xd142 94 95
3107 Linux x86 0xcb79 94 95
3107 Win x64 0xe4598 94 95
3107* Win x64 0xe4595 f8 e0
3107 Win x86 0xa0c84 1a 2a
3107* Win x86 0xa0c84 1a fe
3107 OSX 0x64ae f8 e0
  • star * marked rows means another method.

Crack 3107 for Linux x64 (Only Ubuntu default installtion, dd maybe require elevation of privilege. )

printf '\x95' | dd seek=$((0xd142)) conv=notrunc bs=1 of=/path/to/sublime_text
VERSION Md5 check for Windows x64
3107 md5:2cbdbcf5f1f6b729a50ca7f343c15d47

If you have no idea about cracking for Windows, recommend to use Hex​Viewer . But first of all, maybe sublime text 3103 or 2.0.2 is needed.

Traditional offset:

VERSION PLATFORM OFFSET ORIGINAL CRACKED
3107 Linux x64 0xd13f ff c8 31 c0
3107 Linux x86 0xcb77 48 0f 94 c0 c6 c0 01 90
3107 Win x64 0xe4594 83 f8 01 3b c0 90
3107 Win x86 0xa0c84 1a 2a
3107 OSX 0x64ad 83 f8 01 39 c0 90

Previous versions download link.

A mirror: https://sublimecrack.wordpress.com

Github : @fdxer

For 3083 build

Mac OS X

OFFSET ORIGINAL CRACKED
0x69cf 85 39
printf '\x39' | dd seek=$((0x69cf)) conv=notrunc bs=1 of=/path/to/sublime_text

Linux x86_64

OFFSET ORIGINAL CRACKED
0xcbe3 85 39
printf '\x39' | dd seek=$((0xcbe3)) conv=notrunc bs=1 of=/path/to/sublime_text

Window x86_64

OFFSET ORIGINAL CRACKED
0xe21b3 85 3B

All download

Download

For 3080 build

http://pan.baidu.com/s/1hqH2Pko#path=%252F

http://goo.gl/tU516d

Patch via command:

Mac OS X command:

Using sed
brew install gnu-sed
gsed -i 's/\xb5\xa3\x06\x00\x85\xc0/\xb5\xa3\x06\x00\x39\xc0/' /path/to/sublime_text
Using vim editor
:%!xxd
:%s/84 a706 0085/84 a706 0039/
:%!xxd -r
:wq

Linux command to patch:

sudo sed -i 's/\xf3\x01\x00\x85\xc0\x0f/\xf3\x01\x00\x39\xc0\x0f/' /opt/sublime_text/sublime_text

Windows 64

Sublime Text 3, build 3080 (dev) for Windows x64

OFFSET ORIGINAL CRACKED
0xe2de3 85 3B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment