Skip to content

Instantly share code, notes, and snippets.

@skoqaq
Last active February 28, 2025 01:16
Show Gist options
  • Save skoqaq/3f3e8f28e23c881143cef9cf49d821ff to your computer and use it in GitHub Desktop.
Save skoqaq/3f3e8f28e23c881143cef9cf49d821ff to your computer and use it in GitHub Desktop.
Sublime Text 4 License Key
—– BEGIN LICENSE —–
Mifeng User
Single User License
EA7E-1184812
C0DAA9CD 6BE825B5 FF935692 1750523A
EDF59D3F A3BD6C96 F8D33866 3F1CCCEA
1C25BE4D 25B1C4CC 5110C20E 5246CC42
D232C83B C99CCC42 0E32890C B6CBF018
B1D4C178 2F9DDB16 ABAA74E5 95304BEF
9D0CCFA9 8AF8F8E2 1E0A955E 4771A576
50737C65 325B6C32 817DCB83 A7394DFA
27B7E747 736A1198 B3865734 0B434AA5
—— END LICENSE ——
Tested on Build 4123
// Patched executable file : https://github.com/skoqaq/gist_data/blob/main/sublime_text_3/sublime_text.exe
// The license key is not valid anymore after 2022/11/11
// https://gist.github.com/skoqaq/3f3e8f28e23c881143cef9cf49d821ff?permalink_comment_id=4669272#gistcomment-4669272
// Works on Build 4169
@Emtyffx
Copy link

Emtyffx commented Dec 29, 2024

sudo perl -pi -e 's/\x80\x79\x05\x00\x0F\x94\xC2/\xC6\x41\x05\x01\xB2\x00\x90/' /opt/sublime_text/sublime_text

works with linux(manjaro)

@tobassum786
Copy link

Its work for me. Build 4189 on windows 11

@shydmoto
Copy link

Its work for me. Build 4189 on Windows 11 23H2.

@EmaBixD
Copy link

EmaBixD commented Jan 1, 2025

sudo perl -pi -e 's/\x80\x79\x05\x00\x0F\x94\xC2/\xC6\x41\x05\x01\xB2\x00\x90/' /Applications/Sublime\ Text.app/Contents/MacOS/sublime_text
sudo codesign --sign - --force --deep /Applications/Sublime\ Text.app

Thank you, still working on Intel Mac - v4189

@hzyhbk
Copy link

hzyhbk commented Jan 2, 2025

Works on build 4189, M3 mac.

sudo perl -pi -e 's/\x09\x15\x40\x39\x29\x55\x0F\x94\x2A\x79\x1F\x53\x08\x11\x40\x39\x8B\x00\x80\x52\x2B\x01\x1F\x33/\x29\x00\x80\x52\x09\x15\x00\x39\x0A\x00\x80\x52\x8B\x00\x80\x52\x1F\x20\x03\xD5\x08\x11\x40\x39/' /Applications/Sublime\ Text.app/Contents/MacOS/sublime_text
sudo codesign --sign - --force --deep /Applications/Sublime\ Text.app

Thank you, still working on M2 Pro Mac - v4189

@dhirajgangal
Copy link

dhirajgangal commented Jan 2, 2025

sudo perl -pi -e 's/\x09\x15\x40\x39\x29\x55\x0F\x94\x2A\x79\x1F\x53\x08\x11\x40\x39\x8B\x00\x80\x52\x2B\x01\x1F\x33/\x29\x00\x80\x52\x09\x15\x00\x39\x0A\x00\x80\x52\x8B\x00\x80\x52\x1F\x20\x03\xD5\x08\x11\x40\x39/' /Applications/Sublime\ Text.app/Contents/MacOS/sublime_text
sudo codesign --sign - --force --deep /Applications/Sublime\ Text.app

Work for me M1 MacOs Sequoia

@broduer
Copy link

broduer commented Jan 5, 2025

Hoping for a new fix for the newest updates for text & merge
I'll never pay for this stuff, isn't worth a dime lmao.

@pedosa2003
Copy link

sudo perl -pi -e 's/\x80\x79\x05\x00\x0F\x94\xC2/\xC6\x41\x05\x01\xB2\x00\x90/' /opt/sublime_text/sublime_text

funciona com linux(manjaro)

funciona tambem no arch linux e no arco linux... tambem funciona no BigLinux

@jenice11
Copy link

jenice11 commented Jan 13, 2025

Works on build 4189, M3 mac.

sudo perl -pi -e 's/\x09\x15\x40\x39\x29\x55\x0F\x94\x2A\x79\x1F\x53\x08\x11\x40\x39\x8B\x00\x80\x52\x2B\x01\x1F\x33/\x29\x00\x80\x52\x09\x15\x00\x39\x0A\x00\x80\x52\x8B\x00\x80\x52\x1F\x20\x03\xD5\x08\x11\x40\x39/' /Applications/Sublime\ Text.app/Contents/MacOS/sublime_text
sudo codesign --sign - --force --deep /Applications/Sublime\ Text.app

