Skip to content

Instantly share code, notes, and snippets.

@skoqaq
Last active November 21, 2024 05:06
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
@hatemzidi
Copy link

hatemzidi commented Oct 18, 2024

4180, Works on my intel Mac

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

this 4180 method doesn't work on Apple M2 MacOS 15.0.1 😢

I had to revert to 4169 with the old M1/M2 method above, which worked like a charm.

@eatpwsyy
Copy link

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

Thanks

@s4gor
Copy link

s4gor commented Oct 20, 2024

for build 4180, Linux.
sudo cp /opt/sublime_text/sublime_text ./sublime_text.old sudo sed -i 's/\x80\x79\x05\x00\x0F\x94\xC2/\xC6\x41\x05\x01\xB2\x00\x90/' /opt/sublime_text/sublime_text

* August 7 2024

Works for me Arch Linux x86_64 6.11.1-arch1-1

Work thanks in lubuntu 18.0.4

My ubuntu 22.04 : cp: target '/opt/sublime_text/sublime_text' is not a directory, I install sublime_text via snap. Please help.

Hey,

Maybe there's some problem. I haven't figured it out yet. But here's a quick solution for Ubuntu guys.

Open your terminal in your Ubuntu System and type the following command.
cd ../../opt/sublime_text // assuming you are in your home directory. just simply go to your opt/sublimt_text folder in you terminal

Now we need to back up the main file of Sublime Text. For that, you need to run this command
sudo cp sublime_text ./sublime_text.old

And finally you have to apply the patch script by running the following command
sudo sed -i 's/\x80\x79\x05\x00\x0F\x94\xC2/\xC6\x41\x05\x01\xB2\x00\x90/' sublime_text

Sublime Version: 4180
Ubuntu: Ubuntu 24.04.1 LTS

@sibosend
Copy link

4180, Works on my intel Mac

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

Version 4180 works perfectly on my macbook mid 2015 with Monterey 12.7.6

outstanding

@freemansdev
Copy link

❯ temp_file=$(mktemp) ❯ sudo sed 's/\x80\x79\x05\x00\x0F\x94\xC2/\xC6\x41\x05\x01\xB2\x00\x90/' /opt/sublime_text/sublime_text > $temp_file ❯ sudo cp $temp_file /opt/sublime_text/sublime_text

Works Mint 22 Oct 6, 2024

Still working - Oc 25 2024 - Ubuntu 22.04

@KEbigE
Copy link

KEbigE commented Oct 25, 2024

Can't find these hex values, can you provide an alternative?

@MariamNsubuga
Copy link

MariamNsubuga commented Oct 31, 2024

navigate to

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

thanks this worked very well for ubuntu 24!!

@idsoftware7
Copy link

In order for this to work, on linux, you need to download the sublime text from APT and not from Snap. because from snap is mounted as file system as "read only". then it will work.

hope this helps.

Please buy the software if you like it.

@mohyeh77
Copy link

mohyeh77 commented Nov 4, 2024

For Build 4180, Windows

Steps For Windows:

  • Install HxD-Editor
  • Click File -> Open ->
    "C:\Program Files\Sublime Text\sublime_text.exe"
  • Click Search -> replace -> Hex Values ->
    80 79 05 00 0F 94 C2 -> C6 41 05 01 B2 00 90
  • Save: Ctrl+S
    Successfully Done!

Supper Hero. Successfully Done!

@xQted
Copy link

xQted commented Nov 7, 2024

For Build 4180, Windows

Steps For Windows:

  • Install HxD-Editor
  • Click File -> Open ->
    "C:\Program Files\Sublime Text\sublime_text.exe"
  • Click Search -> replace -> Hex Values ->
    80 79 05 00 0F 94 C2 -> C6 41 05 01 B2 00 90
  • Save: Ctrl+S
    Successfully Done!

Supper Hero. Successfully Done!

Works. thanks...

@alecsmty
Copy link

alecsmty commented Nov 7, 2024

open whit sublime_text.exe and search and replace ,next search
8079 0500 0f94 c2 search
c641 0501 b200 90 replace

save rename sublime_text.exe in the folder differt and replace .exe native instalation

version 4180 update 07/11/2024

@Icy-Joker
Copy link

If you have installed “Git For Windows” which provide some useful command(perl in git-bash)
You can just open "git-bash" as an administrator then execute this:
perl -pi -e 's/\x80\x79\x05\x00\x0F\x94\xC2/\xC6\x41\x05\x01\xB2\x00\x90/' /path/to/the/sublime_text.exe

@lccrskbt
Copy link

lccrskbt commented Nov 8, 2024

Works 100% for 4180 in windows 10 x64! (Portable version download from official webpage)

@SumSeo2099
Copy link

