Skip to content

Instantly share code, notes, and snippets.

@JerryLokjianming
Last active November 13, 2024 15:04
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


@tes123id
Copy link

Is this still working on build 4121 ?

it does not seem to work on linux. i've just tried it using this https://gist.github.com/JerryLokjianming/71dac05f27f8c96ad1c8941b88030451#gistcomment-3933346. it works on previous version.

or maybe i've missed something ?

@leogx9r
Copy link

leogx9r commented Oct 27, 2021

@Destitute-Streetdwelling-Guttersnipe The crash reporter function in sublime_text[.exe] is a wrapper function that spawns a new process with some parameters (<build_id> /path/to/dump_file /path/to/executable_file), calling another executable in the main directory, crash_reporter[.exe].

The crash_reporter[.exe] handles all the magic and contains the actual server name it sends telemetry to, crash-report.sublimehq.com, basically sending an HTTP POST request to that URL (<URI>/crash) with the SHA-256 checksum of the binary and a deflated compressed dump of the crash.

Pretty sure it also sets the user-agent to sublime-crash-reporter/3.0 to potentially rule out fake requests but that's easy to bypass. If you were particularly evil, you could load their servers up with tons of invalid files since there doesn't seem to be any security checking here.

@Destitute-Streetdwelling-Guttersnipe

Thanks @leogx9r for the analysis of crash reporter. I think I can delete crash_reporter in case I can't patch the crash reporter function in ST/SM.

@jowinjohnchemban
Copy link

Is this still working on build 4121 ?

Thank you @andhika96 https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47#gistcomment-3941342

image

Replace following, [PREFERRED]

0000711A: E8 > 90
0000711B: 55 > 90
0000711C: 1E > 90
0000711D: 20 > 90
0000711E: 00 > 90

000A84E3: 55 > 48
000A84E4: 56 > 31
000A84E5: 57 > C0

000A84E7: 83 > FF
000A84E8: EC > C0
000A84E9: 30 > C3

OR
Search and replace following (make sure replace at the correct positions),

E8 55 1E 20 00  >  90 90 90 90 90
55 56 57  >  48 31 C0
83 EC 30  >  FF C0 C3

Tool used,
https://hexed.it/

@nemesisnes
Copy link

Thanks for this mate!

@PlamenOBM
Copy link

Any chances to have this for linux too?

@fredgolightly
Copy link

4125 Win x64?

@strotee
Copy link

strotee commented Dec 22, 2021

@Leoyut
Copy link

Leoyut commented Dec 29, 2021

hey im getting this error when running in linux : md5sum: WARNING: 1 computed checksum did NOT match

@vnt-83
Copy link

vnt-83 commented Jan 11, 2022

I don't can patch BUILD 4126 linux x64 ((

@CodigoCristo
Copy link

@vnt-83 patch 4126 for linux x64 :)
https://youtu.be/8gd6A-5e9Ik

@CodigoCristo
Copy link

CodigoCristo commented Jan 13, 2022

@CodigoCristo
Copy link

CodigoCristo commented Jan 13, 2022

@Stuff121 > I think it is because of your antivirus, although it does not detect anything, try deactivating it
https://we.tl/t-IklK4rP9x3
If you can upload it to another server as an example mega or mediafire

@CodigoCristo
Copy link

For windows patch Sublime text 4126 and Sublime merge 2068

https://github.com/CodigoCristo/sublimepatch/

https://www.youtube.com/watch?v=wi6_sxJiJ0s

Alt text

@CodigoCristo
Copy link

@Destitute-Streetdwelling-Guttersnipe

@Stuff121 if you're aware of the risk, you shouldn't trust an uploaded file from someone on the internet. It's safer to patch it yourself.

@Destitute-Streetdwelling-Guttersnipe

@Stuff121 it's not better, it's just another exe. You can never be sure unless you compare it with the original file. Or you can patch it yourself without download any patcher just by using the steps at https://gist.github.com/JerryLokjianming/71dac05f27f8c96ad1c8941b88030451#gistcomment-3761049

@CodigoCristo
Copy link

@Stuff121 Use https://hexed.it/ perfetct perfect nice viva el Perú !

@CodigoCristo
Copy link

@Destitute-Streetdwelling-Guttersnipe

@Stuff121 Why? Because nobody is responsible to give it to you. You get it for free here. Honestly, if you have no idea why it's so hard, then show some respect.

@Hazuki-san
Copy link

@PixelMelt
Copy link

PixelMelt commented Feb 1, 2022

@rafaelribeiroo
Copy link

@PixelMelt won't works for me this python code, can u send me through wetransfer your /opt/sublime_text/sublime_text?

@rafaelribeiroo
Copy link

never mind, now thats working

@lowendgamer
Copy link

@CodigoCristo Thank you so much for the patcher. It is only that worked on ST 4126 for linux

@rafaelribeiroo
Copy link

Any update for sublime merge 2071?

@brian6932
Copy link

@rafaelribeiroo This works for smerge 2071

This works for most of the Sublime Text 4.X x64 (Including 4107) - block the license check via host or patch it out of EXE

RSA Key Patch (allows any key in right format to work)

Search for ...
4157415656575553B828210000
Replace with ...
33C0FEC0C3575553B828210000

Disable License Check (You can do this via hosts file if you rather)

Search for...
6C6963656E73652E7375626C696D6568712E636F6D
Replace with ...
7375626C696D6568712E6C6F63616C686F73740000

You can now use any license basically that follows the same syntax/format/key.

