Skip to content

Instantly share code, notes, and snippets.

@JerryLokjianming
Last active December 6, 2024 21:22
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


@fredgolightly
Copy link

F5 FF 90 48 83 C4 30 5B 5F 5E 41 5E 5D C3 55 56 57 48 83 EC 30 48 8D 6C -> F5 FF 90 48 83 C4 30 5B 5F 5E 41 5E 5D C3 55 56 57 48 83 EC 30 48 8D 6C (Server Validation Thread) these are the same values

@Hazuki-san
Copy link

Hazuki-san commented Aug 7, 2023

@fredgolightly I'm sorry, my copy/paste system probably had some hiccups.

F5 FF 90 48 83 C4 30 5B 5F 5E 41 5E 5D C3 55 56 57 48 83 EC 30 48 8D 6C -> F5 FF 90 48 83 C4 30 5B 5F 5E 41 5E 5D C3 48 31 C0 48 FF C0 C3 48 8D 6C

@Destitute-Streetdwelling-Guttersnipe
Copy link

@dansemal
Copy link

dansemal commented Aug 9, 2023

https://pastebin.com/raw/KywbN0xV Same instructions for 4152. These work for portable x64, btw.

Thank you but for me is not working. I tried but I cannot find it.. on image

this is work for me sublime text 4152 https://github.com/N1ght420/Sublime-Patch

@jsbryans22
Copy link

https://pastebin.com/raw/KywbN0xV Same instructions for 4152. These work for portable x64, btw.

Thank you but for me is not working. I tried but I cannot find it.. on image

this is work for me sublime text 4152 https://github.com/N1ght420/Sublime-Patch

Thank you very much is worked perfectly
image

@Aholicknight
Copy link

this is work for me sublime text 4152 https://github.com/N1ght420/Sublime-Patch

It seems like the Pastebin link was deleted. Incase this GitHub repo gets deleted, I moved the readme onto this site so it won't get deleted: https://go.0xfc.de/wrcy2j

@Aholicknight
Copy link

sublime text v4152-patch_20230814_mgY9o6Pdcw

I have also created a patcher from the GitHub repo https://github.com/N1ght420/Sublime-Patch incase you do not know how to use a hex editor. This patcher was created with dUP2, and also includes the setup. The patch.rar archive password is 123

Virustotal for patcher is here

Virustotal for patcher + setup is here

Download: https://www.mirrored.to/files/0LBL9JOI/Sublime_Text_v4152_x64___Patch_0.rar_links

Enjoy!

@Destitute-Streetdwelling-Guttersnipe

@Aholicknight Virustotal result for the patcher looks scary : 44 security vendors and 1 sandbox flagged this file as malicious

@Aholicknight
Copy link

Aholicknight commented Aug 12, 2023

@Aholicknight Virustotal result for the patcher looks scary : 44 security vendors and 1 sandbox flagged this file as malicious

@Destitute-Streetdwelling-Guttersnipe It shows 44 flags because I created the patcher with dup2, a very popular patcher that scene groups use, which is available here

This patcher also makes no internet connections, does not interact or even open any other files on the computer except the target exe (sublime text).

If you still do not trust me that it's just false positives I also uploaded the patcher on JoeSandbox, which can be seen here: https://www.joesandbox.com/analysis/1290344

@Destitute-Streetdwelling-Guttersnipe

@Aholicknight Virustotal result for the patcher looks scary : 44 security vendors and 1 sandbox flagged this file as malicious

@Destitute-Streetdwelling-Guttersnipe It shows 44 flags because I created the patcher with dup2, a very popular patcher that scene groups use, which is available here

This patcher also makes no internet connections, does not interact or even open with any other files on the computer except the target exe (sublime text).

If you still do not trust me that it's just false positives I also uploaded the patcher on JoeSandbox, which can be seen here: https://www.joesandbox.com/analysis/1290344

@Aholicknight I prefer to patch in web browser (without download or run anything) like this https://destitute-streetdwelling-guttersnipe.github.io/RomPatcher.js/#{"PATCHER":[{"name":"sublime_text_4154","file":"data:;base64,VVBTMQAgboMAIG6D+pUXwPqVF8AybecD"}]}