SumSeo2099 commented Nov 9, 2024

@SenkuuChin
Copy link

It doesn't work since 2024.11.10, and the App tips "This license key has been invalidated, due to being shared. "

@yeyuqiu
Copy link

yeyuqiu commented Nov 14, 2024

It doesn't work since 2024.11.10, and the App tips "This license key has been invalidated, due to being shared. "

+1
Build 4180, macOS Sequoia 15.1

@txnguyen01813
Copy link

it's work for me +1
AlamaLinux 9.4

@dimakortes
Copy link

@HelplessMan @iikay @filmovtv

所有步骤均成功,但在最后一步 9 时出现错误:Sublime Text.app/:代码签名子系统中的内部错误
结果,我在启动 Sublime Text 时出现错误:无法打开程序“Sublime Text.app”。

我也是

我也是 如何解决这个问题?

chip:Apple M1(M2) Worked For me macOS Sonoma 14.5

Sublime Text build 4169

1 . open your terminal 

cd "/Applications/Sublime Text.app/Contents/MacOS/" || exit md5 -q sublime_text | grep -i "3AEA5F094739BC66C5A6C11A4EA08B58" || exit echo 000A5AAB: 48 C7 C0 00 00 00 00 C3 | xxd -r - sublime_text echo 0000C7D5: 90 90 90 90 90 | xxd -r - sublime_text echo 0000C7ED: 90 90 90 90 90 | xxd -r - sublime_text echo 000A701D: C3 | xxd -r - sublime_text echo 000A56A6: C3 | xxd -r - sublime_text echo 0108A908: 00 00 80 D2 C0 03 5F D6 | xxd -r - sublime_text echo 010118F4: 1F 20 03 D5 | xxd -r - sublime_text echo 01011908: 1F 20 03 D5 | xxd -r - sublime_text echo 0108BB94: C0 03 5F D6 | xxd -r - sublime_text echo 0108A588: C0 03 5F D6 | xxd -r - sublime_text

  1. codesign --force --deep --sign - "/Applications/Sublime Text.app"
  2. ‘Help’ -> License

License Key: ----- 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 ------

worked for me M2 Pro Sequoia 15.1

@DOKDean
Copy link

DOKDean commented Nov 16, 2024

For Build 4180, Windows

Steps For Windows:

  1. Install Build 3211 normally
  2. Then update it up to build 4180 then stop.
  3. Install HxD-Editor
  4. Click File -> Open ->
    "C:\Program Files\Sublime Text\sublime_text.exe"
    Click Search -> replace -> Hex Values ->
    80 79 05 00 0F 94 C2 -> C6 41 05 01 B2 00 90

5.Save: Ctrl+S

Done!

@Destitute-Streetdwelling-Guttersnipe
Copy link

@veilkev
Copy link

veilkev commented Nov 19, 2024

YOOO!! Thanks. I was deadass going to end up buying this, too. Thank ya and especially those developers working hard on FOSS initiatives (unwillingly).

11/18/2024

@adrianaringhe
Copy link

adrianaringhe commented Nov 19, 2024

@dimakortes

----- 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 ------

I get this message on MacMini M4 Pro w Sequoia 15.1 w build 4169:

"That license key doesn't appear to be valid.
Please check that you have entered all lines from the license key, including the BEGIN LICENSE and END LICENSE lines."

@veilkev
Copy link

veilkev commented Nov 20, 2024

@dimakortes

----- 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 ------

I get this message on MacMini M4 Pro w Sequoia 15.1 w build 4169:

"That license key doesn't appear to be valid. Please check that you have entered all lines from the license key, including the BEGIN LICENSE and END LICENSE lines."

Same here. Sigh.

@deadblue
Copy link

Build 4180, for M series chip MAC:

sudo perl -pi -e 's/\x09\x15\x40\x39\x00\x6B\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

Tested on M4 chip, macOS 15, Enjoy it!

@bedxnta
Copy link

bedxnta commented Nov 20, 2024

half of these messages are virus links. please stop posting them and annoying me via mail. it's getting ridiculous. y'all are better than this. go get a fucking girlfriend or boyfriend and stop linking malware.

@hatemzidi
Copy link

Build 4180, for M series chip MAC:

sudo perl -pi -e 's/\x09\x15\x40\x39\x00\x6B\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

Tested on M4 chip, macOS 15, Enjoy it!

worked fine on M2 Pro chip, macos 15.1

@adrianaringhe
Copy link

adrianaringhe commented Nov 20, 2024

Build 4180, for M series chip MAC:

sudo perl -pi -e 's/\x09\x15\x40\x39\x00\x6B\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

Tested on M4 chip, macOS 15, Enjoy it!

Thank you, works on M4 w OS 15.1.1 w build 4180

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