-- BEGIN LICENSE --
Generic Name
Unlimited User License
EA7E-81044230
0C0CD4A8 CAA317D9 CCABD1AC 434C984C
7E4A0B13 77893C3E DD0A5BA1 B2EB721C
4BAAB4C4 9B96437D 14EB743E 7DB55D9C
7CA26EE2 67C3B4EC 29B2C65A 88D90C59
CB6CCBA5 7DE6177B C02C2826 8C9A21B0
6AB1A5B6 20B09EA2 01C979BD 29670B19
92DC6D90 6E365849 4AB84739 5B4C3EA1
048CC1D0 9748ED54 CAC9D585 90CAD815
-- END LICENSE --```

@rafaelribeiroo
Copy link

rafaelribeiroo commented May 2, 2022

@rafaelribeiroo This works for smerge 2071

This works for most of the Sublime Text 4.X x64 (Including 4107) - block the license check via host or patch it out of EXE
RSA Key Patch (allows any key in right format to work)

Search for ...
4157415656575553B828210000
Replace with ...
33C0FEC0C3575553B828210000

Disable License Check (You can do this via hosts file if you rather)

Search for...
6C6963656E73652E7375626C696D6568712E636F6D
Replace with ...
7375626C696D6568712E6C6F63616C686F73740000

You can now use any license basically that follows the same syntax/format/key.

-- BEGIN LICENSE --
Generic Name
Unlimited User License
EA7E-81044230
0C0CD4A8 CAA317D9 CCABD1AC 434C984C
7E4A0B13 77893C3E DD0A5BA1 B2EB721C
4BAAB4C4 9B96437D 14EB743E 7DB55D9C
7CA26EE2 67C3B4EC 29B2C65A 88D90C59
CB6CCBA5 7DE6177B C02C2826 8C9A21B0
6AB1A5B6 20B09EA2 01C979BD 29670B19
92DC6D90 6E365849 4AB84739 5B4C3EA1
048CC1D0 9748ED54 CAC9D585 90CAD815
-- END LICENSE --```

Wow, awesome! I upload my/opt/sublime_merge/sublime_mergeat hexed and edit

6C6963656E73652E7375626C696D6568712E636F6D
to
7375626C696D6568712E6C6F63616C686F73740000

find in file don't locate 4157415656575553B828210000 :( so these license key doesn't works...

Can u send me ur smerge 2071 edited?

@n6333373
Copy link

n6333373 commented May 3, 2022

@rafaelribeiroo This works for smerge 2071

This works for most of the Sublime Text 4.X x64 (Including 4107) - block the license check via host or patch it out of EXE
RSA Key Patch (allows any key in right format to work)

Search for ...
4157415656575553B828210000
Replace with ...
33C0FEC0C3575553B828210000

Disable License Check (You can do this via hosts file if you rather)

Search for...
6C6963656E73652E7375626C696D6568712E636F6D
Replace with ...
7375626C696D6568712E6C6F63616C686F73740000

You can now use any license basically that follows the same syntax/format/key.

-- BEGIN LICENSE --
Generic Name
Unlimited User License
EA7E-81044230
0C0CD4A8 CAA317D9 CCABD1AC 434C984C
7E4A0B13 77893C3E DD0A5BA1 B2EB721C
4BAAB4C4 9B96437D 14EB743E 7DB55D9C
7CA26EE2 67C3B4EC 29B2C65A 88D90C59
CB6CCBA5 7DE6177B C02C2826 8C9A21B0
6AB1A5B6 20B09EA2 01C979BD 29670B19
92DC6D90 6E365849 4AB84739 5B4C3EA1
048CC1D0 9748ED54 CAC9D585 90CAD815
-- END LICENSE --```

Wow, awesome! I upload my/opt/sublime_merge/sublime_mergeat hexed and edit

6C6963656E73652E7375626C696D6568712E636F6D to 7375626C696D6568712E6C6F63616C686F73740000

find in file don't locate 4157415656575553B828210000 :( so these license key doesn't works...

Can u send me ur smerge 2071 edited?

It's Windows-only.

@rafaelribeiroo
Copy link

@rafaelribeiroo This works for smerge 2071

This works for most of the Sublime Text 4.X x64 (Including 4107) - block the license check via host or patch it out of EXE
RSA Key Patch (allows any key in right format to work)

Search for ...
4157415656575553B828210000
Replace with ...
33C0FEC0C3575553B828210000

Disable License Check (You can do this via hosts file if you rather)

Search for...
6C6963656E73652E7375626C696D6568712E636F6D
Replace with ...
7375626C696D6568712E6C6F63616C686F73740000

You can now use any license basically that follows the same syntax/format/key.

-- BEGIN LICENSE --
Generic Name
Unlimited User License
EA7E-81044230
0C0CD4A8 CAA317D9 CCABD1AC 434C984C
7E4A0B13 77893C3E DD0A5BA1 B2EB721C
4BAAB4C4 9B96437D 14EB743E 7DB55D9C
7CA26EE2 67C3B4EC 29B2C65A 88D90C59
CB6CCBA5 7DE6177B C02C2826 8C9A21B0
6AB1A5B6 20B09EA2 01C979BD 29670B19
92DC6D90 6E365849 4AB84739 5B4C3EA1
048CC1D0 9748ED54 CAC9D585 90CAD815
-- END LICENSE --```

Wow, awesome! I upload my/opt/sublime_merge/sublime_mergeat hexed and edit
6C6963656E73652E7375626C696D6568712E636F6D to 7375626C696D6568712E6C6F63616C686F73740000
find in file don't locate 4157415656575553B828210000 :( so these license key doesn't works...
Can u send me ur smerge 2071 edited?

It's Windows-only.

I got it, thanks :(

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