@strotee
Copy link

strotee commented Sep 18, 2023

Copy link

ghost commented Sep 19, 2023

If anyone is on windows or linux, I made a simple patcher in python for 4152 (stable). https://github.com/socialfright/subzerox
Linux is untested.

@strotee
Copy link

strotee commented Nov 6, 2023

4160 is out and the resolution for its crack is the same as I posted on 9/18.

@xovtar
Copy link

xovtar commented Nov 8, 2023

Im working with Ubuntu 22.04.3 and currently every which way i have tried to replace the file or put the new one in it has failed. Not sure if its just an Ubuntu thing or if i just need to crack the lock on the read only folder that sublime_text is stored or if there is a different location. (I have even tried changing the permissions of the folder but it says its already a read-write, but also tells me its a read only when i try changing permissions via terminal)

@duckimann
Copy link

@xovtar what about change user to root then replace the file?

@n6333373
Copy link

n6333373 commented Nov 25, 2023

So for Linux/Windows x64, I have created a Sublime Text 4 plugin which can patch itself.
Tested working on Sublime Text latest stable/dev build: 4168/4169

https://github.com/n6333373/sublime-self-patcher

Quick Demo

dev.mp4
stable.mp4

@Kinjosa
Copy link

Kinjosa commented Nov 27, 2023

will you have a release for the new update version 4166 linux ?

@janabil
Copy link

janabil commented Dec 1, 2023

So for Linux/Windows x64, I have created a Sublime Text 4 plugin which can patch itself. Tested working on Sublime Text latest stable/dev build: 4168/4169

https://github.com/n6333373/warehouse/raw/main/SelfPatcher.zip

Quick Demo

thanks Mate works like charm in both linux and windows 11

@Reelix
Copy link

Reelix commented Dec 1, 2023

If I were people, I'd rather avoid a compiled DLL from someone who created their first repo a week ago and wait for an open-source version.

@Hazuki-san
Copy link

