Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@laptrinhcomvn
Last active November 17, 2023 06:53
Show Gist options
  • Save laptrinhcomvn/ae127424a9026f507a3c to your computer and use it in GitHub Desktop.
Save laptrinhcomvn/ae127424a9026f507a3c to your computer and use it in GitHub Desktop.
Sublime Text 3 patching

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

Important Note

Please use built-in Terminal.app (of Mac OS X) to type and rune the command, do not use another tool (like iTerm2).

Common step after enter run the patch command:

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

Build 3200

All

Remember to ban these domain as using your hosts file:

127.0.0.1    sublimetext.com
127.0.0.1    www.sublimetext.com
127.0.0.1    sublimehq.com
127.0.0.1    telemetry.sublimehq.com
127.0.0.1    license.sublimehq.com

Mac OSX

Students pleas use this full version in the meantime. https://nmac.to/sublime-text/

For 3176 build 2018.05.14

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

Linux platform

printf '\x00\01' | sudo dd seek=$((0xD538)) conv=notrunc bs=1 of=/opt/sublime_text/sublime_text

For 3170 build 2018.05.08

VERSION PLATFORM OFFSET ORIGINAL CRACKED
3170 macOS 0xADF6 55 C3
3170   macOS   0xA9C5 55       C3    
3170 macOS   0x84702 55 48 89 E5 41 57 41 56 48 C7 C0 01 00 00 00 C3
printf '\xc3' | dd seek=$((0xadf6)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
printf '\xc3' | dd seek=$((0xa9c5)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
printf '\x48\xc7\xc0\x01\x00\x00\x00\xc3' | dd seek=$((0x84702)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text

Linux platform

printf '\x00\01' | sudo dd seek=$((0xD5D8)) conv=notrunc bs=1 of=/opt/sublime_text_3/sublime_text

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
@hjjiang
Copy link

hjjiang commented Mar 21, 2019

any chance to get this for MacOs?

@laptrinhcomvn
Copy link
Author

@laptrinhcomvn What about the Sublime Merge?

Sorry guy, I do not use Sublime Merge.
I usually use SourceTree as tool for working with git.

@laptrinhcomvn
Copy link
Author

For macversion, Students pleas use this full version in the meantime.
https://nmac.to/sublime-text/

Copy link

ghost commented Apr 13, 2019

Cracking guide for Sublime Text 3.2.1 (3207) and Sublime Merge (1111)

Updated #12 (20190412)

The patch will show the license key for Sublime Text/Merge!

After the patch and enter the license key, the program is fully functional.
Instead of "Free World User" you can enter your name or any text.

One license key for Sublime Text/Merge!

Sources:

User URL
cipherhater Cracking guide for Sublime Text/Merge

Read the guide, run the script, enjoy ... :)


Cracking guide for VueScan 9 x64 (v9.6.38)

Sources:

User URL
cipherhater Cracking guide for VueScan 9.6.38

Read the guide, run the script, enjoy ... :)


"We do not pay for programs that you do not know how to protect..." © CipherHater

Copy link

ghost commented Apr 20, 2019

May as well post it here before a certain someone steals credit...


At the license prompt, enter in any garbage, even a single letter, and click Use License.

Version Platform Offset Original Cracked
3207 macOS 0x6234B 55 C3
0x62061 55 C3
0xDAC5B 55 48 89 E5 41 57 41 56 48 C7 C0 01 00 00 00 C3
printf '\xc3' | dd seek=$((0x6234b)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
printf '\xc3' | dd seek=$((0x62061)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
printf '\x48\xc7\xc0\x01\x00\x00\x00\xc3' | dd seek=$((0xdac5b)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text

@johnwatsondev
Copy link

@cs475x Thanks very much. Saved my life!

@FireHack7z
Copy link

go to : https://www.youtube.com/watch?v=xEwxHrqBhVk&feature=youtu.be
follow step by step for get sublime text 3 crack + mod & theme

@hjjiang
Copy link

hjjiang commented Oct 4, 2019

any1 here update to 3211?

@fredgolightly
Copy link

@mpixelz
Copy link

mpixelz commented Dec 25, 2019

3.2.2 build 3211 for mac? can anyone provide hex script?

@aldoridhoni
Copy link

3.2.2 build 3211 for mac? can anyone provide hex script?

Disable Gatekeeper:

sudo spctl --master-disable
Version Platform Offset Original Cracked
3211 macOS 0x61e81 55 C3
0x61b97 55 C3
0xda4cf 55 48 89 E5 41 57 41 56 48 C7 C0 01 00 00 00 C3
printf '\xc3' | dd seek=$((0x61e81)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
printf '\xc3' | dd seek=$((0x61b97)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
printf '\x48\xc7\xc0\x01\x00\x00\x00\xc3' | dd seek=$((0xda4cf)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text

@h4rk8s
Copy link

h4rk8s commented May 13, 2020

3.2.2 build 3211 for mac? can anyone provide hex script?

Disable Gatekeeper:

sudo spctl --master-disable

Version Platform Offset Original Cracked
3211 macOS 0x61e81 55 C3
0x61b97 55 C3
0xda4cf 55 48 89 E5 41 57 41 56 48 C7 C0 01 00 00 00 C3

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

tanks!

@mepsteinj
Copy link

3.2.2 build 3211 for linux x64? anyone please?

@racterub
Copy link

3.2.2 build 3211 for mac? can anyone provide hex script?

Disable Gatekeeper:

sudo spctl --master-disable

Version Platform Offset Original Cracked
3211 macOS 0x61e81 55 C3
0x61b97 55 C3
0xda4cf 55 48 89 E5 41 57 41 56 48 C7 C0 01 00 00 00 C3

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

tanks!

crashed :(

@rndx539
Copy link

rndx539 commented Sep 17, 2020

@korniltsev
Copy link

push 1; pop rax; ret; = [ 6a 01 58 c3 ]

@mariadaa
Copy link

mariadaa commented Oct 6, 2022

In case you are mac user this can help you a lot
https://www.getmacapps.org/

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