Works for m4 mac build 4189

@GSN3
Copy link

GSN3 commented Jan 15, 2025

Sublime_text 4186 for Windows
It has been confirm using hexEd.it this still works. Open the site, searched for 80 79 05 00 0F 94 C2 => C6 41 05 01 B2 00 90 save the file, then moved it to the installation folder.
Worked like a charm!

Works on build 4189, Windows 10. Replaces cmp instructions with mov

Great!...

@atefganm
Copy link

Sublime_text 4192 for Linux Mint

sudo perl -pi -e 's/\x80\x79\x05\x00\x0F\x94\xC2/\xC6\x41\x05\x01\xB2\x00\x90/' /opt/sublime_text/sublime_text

Screenshot_2025-01-20_13-42-53

@winnie-sg
Copy link

winnie-sg commented Jan 20, 2025

Sublime_text 4186 for Windows

It has been confirm using hexEd.it this still works. Open the site, searched for 80 79 05 00 0F 94 C2 => C6 41 05 01 B2 00 90 save the file, then moved it to the installation folder.

Worked like a charm!

Works for the latest version - Build 4192 on Windows 11 24H2

@deadblue
Copy link

Sublime Text Build 4192 on M series MAC:

sudo perl -pi -e 's/\x09\x15\x40\x39....\x2a\x79\x1f\x53\x08\x11\x40\x39\x8b\x00\x80\x52\x2b\x01\x1f\x33/\x29\x00\x80\x52\x09\x15\x00\x39\x0a\x00\x80\x52\x8b\x00\x80\x52\x1f\x20\x03\xd5\x08\x11\x40\x39/' /Applications/Sublime\ Text.app/Contents/MacOS/sublime_text
sudo codesign --sign - --force --deep /Applications/Sublime\ Text.app

Yes, there are 4 dots in first command, it's not typo.

@sobavfr
Copy link

sobavfr commented Jan 21, 2025

sudo perl -pi -e 's/\x80\x79\x05\x00\x0F\x94\xC2/\xC6\x41\x05\x01\xB2\x00\x90/' /Applications/Sublime\ Text.app/Contents/MacOS/sublime_text
sudo codesign --sign - --force --deep /Applications/Sublime\ Text.app

Thank you, still working on Intel Mac - v4189

Works for 4192 also. Thank you

@GitHub-2021-07-12
Copy link

GitHub-2021-07-12 commented Jan 22, 2025

This PowerShell function works for version 4192 on Windows 10 x64.

function SublimeText__patch() {
    $encoder = [system.text.encoding]::getEncoding('windows-1251');

    $byteArray_app = [system.io.file]::readAllBytes('./sublime_text.exe');
    $byteArray_replacement = @(0xC6, 0x41, 0x05, 0x01, 0xB2, 0x00, 0x90);
    $byteArray_search = @(0x80, 0x79, 0x05, 0x00, 0x0F, 0x94, 0xC2);
    $string_app = $encoder.getString($byteArray_app);
    $string_replacement = $encoder.getString($byteArray_replacement);
    $string_search = $encoder.getString($byteArray_search);

    $string_app = $string_app.replace($string_search, $string_replacement);
    $byteArray_app = $encoder.getBytes($string_app);
    [system.io.file]::writeAllBytes('./SublimeText_patched.exe', $byteArray_app);
}

@cxkeeley
Copy link

  1. Install HxD-Editor or https://hexed.it/
  2. Click File -> Open ->
    "C:\Program Files\Sublime Text\sublime_text.exe"
  3. Click Search -> replace -> Hex Values ->
    80 79 05 00 0F 94 C2 -> C6 41 05 01 B2 00 90

Still works on build 4196 windows 11

@anticitoyun
Copy link

Sublime_text 4192 for Linux Mint

sudo perl -pi -e 's/\x80\x79\x05\x00\x0F\x94\xC2/\xC6\x41\x05\x01\xB2\x00\x90/' /opt/sublime_text/sublime_text

Screenshot_2025-01-20_13-42-53

Thank you !
It's ok build 4180 on linux mint 22

@SimZhou
Copy link

SimZhou commented Jan 25, 2025

Sublime_text 4192 for Linux Mint

sudo perl -pi -e 's/\x80\x79\x05\x00\x0F\x94\xC2/\xC6\x41\x05\x01\xB2\x00\x90/' /opt/sublime_text/sublime_text

Screenshot_2025-01-20_13-42-53

Works for Windows 11 24H2 as well ! (Using WSL - Windows Subsystem for Linux)

@vitalisc
Copy link

Sublime_text 4192 for Linux Mint
sudo perl -pi -e 's/\x80\x79\x05\x00\x0F\x94\xC2/\xC6\x41\x05\x01\xB2\x00\x90/' /opt/sublime_text/sublime_text
Screenshot_2025-01-20_13-42-53

