toannk
3/26/2015 - 3:49 AM

Sublime Text 3 patching

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

For 3170 build 2018.05.08

VERSIONPLATFORMOFFSETORIGINALCRACKED
3170macOS0xADF655C3
3170macOS0xA9C555C3
3170macOS0x8470255 48 89 E5 41 57 41 5648 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

For 3143 build 2017.09.14

VERSIONPLATFORMOFFSETORIGINALCRACKED
3143macOS0x65D455C3
3143macOS0x621955C3
3143macOS0x7521455 48 89 E5 41 57 41 5648 C7 C0 01 00 00 00 C3
3143Linux x86_640x19D4689 E8 74FF 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

VERSIONPLATFORMOFFSETORIGINALCRACKED
3126macOS0x6890F8E0
3126Win x860xBA11D1A2A
3126Win x640xFC53B9495
3126Linux x860xC35C9495
3126Linux x640xC62E9495

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