Skip to content

Instantly share code, notes, and snippets.

@JerryLokjianming
Last active November 3, 2024 12:05
Show Gist options
  • Save JerryLokjianming/71dac05f27f8c96ad1c8941b88030451 to your computer and use it in GitHub Desktop.
Save JerryLokjianming/71dac05f27f8c96ad1c8941b88030451 to your computer and use it in GitHub Desktop.
Crack Sublime Text 3.2.2 Build 3211 and Sublime Text 4 Alpha 4098 with Hex

How to Crack Sublime Text 3.2.2 Build 3211 with Hex Editor (Windows | Without License) ↓

  1. Download & Install Sublime Text 3.2.2 Build 3211
  2. Visit https://hexed.it/
  3. Open file select sublime_text.exe
  4. Offset 0x8545: Original 84 -> 85
  5. Offset 0x08FF19: Original 75 -> EB
  6. Offset 0x1932C7: Original 75 -> 74 (remove UNREGISTERED in title bar, so no need to use a license)
  7. Export File and save it to location you want
  8. Backup sublime_text.exe file (just rename)
  9. Copy sublime_text.exe modified to directory Sublime Text 3
  10. Happy Coding :)
Screenshot

Screenshot


How to Crack Sublime Text 4 Alpha 4098 with Hex Editor (Windows | Without License) ↓

  1. Download & Install Sublime Text 4 Alpha 4094
  2. Visit https://hexed.it/
  3. Open file select sublime_text.exe
  4. Go to Address: 0000A700 change 80 38 00 to FE 00 90
  5. Export File and save it to location you want
  6. Backup sublime_text.exe file (just rename)
  7. Copy sublime_text.exe modified to directory Sublime Text 4 (i.e C:\Program Files\Sublime Text)
  8. Use this License
----- BEGIN LICENSE ----- 
TwitterInc 
200 User License 
EA7E-890007 
1D77F72E 390CDD93 4DCBA022 FAF60790 
61AA12C0 A37081C5 D0316412 4584D136 
94D7F7D4 95BC8C1C 527DA828 560BB037 
D1EDDD8C AE7B379F 50C9D69D B35179EF 
2FE898C4 8E4277A8 555CE714 E1FB0E43 
D5D52613 C3D12E98 BC49967F 7652EED2 
9D2D2E61 67610860 6D338B72 5CF95C69 
E36B85CC 84991F19 7575D828 470A92AB 
------ END LICENSE ------
  1. Happy Coding :)
Screenshot

Screenshot


Blocked by Microsoft Defender SmartScreen -> More Info -> Run Anyway

Screenshot

Screenshot

Screenshot


How to Crack Sublime Text 3 & 4 Alpha 4094 with Hex Editor (Linux & MacOS | With License) ↓

  1. Download & Install Sublime Text 3 or 4
  2. Visit https://hexed.it/
  3. Open file select sublime_text
    • Linux Location: /opt/sublime_text/sublime_text
    • MacOS Location: /Application/Sublime Text [version].app (Correct Me If I'm Wrong)
  4. Search 97 94 0D and Change to 00 00 00
  5. Export File and save it to location you want
  6. Backup sublime_text file (just rename)
  7. Copy sublime_text modified to default directory Sublime Text
  8. Use this License
----- BEGIN LICENSE ----- 
TwitterInc 
200 User License 
EA7E-890007 
1D77F72E 390CDD93 4DCBA022 FAF60790 
61AA12C0 A37081C5 D0316412 4584D136 
94D7F7D4 95BC8C1C 527DA828 560BB037 
D1EDDD8C AE7B379F 50C9D69D B35179EF 
2FE898C4 8E4277A8 555CE714 E1FB0E43 
D5D52613 C3D12E98 BC49967F 7652EED2 
9D2D2E61 67610860 6D338B72 5CF95C69 
E36B85CC 84991F19 7575D828 470A92AB 
------ END LICENSE ------
  1. Happy Coding :)
Screenshot

Screenshot


@sanchit0160
Copy link

I found a very simple way. We have 2 byte value at 00007FF77C7D9144 (in build 4180). This value is set when the program is started to 0 by the instruction:

and word ptr [00007FF77C7D9144], 0

Since the instruction is eight-byte, and I do not want to rebase the program, we replace it with an eight-byte instruction:

or word ptr [00007FF77C7D9144], 0FFFFh

When this value compares with 0 (instruction 00007FF77C0841CF), zf flag doesnt sets to 1, and we have licensed program.
image image

Wow perfect, thanks it worked!!! how did you arrive at this conclusion??

Ida pro, and some debugging. I'm very glad that I helped someone at least

Ohhh,
thank you again, brother. Respect++

@dakowd
Copy link

dakowd commented Sep 19, 2024

Found elsewhere but it works on Win64. Make sure to run a firewall & prevent from accessing web.

4180: 80 79 05 00 0F 94 C2 -> C6 41 05 01 B2 00 90

It works perfectly—thank you!

@vodiylik
Copy link

Does anyone have a patching method for Build 4180 Linux?

@vodiylik
Copy link

Does anyone have a patching method for Build 4180 Linux?

Found elsewhere but it works on Win64. Make sure to run a firewall & prevent from accessing web.

4180: 80 79 05 00 0F 94 C2 -> C6 41 05 01 B2 00 90

It's working for Sublime Text 4180 Linux builds too.

After patching via hexed.it need to chmod +x 👍

@andrewssobral
Copy link

How to make it work on Mac M1 ?

@andrewssobral
Copy link

It runs, but i does not accept any of the above licenses

Screenshot 2024-09-20 at 12 20 44

image

image

@strotee
Copy link

strotee commented Sep 20, 2024

It runs, but i does not accept any of the above licenses

I'm going to guess and say it's allowed to connect to the internet and thus, it's throwing the error of the license key. This is why it's crucial to use a firewall.

@andrewssobral
Copy link

What should i put in the /etc/hosts ?

@strotee
Copy link

strotee commented Sep 20, 2024

I was thinking more of a software firewall. While I'm not at all familiar with the Mac OS, in Windows one good firewall choice is Simplewall. In Simplewall, I can prevent sublime_text.exe from the accessing the net 100%. I'm sure some time sharpening your Internet search skills will produce the same results but you're entirely on your own. Good luck!

@andrewssobral
Copy link

I added on my /etc/hosts:

127.0.0.1 www.sublimetext.com
127.0.0.1 sublimetext.com

but it is still saying the license is invalid =/

@vodiylik
Copy link

vodiylik commented Sep 23, 2024

It runs, but i does not accept any of the above licenses

today i'm gonna try on macos too. I've tested on Ubuntu 22.04, it's working.

@sandkalam
Copy link

anyone know about sublime merge?

@Fireshtorm1k
Copy link

Fireshtorm1k commented Nov 3, 2024

anyone know about sublime merge?

@sandkalam

Same like here but another address

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