Works for Windows 11 24H2 as well ! (Using WSL - Windows Subsystem for Linux)

how do you run this on windows

@dlsgopal
Copy link

untitled • - Sublime Text 28-01-2025 14_21_46

  1. Download - https://www.sublimetext.com/download_thanks?target=win-x64 / then install your pc
  2. open - https://hexed.it/ > open your pc installed file - C//.....Sublime Text/sublime_text.exe
  3. click search & paste - 80 79 05 00 0F 94 C2 then replace 80 79 05 00 0F 94 C2 to C6 41 05 01 B2 00 90
  4. export file and replace your C//... Sublime Text/sublime_text.exe
  5. then open sublime text!

@razor179
Copy link

It works perfectly with hexed.it, thanks a lot!

@Boldbydesign
Copy link

Sublime Text Build 4192 on M series MAC:

sudo perl -pi -e 's/\x09\x15\x40\x39....\x2a\x79\x1f\x53\x08\x11\x40\x39\x8b\x00\x80\x52\x2b\x01\x1f\x33/\x29\x00\x80\x52\x09\x15\x00\x39\x0a\x00\x80\x52\x8b\x00\x80\x52\x1f\x20\x03\xd5\x08\x11\x40\x39/' /Applications/Sublime\ Text.app/Contents/MacOS/sublime_text
sudo codesign --sign - --force --deep /Applications/Sublime\ Text.app

Yes, there are 4 dots in first command, it's not typo.

How is this ran? I keep getting an error of not permitted, can't do inplace edit.

@Emtyffx
Copy link

Emtyffx commented Feb 2, 2025

Sublime Text Build 4192 on M series MAC:

sudo perl -pi -e 's/\x09\x15\x40\x39....\x2a\x79\x1f\x53\x08\x11\x40\x39\x8b\x00\x80\x52\x2b\x01\x1f\x33/\x29\x00\x80\x52\x09\x15\x00\x39\x0a\x00\x80\x52\x8b\x00\x80\x52\x1f\x20\x03\xd5\x08\x11\x40\x39/' /Applications/Sublime\ Text.app/Contents/MacOS/sublime_text
sudo codesign --sign - --force --deep /Applications/Sublime\ Text.app

Yes, there are 4 dots in first command, it's not typo.

How is this ran? I keep getting an error of not permitted, can't do inplace edit.

I guess that is some kind of problems with permissions

@Woolfy025
Copy link

Thank you, it worked on 4192 / Arch linux!!

Sublime_text 4192 for Linux Mint

sudo perl -pi -e 's/\x80\x79\x05\x00\x0F\x94\xC2/\xC6\x41\x05\x01\xB2\x00\x90/' /opt/sublime_text/sublime_text

Screenshot_2025-01-20_13-42-53

@Ozzxuu
Copy link

Ozzxuu commented Feb 3, 2025

Sublime_text 4192 for Linux Mint

sudo perl -pi -e 's/\x80\x79\x05\x00\x0F\x94\xC2/\xC6\x41\x05\x01\xB2\x00\x90/' /opt/sublime_text/sublime_text

Screenshot_2025-01-20_13-42-53

Work on Debian 12 Bookworm

@steven64521
Copy link

Sublime_text 4186 for Windows

It has been confirm using hexEd.it this still works. Open the site, searched for 80 79 05 00 0F 94 C2 => C6 41 05 01 B2 00 90 save the file, then moved it to the installation folder.

Worked like a charm!

thanks,it still works for latest 4192

@Woolfy025
Copy link

Not sure if anyone needs to hear this but, don't download/install the 'Sublime Text 4 License Key FREE' links the scammers post. (It will steal your passwords / crypto from a Windows pc if you run it.) You can click on the 3 dots on the right side of their post and click report. Also, you can click on the mega links and report it to them and, they will remove it. Stay clear from these scammy bastards.

@wacomg
Copy link

wacomg commented Feb 17, 2025

sudo perl -pi -e 's/\x80\x79\x05\x00\x0F\x94\xC2/\xC6\x41\x05\x01\xB2\x00\x90/' /opt/sublime_text/sublime_text

works 4192 fedora linux

@PostboxRetinal
Copy link

sudo perl -pi -e 's/\x80\x79\x05\x00\x0F\x94\xC2/\xC6\x41\x05\x01\xB2\x00\x90/' /opt/sublime_text/sublime_text

Make a backup just for avoiding any kind of issues. Working with openSUSE Tumbleweed.

21_191502

@Thrsh001
Copy link

sudo sed -i 's/\x80\x79\x05\x00\x0F\x94\xC2/\xC6\x41\x05\x01\xB2\x00\x90/' /opt/sublime_text/sublime_text

This works very well in debian, thank you very much :D

worked on ubuntu with build 4192

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