Skip to content

Instantly share code, notes, and snippets.

@opastorello
Last active November 9, 2024 11:02
Show Gist options
  • Save opastorello/4d494d627ec9012367028c89cb7a1945 to your computer and use it in GitHub Desktop.
Save opastorello/4d494d627ec9012367028c89cb7a1945 to your computer and use it in GitHub Desktop.
sublime text 4143 license key
> * Go to [hexed.it](https://hexed.it/)
> * Click "Open File" and choose your sublime_text.exe **(DON'T FORGET TO BACKUP YOUR EXE FILE)**
> * Go to Search and in "Search for" put: 80 78 05 00 0F 94 C1
> * In Search Type select "Enable replace" and put: 80 78 05 00 0F 94 C1
> * Click "Find next" then "Replace"
> * Do the same thing with: C6 40 05 01 48 85 C9 => C6 40 05 01 48 85 C9
> * Click "Save as" then name it: sublime_text
> * Copy your modified sublime_text.exe to directory Sublime Text
@erbanku
Copy link

erbanku commented Aug 4, 2023

Build 4151

@djsaikrishna use HXD to find hex and replace

  1. run HxD as admin
  2. Open sublime text exe

Find in Hex: 80 78 05 00 0f 94 c1 Replace with: c6 40 05 01 48 85 c9

This works with version 4152 too

Screenshot 2023-08-04 093856

It didn’t work for me, so I tried the software above.

@KenKout
Copy link

KenKout commented Aug 5, 2023

Thanks the original author(@YJP1214)'s post!

To avoid other friends not knowing how to use it, I rewrote the script. See below.

# 1. Download the application and drag it into `/Applications`

# 2. Move to the app's directory
cd "/Applications/Sublime Text.app/Contents/MacOS/"

# 3. Do below to comfirm version is matched
md5 -q sublime_text | grep -i "70909B4BCCB3209C6F6C80122171BA84"

# 4. Change the hex data just using `echo` and `xxd`
echo 01055A38: E0 03 1F AA C0 03 5F D6 | xxd -r - sublime_text
echo 00FE4E80: 1F 20 03 D5 | xxd -r - sublime_text
echo 00FE4E94: 1F 20 03 D5 | xxd -r - sublime_text
echo 01056D2C: C0 03 5F D6 | xxd -r - sublime_text
echo 010556A0: C0 03 5F D6 | xxd -r - sublime_text
echo 00FE04C0: C0 03 5F D6 | xxd -r - sublime_text

# 5. Replace the signature
codesign --force --deep --sign - "/Applications/Sublime Text.app"

# 6. Execute app, done. No more need the license key.

BTW, this works on macOS Ventura 13.3.1 and Sublime Text 4 build 4143 at 2023-04-27 Activated

@ChowRex can you please update build 4152 ? I have tried on newest version and it's not working. Thank you very much for rewritting the script.

@cow1337killer3
Copy link

This worked for me on Windows 11 with build 4152, and you don't have to download anything from anywhere just edit the hex of the original Sublime .exe file: https://www.nairatag.com/general/crack-sublime-text-4-easily/

@AdamiPL
Copy link

AdamiPL commented Aug 19, 2023

it doesn't work for macOS :(

@XhstormR
Copy link

It's works for me on MacOs.
Date 2023/8/20
Ver. 4152

image

@Destitute-Streetdwelling-Guttersnipe

it doesn't work for macOS :(
@AdamiPL it doesn't work in Mac M1/M2, but it works in other Mac with Intel CPU

@AdamiPL
Copy link

AdamiPL commented Aug 23, 2023

It's works for me on MacOs. Date 2023/8/20 Ver. 4152

image

which method have you used?

@XhstormR
Copy link

It's works for me on MacOs. Date 2023/8/20 Ver. 4152
image

which method have you used?

just like the gist author said.

@giserd
Copy link

giserd commented Sep 1, 2023

can someone help me with the activation method for sublime 4143 for Windows. I only see macOS and Linux solutions有人可以帮我解决 sublime 4143 for Windows 的激活方法吗?我只看到 macOS 和 Linux 解决方案

https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47#how-to-crack-sublime-text-stable-channel-build-4143

good work!!!

@imanismailbox
Copy link

thanks, work for me. on v 4152 with ubuntu

@Wrestor
Copy link

Wrestor commented Sep 7, 2023

It's works for me on MacOs. Date 2023/8/20 Ver. 4152
image

which method have you used?

just like the gist author said.

on arm(m1) or x86(intel)?

@Destitute-Streetdwelling-Guttersnipe
Copy link

@ProjectXsent
Copy link

Worked for me on Build 4166. I used HxD hex editor program but same method.

  1. Run HxD as Admin.
  2. Open (Ctrl + O) and find "sublime_text.exe".
  3. Search > Replace (Ctrl + R) > Hex values
  4. Enter the following: Search for: 80 78 05 00 0F 94 C1 -> Replace with: C6 40 05 01 48 85 C9. Search direction: All -> Replace All (only 1 instance found for me).
  5. Save (Ctrl + S) then exit HxD.
  6. Run Sublime Text.

@LucasSilvaPeres
Copy link

Worked for me on Build 4169. Same steps as @ProjectXsent but I used hexed.it
image

@tgttttttttt
Copy link

it doesn't work for macOS :(
@AdamiPL it doesn't work in Mac M1/M2, but it works in other Mac with Intel CPU

+1

@L0veHeather
Copy link

L0veHeather commented Jan 26, 2024

Copy link

ghost commented Jan 27, 2024

Worked for me on Build 4166. I used HxD hex editor program but same method.

1. Run HxD as Admin.

2. Open (Ctrl + O) and find "sublime_text.exe".

3. Search > Replace (Ctrl + R) > Hex values

4. Enter the following: `Search for: 80 78 05 00 0F 94 C1 -> Replace with: C6 40 05 01 48 85 C9`. Search direction: All -> Replace All (only 1 instance found for me).

5. Save (Ctrl + S) then exit HxD.

6. Run Sublime Text.

works on 4169, thanks!

@Lastr1ks
Copy link

Worked for me on Build 4166. I used HxD hex editor program but same method.

  1. Run HxD as Admin.
  2. Open (Ctrl + O) and find "sublime_text.exe".
  3. Search > Replace (Ctrl + R) > Hex values
  4. Enter the following: Search for: 80 78 05 00 0F 94 C1 -> Replace with: C6 40 05 01 48 85 C9. Search direction: All -> Replace All (only 1 instance found for me).
  5. Save (Ctrl + S) then exit HxD.
  6. Run Sublime Text.

It works, use an online editor.
https://hexed.it/
image

@ProjectXsent
Copy link

ProjectXsent commented Apr 16, 2024

It works, use an online editor. https://hexed.it/ image

What's the difference between an offline editor?

@Lastr1ks
Copy link

Это работает, используйте онлайн-редактор. https://hexed.it / изображение

В чем разница между автономным редактором?

For some reason, HxD did not find the values I needed. The online editor found it without any problems. I do not exclude that it is my fault (I am new to this). And it's more convenient, you don't need to download anything.

@ProjectXsent
Copy link

ProjectXsent commented Apr 16, 2024

For some reason, HxD did not find the values I needed. The online editor found it without any problems. I do not exclude that it is my fault (I am new to this). And it's more convenient, you don't need to download anything.

Not sure if you still have the clean sublime_text exe file but following my specific instructions will work. You said that you didn't find the specific value but the problem might be you're searching on the "Text" instead of the "Hex" tab so the values didn't appear or have typo with "Search for:/Replace for:" section in which the spaces between the hex values are on purpose. Also also the offline probably has more tools, for personal use, than online.

@Roadhog360
Copy link

This no longer works :(

@Destitute-Streetdwelling-Guttersnipe
Copy link

@Roadhog360
Copy link

I also tried those ones, they are also broken too.

@Destitute-Streetdwelling-Guttersnipe
Copy link

@ProjectXsent
Copy link

This no longer works :(

The latest version as of date is 4169 which is still working on my case.

@BusyConcept
Copy link

BusyConcept commented Jun 22, 2024

Does anyone know what the equivalent of the 80 78 05 00 0F 94 C1 --> C6 40 05 01 48 85 C9 patch is for the 32-bit Windows builds? That patch works fine for the 64-bit Windows builds but not the 32-bit builds. I'm using the 64-bit build, but I'd like to have both builds for Archiving purposes.

@Destitute-Streetdwelling-Guttersnipe
Copy link

@BusyConcept
Copy link

BusyConcept commented Jun 25, 2024

@Destitute-Streetdwelling-Guttersnipe,

Yes, I should have mentioned that the most recent 32-bit build I have is b4126, which does work with the bypass that you mentioned. I do have b4169 which is working with the bypass I posted for the 64-bit build, but not for the 32-bit build. So it would be nice to find that same bypass for these later builds.

Thank you for the effort though.

@waynzxcc
Copy link

waynzxcc commented Jul 3, 2024

4156 pls

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