4169 hex (Windows x64/leogx9r's method):
E8 93 58 20 00 49 8B 96 B8 02 00 00 48 8D 0D 5D 0C 00 00 41 B8 98 3A 00 00 E8 7A 58 20 00 -> 90 90 90 90 90 49 8B 96 B8 02 00 00 48 8D 0D 5D 0C 00 00 41 B8 98 3A 00 00 90 90 90 90 90 (Invalidation/Validation Functions)
E4 24 00 00 55 41 57 41 56 41 55 41 -> E4 24 00 00 48 31 C0 C3 56 41 55 41 (License Validity Checking)
55 56 57 48 83 EC 30 48 8D 6C 24 30 48 C7 45 F8 FE FF FF FF 89 D6 48 89 CF 6A 28 -> 48 31 C0 48 FF C0 C3 48 8D 6C 24 30 48 C7 45 F8 FE FF FF FF 89 D6 48 89 CF 6A 28 (Server Validation Thread)

After patch just enter anything to license and it should work.

@0x337
Copy link

0x337 commented Dec 2, 2023

4169 hex (Windows x64/leogx9r's method): E8 93 58 20 00 49 8B 96 B8 02 00 00 48 8D 0D 5D 0C 00 00 41 B8 98 3A 00 00 E8 7A 58 20 00 -> 90 90 90 90 90 49 8B 96 B8 02 00 00 48 8D 0D 5D 0C 00 00 41 B8 98 3A 00 00 90 90 90 90 90 (Invalidation/Validation Functions) E4 24 00 00 55 41 57 41 56 41 55 41 -> E4 24 00 00 48 31 C0 C3 56 41 55 41 (License Validity Checking) 55 56 57 48 83 EC 30 48 8D 6C 24 30 48 C7 45 F8 FE FF FF FF 89 D6 48 89 CF 6A 28 -> 48 31 C0 48 FF C0 C3 48 8D 6C 24 30 48 C7 45 F8 FE FF FF FF 89 D6 48 89 CF 6A 28 (Server Validation Thread)

After patch just enter anything to license and it should work.

Thanks man, it works perfectly.

@Destitute-Streetdwelling-Guttersnipe
Copy link

Destitute-Streetdwelling-Guttersnipe commented Dec 7, 2023 via email

@fulicat
Copy link

fulicat commented Dec 7, 2023

4169 hex (Windows x64/leogx9r's method): E8 93 58 20 00 49 8B 96 B8 02 00 00 48 8D 0D 5D 0C 00 00 41 B8 98 3A 00 00 E8 7A 58 20 00 -> 90 90 90 90 90 49 8B 96 B8 02 00 00 48 8D 0D 5D 0C 00 00 41 B8 98 3A 00 00 90 90 90 90 90 (Invalidation/Validation Functions) E4 24 00 00 55 41 57 41 56 41 55 41 -> E4 24 00 00 48 31 C0 C3 56 41 55 41 (License Validity Checking) 55 56 57 48 83 EC 30 48 8D 6C 24 30 48 C7 45 F8 FE FF FF FF 89 D6 48 89 CF 6A 28 -> 48 31 C0 48 FF C0 C3 48 8D 6C 24 30 48 C7 45 F8 FE FF FF FF 89 D6 48 89 CF 6A 28 (Server Validation Thread)

After patch just enter anything to license and it should work.

It's works, thx

@vodiylik
Copy link

vodiylik commented Dec 10, 2023

So for Linux/Windows x64, I have created a Sublime Text 4 plugin which can patch itself. Tested working on Sublime Text latest stable/dev build: 4168/4169

https://github.com/n6333373/warehouse/raw/main/SelfPatcher.zip

Quick Demo

I've installed this plugin, but this menu item is inactive, I ca'nt press. What I need to do?

OS: Pop!_OS 20.04

@n6333373
Copy link

n6333373 commented Dec 10, 2023

So for Linux/Windows x64, I have created a Sublime Text 4 plugin which can patch itself. Tested working on Sublime Text latest stable/dev build: 4168/4169
https://github.com/n6333373/sublime-self-patcher

Quick Demo

I've installed this plugin, but this menu item is inactive, I ca'nt press. What I need to do?

OS: Pop!_OS 20.04

One possibility is that it the place it should be placed is Menu > Preferences > Browse Packages... rather than the Packages folder which lives aside sublime_text.

@vodiylik
Copy link

So for Linux/Windows x64, I have created a Sublime Text 4 plugin which can patch itself. Tested working on Sublime Text latest stable/dev build: 4168/4169
https://github.com/n6333373/warehouse/raw/main/SelfPatcher.zip

Quick Demo

I've installed this plugin, but this menu item is inactive, I can't press. What I need to do?
OS: Pop!_OS 20.04

One possibility is that it the place it should be placed is Menu > Preferences > Browse Packages... rather than the Packages folder which lives aside sublime_text.

Thank you for your answer. But I found a better method:

sudo sed -i 's/\x80\x78\x05\x00\x0f\x94\xc1/\xc6\x40\x05\x01\x48\x85\xc9/g' /opt/sublime_text/sublime_text

@Destitute-Streetdwelling-Guttersnipe

@vodiylik you should also prevent ST from notifying its server about your ST.

@diwasrimal
Copy link

Do we have something for macOS build 4169?

@defencedog
Copy link

defencedog commented Dec 14, 2023

So for Linux/Windows x64, I have created a Sublime Text 4 plugin which can patch itself. Tested working on Sublime Text latest stable/dev build: 4168/4169
https://github.com/n6333373/warehouse/raw/main/SelfPatcher.zip

Quick Demo

I've installed this plugin, but this menu item is inactive, I ca'nt press. What I need to do?
OS: Pop!_OS 20.04

One possibility is that it the place it should be placed is Menu > Preferences > Browse Packages... rather than the Packages folder which lives aside sublime_text.

Success
@pop-os:/opt/sublime_text$ sudo ./sublime_text
while its open in admin mode. Preferences > Browse Packages
Folder will open ...paste SelfPatch folder here.
Navigate back to Sublime. Help > Patch this application
Restart sublime [relaunch normally]

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