About Sublime Text 3
Sublime Text 3 is a very popular text editor among developers. It is provided for free, but every few saves, you get a popup asking you to purchase Sublime Text for $80.
Now this is a wonderful piece of software, but not everyone has the $80+ to purchase a license for Sublime Text. However, I strongly recommend to eventually buy a license if you have the money to spare to support the development of ST.
Now, let's get into the cracking
Note: At the license prompt for MacOS, enter in any garbage, even a single letter and click Use License.
Make sure you have the correct build number
- Build 3143 (3.0)
- Build 3170 (3.1)
- Build 3176 (3.1.1)
- Notice: At least on Linux, there is a problem with the crack initially working, then going unregistered. For now, as a fix just close and reopen the application, but I will keep this Gist updated if there is a fix found.
Version 3.0 was the first release for Sublime Text 3, here are the commands to crack it!
x64
$fp = "sublime_text.exe"
$bs = [System.IO.File]::ReadAllBytes("${fp}")
$bs[0xB60f6] = 0x85
$bs[0x233f49] = 0x75
$bs[0x7691a] = 0x75
$bs[0x768fc] = 0xeb
$bs[0x768fd] = 0x2a
[System.IO.File]::WriteAllBytes("${fp}",$bs)
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
TBD
x64
$fp = "sublime_text.exe"
$bs = [System.IO.File]::ReadAllBytes("${fp}")
$bs[0x76608] = 0xeb
$bs[0x23f89c] = 0x75
$bs[0x76626] = 0x75
$bs[0xb23c9] = 0x85
$bs[0x76609] = 0x2a
[System.IO.File]::WriteAllBytes("${fp}",$bs)
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
printf '\x00\01' | sudo dd seek=$((0xD5D8)) conv=notrunc bs=1 of=/opt/sublime_text_3/sublime_text
x64
$fp = "sublime_text.exe"
$bs = [System.IO.File]::ReadAllBytes("${fp}")
$bs[0x76a0c] = 0xeb
$bs[0x76a0d] = 0x2a
$bs[0x76a2a] = 0x75
$bs[0xb27d9] = 0x85
$bs[0x23ff18] = 0x75
[System.IO.File]::WriteAllBytes("${fp}",$bs)
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
printf '\x00\01' | sudo dd seek=$((0xD538)) conv=notrunc bs=1 of=/opt/sublime_text/sublime_text
Any help will be greatly appreciated. Post your cracks and scripts below, and I will add them to this page! Thank you for your contributions!