Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sublime Text Patching Guide

Automated Patching

Download slt.py python script (supports multiple build) from this repository.

Usage

python slt.py <"sublime_text file path">


Manual Patching

Download already patched executable or perform hex edit with the information shown below.

Build 3176

Windows 32-bit

Name Offset Original Patched
Persistent License Check 0x267CA 0x00 0x01
Initial License Check 0x26C4F 0x38 0x08
0x26C50 0x00 0x01
Software Update Prompt 0x50AFA 0x55 0xC3

Windows 64-bit

Name Offset Original Patched
Persistent License Check 0x3985A 0x00 0x01
Initial License Check 0x3A073 0x38 0x08
0x3A074 0x00 0x01
Software Update Prompt 0x792FB 0x57 0xC3

Linux 32-bit

Name Offset Original Patched
Persistent License Check 0xD779 0x00 0x01
Initial License Check 0xC068 0x38 0x08
0xC069 0x00 0x01
Software Update Prompt 0x482C5 0x83 0xC3
0x482C6 0xEC 0x90
0x482C7 0x0C 0x90

Linux 64-bit

Name Offset Original Patched
Persistent License Check 0xEB83 0x00 0x01
Initial License Check 0xD538 0x38 0x08
0xD539 0x00 0x01
Software Update Prompt 0x460B5 0x53 0xC3

@naml3i

This comment has been minimized.

Copy link

naml3i commented May 26, 2018

Hi, how is this method different from this hex replacement (Windows x64, which I've tried):

$fp = "sublime_text.exe"
$bs = [System.IO.File]::ReadAllBytes("${fp}")
$bs[0x76a0c] = 0xeb
$bs[0x76a0d] = 0x2a
$bs[0x76a2a] = 0x75
$bs[0xb27d9] = 0x85
$bs[0x23ff18] = 0x75
[System.IO.File]::WriteAllBytes("${fp}",$bs)

It looks like this is a completely different set of bytes to patch (different offset, different values).

And "Software Update Prompt" means it will never check for newer version, or just won't ask you to update? If I follow this patching approach, can that line be left out?

@deyixtan

This comment has been minimized.

Copy link
Owner Author

deyixtan commented May 26, 2018

Hi @naml3i,
I'm not really sure, I've not really tried the patch that you quoted. I assume they just patch the save prompt as well as the "Unregistered" check directly. For me, what I did was to patch the initial license check during the start up of the editor and to force the subsequent license checks (after 10 min?) to think that you have a valid license.

For your second question, it just removes the annoying update prompt function call whenever you start the editor (happens on outdated builds, e.g. 3175, 3170). And yes, it can be left out.

@delphifocus

This comment has been minimized.

Copy link

delphifocus commented May 28, 2018

@deyixtan, can you also provide the patching for Sublime Text 32 bit Windows and Linux?

@deyixtan

This comment has been minimized.

Copy link
Owner Author

deyixtan commented May 28, 2018

Hi @delphifocus,
I've added the patching information for both Windows and Linux 32-bit. Would appreciate if you could update me if it works on your side. Thanks!

@nezirz

This comment has been minimized.

Copy link

nezirz commented Jun 3, 2018

Downloaded linux x64 copied and run as executable and nothings happens still getting unregistered windows

@deyixtan

This comment has been minimized.

Copy link
Owner Author

deyixtan commented Jun 4, 2018

Hi @nezirz,
That's weird. I just tested again with the x64 copy from my repo and it still works. Well, perhaps ensure that you have the correct version and ran the correct executable (i.e sublime_text_3176 instead of sublime_text, if you downloaded and never overwrite the original file). If not you can run my script or manual patch with the information provided above.

@japodhidev

This comment has been minimized.

Copy link

japodhidev commented Jun 7, 2018

The script patch worked perfectly. Thanks I guess. Note: The sublime_text.exe path requires administrator privileges. Running cmd with administrator did for me

@deyixtan

This comment has been minimized.

Copy link
Owner Author

deyixtan commented Jun 8, 2018

Thanks for the helpful note @japodhidev!

@shadowx360

This comment has been minimized.

Copy link

shadowx360 commented Jun 13, 2018

Any chance of updating for macOS? I don't have any Apple products but by request was asked.

@deyixtan

This comment has been minimized.

Copy link
Owner Author

deyixtan commented Jun 13, 2018

@shadowx360 I guess not, for now. Sadly, I don't have a macOS environment to work on too.

@possessedbysatan

This comment has been minimized.

Copy link

possessedbysatan commented Jun 19, 2018

@shadowx360

printf '\xc3' | dd seek=$((0xae95)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
printf '\xc3' | dd seek=$((0xb2c6)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
printf '\x48\xc7\xc0\x01\x00\x00\x00\xc3' | dd seek=$((0x85036)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
@delphifocus

This comment has been minimized.

Copy link

delphifocus commented Jul 19, 2018

@deyixtan, sorry for the lately replied. Thanks for the updated patch for x32 platform (Windows and Linux). I can confirm that it works very well.

@bousqi

This comment has been minimized.

Copy link

bousqi commented Sep 21, 2018

@deyixtan, based on your repos, I built a clone for Sublime Merge (the new Sublime app for Git)
https://github.com/bousqi/slm-patcher

@deyixtan

This comment has been minimized.

Copy link
Owner Author

deyixtan commented Oct 5, 2018

@bousqi Many thanks!

@HoMeCracKeR

This comment has been minimized.

Copy link

HoMeCracKeR commented Feb 3, 2019

Sublime Text 3 Dev Build 3189 OS X

Name Offset Original Patched
Persistent License Check 0x4CF4 0x00 0x01
Initial License Check 0x603D1 0x38 0x08
  0x603D2 0x00 0x01
Software Update Prompt 0x1208EA 0x53 0xC3

You can download the patched app here:
https://workupload.com/file/5fSHr4zR
https://file.bz/58oau3s8b0/Sublime_Text_3_Dev_Build_3189_HCiSO_dmg

@FakeGAccount

This comment has been minimized.

Copy link

FakeGAccount commented Feb 27, 2019

Sublime Text 3 Dev Build 3190+ (Tested on Windows X64)

Offset Patched Original
0x583944 00 97
0x583945 00 94
0x583946 00 0D

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

FOR EDUCATIONAL PURPOSES ONLY.

@fredgolightly

This comment has been minimized.

Copy link

fredgolightly commented Mar 1, 2019

I've changed the offsets in HxD on 3190 portable but it still askes for license and 'dings' then doesn't start up.

@FakeGAccount

This comment has been minimized.

Copy link

FakeGAccount commented Mar 1, 2019

I've changed the offsets in HxD on 3190 portable but it still askes for license and 'dings' then doesn't start up.

Make sure its the Windows X64 variant, and use the License above. And try again

@FakeGAccount

This comment has been minimized.

Copy link

FakeGAccount commented Mar 1, 2019

Sublime Text 3 Dev Build 3193+ (Tested on Windows x64)

Offset Patched Original
0x58BA04 00 97
0x58BA05 00 94
0x58BA06 00 0D

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

FOR EDUCATIONAL PURPOSES ONLY.

@fredgolightly

This comment has been minimized.

Copy link

fredgolightly commented Mar 2, 2019

Could you tell me how to find the offsets to change in future versions?

@fredgolightly

This comment has been minimized.

Copy link

fredgolightly commented Mar 5, 2019

3194? Happy to post them here if someone can point me what to look for in the exe hex-wise?

@fredgolightly

This comment has been minimized.

Copy link

fredgolightly commented Mar 13, 2019

3200? :)

@ghost

This comment has been minimized.

Copy link

ghost commented Mar 14, 2019

Build 3200
Windows 64-bit

Name Offset Original Patched
Initial License Check 0x8545 0x84 0x85
Persistent License Check 0x192487 0x75 0x74
Help Menu 0x?? 0x?? 0x??
@texervn

This comment has been minimized.

Copy link

texervn commented Mar 16, 2019

unix-x64: try this:
0x3BEB98
0x477C6E

@fredgolightly

This comment has been minimized.

Copy link

fredgolightly commented Mar 16, 2019

unix-x64: try this:
0x3BEB98
0x477C6E

Where do you get/calculate the offsets from?

@xCameronx

This comment has been minimized.

Copy link

xCameronx commented Mar 18, 2019

Sublime Text 3 - Build 3200 (v3.2) - Windows x64

No License Required - About Dialog Shows:

   Registered to
 Unlimited User License
Description Offset Original Patched
@ghost Initial License Check 0x8545 0x84 0x85
@ghost Persistent License Check 0x192487 0x75 0x74
@xCameronx Purchase License Nag 0x8F6A8 0x48 0xC3

License Required:

Description Offset Original Patched
@xCameronx Sublime Text 2 License Nag 0x8FD6C 0x48 0xC3
@tsakowi License URL (?) 0x58BB94 0x97 0x00
@tsakowi License URL (?) 0x58BB95 0x94 0x00
@tsakowi License URL (?) 0x58BB96 0x0D 0x00
—– 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 ——

FOR EDUCATIONAL PURPOSES ONLY.


Sources:

User URL
@ghost https://gist.github.com/deyixtan/6822b66ad7792ab2580ba37c450ae79c#gistcomment-2862497
@xCameronx https://gist.github.com/deyixtan/6822b66ad7792ab2580ba37c450ae79c#gistcomment-2864769
@tsakowi https://gist.github.com/laptrinhcomvn/ae127424a9026f507a3c#gistcomment-2861844
@tomay3000

This comment has been minimized.

Copy link

tomay3000 commented Mar 18, 2019

3200 for linux x64 please.

@cipherknight

This comment has been minimized.

Copy link

cipherknight commented Mar 18, 2019

Sublime Text 3 - Build 3200 - Linux x64

Desciption Offset Original Patched
Initial License Check 0x3BEB98 0x84 0x85
Persistent License Check 0x477C6E 0x75 0x74

Sources:

User URL
@texervn https://gist.github.com/deyixtan/6822b66ad7792ab2580ba37c450ae79c#gistcomment-2863734

IP addresses to block:

iptables -A OUTPUT -d 45.55.41.223/32 -j REJECT
iptables -A OUTPUT -d 45.55.255.55/32 -j REJECT

Entries to add to /etc/hosts

127.0.0.1    sublimetext.com
127.0.0.1    www.sublimetext.com
127.0.0.1    sublimehq.com
127.0.0.1    telemetry.sublimehq.com
127.0.0.1    license.sublimehq.com

sublime_text_3_b3200

@jay-star

This comment has been minimized.

Copy link

jay-star commented Mar 18, 2019

@xCameronx thanks, I was getting nag occasionally when saving files.

@hjjiang

This comment has been minimized.

Copy link

hjjiang commented Mar 18, 2019

3200 for macOS please.

@texervn

This comment has been minimized.

Copy link

texervn commented Mar 19, 2019

Not sure if this hushes the Nag on unix:
0x31BFED: 48->C3

@hjjiang

This comment has been minimized.

Copy link

hjjiang commented Mar 19, 2019

Not sure if this hushes the Nag on unix:
0x31BFED: 48->C3

printf '\xc3' | dd seek=$((0x31BFED)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
?

@texervn

This comment has been minimized.

Copy link

texervn commented Mar 19, 2019

@hjjiang Sorry, I do not know what it would be on Mac. That offset is just for linux-x64 version.

@varaskkar

This comment has been minimized.

Copy link

varaskkar commented Mar 19, 2019

@texervn thanks mate!

@Sickness-chan

This comment has been minimized.

Copy link

Sickness-chan commented Mar 22, 2019

Sublime Text 3 - Build 3200 (v3.2) - Windows x64

No License Required - About Dialog Shows:

   Registered to
 Unlimited User License

Description Offset Original Patched
@ghost Initial License Check 0x8545 0x84 0x85
@ghost Persistent License Check 0x192487 0x75 0x74
@xCameronx Purchase License Nag 0x8F6A8 0x48 0xC3
License Required:

Description Offset Original Patched
@xCameronx Sublime Text 2 License Nag 0x8FD6C 0x48 0xC3
@tsakowi License URL (?) 0x58BB94 0x97 0x00
@tsakowi License URL (?) 0x58BB95 0x94 0x00
@tsakowi License URL (?) 0x58BB96 0x0D 0x00

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

FOR EDUCATIONAL PURPOSES ONLY.

Sources:

User URL
@ghost https://gist.github.com/deyixtan/6822b66ad7792ab2580ba37c450ae79c#gistcomment-2862497
@xCameronx https://gist.github.com/deyixtan/6822b66ad7792ab2580ba37c450ae79c#gistcomment-2864769
@tsakowi https://gist.github.com/laptrinhcomvn/ae127424a9026f507a3c#gistcomment-2861844

thanks alot, worked fine

@Streissen

This comment has been minimized.

Copy link

Streissen commented Mar 25, 2019

can anyone tell me where to edit the hex file? I'm totally lost

@mIcHyAmRaNe

This comment has been minimized.

Copy link

mIcHyAmRaNe commented Mar 27, 2019

can anyone tell me where to edit the hex file? I'm totally lost

@Streissen https://gist.github.com/cipherhater/4e75d4e4551db171de03e9618456a7ea#gistcomment-2873160

@mpixelz

This comment has been minimized.

Copy link

mpixelz commented Mar 27, 2019

version 3.2 build 3200 for mac os please anyone?

@Streissen

This comment has been minimized.

Copy link

Streissen commented Mar 29, 2019

can anyone tell me where to edit the hex file? I'm totally lost

@Streissen https://gist.github.com/cipherhater/4e75d4e4551db171de03e9618456a7ea#gistcomment-2873160

Thanks a lot! I have solved the problem :-)

@hjjiang

This comment has been minimized.

Copy link

hjjiang commented Mar 29, 2019

mac os pls as well

@awebsite

This comment has been minimized.

Copy link

awebsite commented Mar 30, 2019

how to this opretion

@ghost

This comment has been minimized.

Copy link

ghost commented Apr 6, 2019

Win x64 3207

Updated offsets for modifications made by @ghost and @xCameronx for build 3200

Description Offset Original Patched
Initial License Check 0x8545 0x84 0x85
Persistent License Check 0x193263 0x75 0x74
Purchase License Nag 0x90315 0x48 0xC3
@InventM4n

This comment has been minimized.

Copy link

InventM4n commented Apr 6, 2019

Any idea how disable update check? @alphabug

"update_check" : false don't work anymore

@ghost

This comment has been minimized.

Copy link

ghost commented Apr 6, 2019

@DrW3b I'm still new to this so there likely better ways... but I chose one with few changes.
Again for Win x64 3207, this time to disable update checking:

Description Offset Original Patched
Initial Update Check 0xD6B6C 84 85
Menu Update Check 0x4D745A 85 84
@pundoo

This comment has been minimized.

Copy link

pundoo commented Apr 6, 2019

@alphabug How you figured the offsets? IDA Pro? What variables to look for?
BTW, thanks for the effort. It worked perfectly :)

@ghost

This comment has been minimized.

Copy link

ghost commented Apr 6, 2019

@pundoo For small version changes you can just search and replace the hex pattern, like what the python script in this gist does.

To do it from scratch, any disassembler with a debugger is fine. Assembly knowledge will help because you're dealing with memory locations and registers instead of variables. Set breakpoints and debug like you would when programming with an IDE.

@Viterzgir

This comment has been minimized.

Copy link

Viterzgir commented Apr 7, 2019

Can you please post offsets for Linux x64 3207?

@texervn

This comment has been minimized.

Copy link

texervn commented Apr 9, 2019

@fredgolightly
original comment
I used radare2 but it is kind of boring because I have to go through trial and error many times to get what we want.

@naml3i

This comment has been minimized.

Copy link

naml3i commented Apr 9, 2019

Win x64 3207
Updated offsets for modifications made by @ghost and @xCameronx for build 3200

Offset Original Patched
0x8545 0x84 0x85
0x193263 0x75 0x74
0x90315 0x48 0xC3

This is to confirm that the method mentioned in the comment of @alphabug above works perfectly for version 3207.

@delphifocus

This comment has been minimized.

Copy link

delphifocus commented Apr 12, 2019

@alphabug, is there a patch offset for win32 of Sublime Text build 3207?

@ghost

This comment has been minimized.

Copy link

ghost commented Apr 13, 2019

Cracking guide for Sublime Text 3.2.1 (3207) and Sublime Merge (1111)

Updated #12 (20190412)

The patch will show the license key for Sublime Text/Merge!

After the patch and enter the license key, the program is fully functional.
Instead of "Free World User" you can enter your name or any text.

One license key for Sublime Text/Merge!

Sources:

User URL
cipherhater Cracking guide for Sublime Text/Merge

Read the guide, run the script, enjoy ... :)


Cracking guide for VueScan 9 x64 (v9.6.38)

Sources:

User URL
cipherhater Cracking guide for VueScan 9.6.38

Read the guide, run the script, enjoy ... :)


"We do not pay for programs that you do not know how to protect..." © CipherHater

@nazares

This comment has been minimized.

Copy link

nazares commented Apr 13, 2019

Version Platform Offset Original Cracking
3207 macOS 0x6234B 55 C3
0x62061 55 C3
0xDAC5B 55 48 89 E5 41 57 41 56 48 C7 C0 01 00 00 00 C3
printf '\xc3' | dd seek=$((0x6234b)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
printf '\xc3' | dd seek=$((0x62061)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
printf '\x48\xc7\xc0\x01\x00\x00\x00\xc3' | dd seek=$((0xdac5b)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
@ghost

This comment has been minimized.

Copy link

ghost commented Apr 15, 2019

Wx64 Use 0x4D6404: 0x55 to 0xC3 for disabling entire update checks, not just the messages.

@hjjiang

This comment has been minimized.

Copy link

hjjiang commented Apr 17, 2019

https://gist.github.com/deyixtan/6822b66ad7792ab2580ba37c450ae79c#gistcomment-2888589

thanks @nazares, you u happen to also have the values for sublime merge?

@cs475x

This comment has been minimized.

Copy link

cs475x commented Apr 20, 2019

@hjjiang He doesn't, at least not from his own work, because he didn't even find those ST3 values himself.

@nazares You're welcome. ;)

@ghost

This comment has been minimized.

Copy link

ghost commented Oct 2, 2019

Build 3211
Windows 64-bit

Name Offset Original Patched
Initial License Check 0x8545 0x84 0x85
Persistent License Check 0x1932C7 0x75 0x74
Help Menu 0x?? 0x?? 0x??
@ghost

This comment has been minimized.

Copy link

ghost commented Oct 3, 2019

Build 3211
Windows 64-bit

Name Offset Original Patched
Initial License Check 0x8545 0x84 0x85
Popup Nag 0x08FF19 0x75 0xEB
Title Bar 0x1932C7 0x75 0x74
@hjjiang

This comment has been minimized.

Copy link

hjjiang commented Oct 8, 2019

any chance if somebody can patch the macOs version?

@Amenobiss

This comment has been minimized.

Copy link

Amenobiss commented Nov 11, 2019

Sublime Text 3 - build 3207 - Linux x64

sha1 sublime_text: e89057bc8cd5e0d1ea3927ab37fff476bed12ea7

Description Offset Original Patched
Initial License Check 0x3c03dc 0x84 0x85
Persistent License Check 0x4797a0 0x75 0x74
Purchase License Nag 0x31d180 0x75 0x74

printf '\x85' | dd seek=$((0x3c03dc)) conv=notrunc bs=1 of=/opt/sublime_text_3/sublime_text
printf '\x74' | dd seek=$((0x4797a0)) conv=notrunc bs=1 of=/opt/sublime_text_3/sublime_text
printf '\x74' | dd seek=$((0x31d180)) conv=notrunc bs=1 of=/opt/sublime_text_3/sublime_text

*be sure that sublime_text is located at /opt/sublime_text_3/

Hi. It seems to be the Purchase License Nag at 0x31d186 (75) nor 0x31d180 (4E) in my file.

@RankinKeanan

This comment has been minimized.

Copy link

RankinKeanan commented Dec 12, 2019

Sublime Text 3 - Build 3200 (v3.2) - Windows x64

No License Required - About Dialog Shows:

   Registered to
 Unlimited User License

Description Offset Original Patched
@ghost Initial License Check 0x8545 0x84 0x85
@ghost Persistent License Check 0x192487 0x75 0x74
@xCameronx Purchase License Nag 0x8F6A8 0x48 0xC3
License Required:

Description Offset Original Patched
@xCameronx Sublime Text 2 License Nag 0x8FD6C 0x48 0xC3
@tsakowi License URL (?) 0x58BB94 0x97 0x00
@tsakowi License URL (?) 0x58BB95 0x94 0x00
@tsakowi License URL (?) 0x58BB96 0x0D 0x00

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

FOR EDUCATIONAL PURPOSES ONLY.

Sources:

User URL
@ghost https://gist.github.com/deyixtan/6822b66ad7792ab2580ba37c450ae79c#gistcomment-2862497
@xCameronx https://gist.github.com/deyixtan/6822b66ad7792ab2580ba37c450ae79c#gistcomment-2864769
@tsakowi https://gist.github.com/laptrinhcomvn/ae127424a9026f507a3c#gistcomment-2861844

Can you tell me how to use this on windows? Thank you!

Sublime Text 3 - Build 3200 (v3.2) - Windows x64

No License Required - About Dialog Shows:

   Registered to
 Unlimited User License

Description Offset Original Patched
@ghost Initial License Check 0x8545 0x84 0x85
@ghost Persistent License Check 0x192487 0x75 0x74
@xCameronx Purchase License Nag 0x8F6A8 0x48 0xC3
License Required:

Description Offset Original Patched
@xCameronx Sublime Text 2 License Nag 0x8FD6C 0x48 0xC3
@tsakowi License URL (?) 0x58BB94 0x97 0x00
@tsakowi License URL (?) 0x58BB95 0x94 0x00
@tsakowi License URL (?) 0x58BB96 0x0D 0x00

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

FOR EDUCATIONAL PURPOSES ONLY.

Sources:

User URL
@ghost https://gist.github.com/deyixtan/6822b66ad7792ab2580ba37c450ae79c#gistcomment-2862497
@xCameronx https://gist.github.com/deyixtan/6822b66ad7792ab2580ba37c450ae79c#gistcomment-2864769
@tsakowi https://gist.github.com/laptrinhcomvn/ae127424a9026f507a3c#gistcomment-2861844

Can you tell me how to use this on windows? Thank you!

@DaniSheng

This comment has been minimized.

Copy link

DaniSheng commented Dec 12, 2019

Can you tell me how to use this on windows? Thank you!

VSCode is better and free.

@Snuupy

This comment has been minimized.

Copy link

Snuupy commented Dec 24, 2019

As per https://gist.github.com/laptrinhcomvn/ae127424a9026f507a3c#gistcomment-2024596:

Build 3211
Windows 64-bit


Invoke-Expression (New-Object System.Net.WebClient).DownloadString("https://raw.githubusercontent.com/nferrell/PSToolbelt/master/Public/Edit-FileHex.ps1")

Edit-FileHex -FilePath "C:\Program Files\Sublime Text 3\sublime_text.exe" -Offset 0x8545 -Original 84 -Updated 85 -OverwriteOriginal

Edit-FileHex -FilePath "C:\Program Files\Sublime Text 3\sublime_text.exe" -Offset 0x08FF19 -Original 75 -Updated EB -OverwriteOriginal

Edit-FileHex -FilePath "C:\Program Files\Sublime Text 3\sublime_text.exe" -Offset 0x1932C7 -Original 75 -Updated 74 -OverwriteOriginal
@mpixelz

This comment has been minimized.

Copy link

mpixelz commented Dec 25, 2019

3.2.2 build 3211 for mac? can anyone provide hex script?

@cjhonlyone

This comment has been minimized.

Copy link

cjhonlyone commented Dec 25, 2019

As per https://gist.github.com/laptrinhcomvn/ae127424a9026f507a3c#gistcomment-2024596:

Build 3211
Windows 64-bit


Invoke-Expression (New-Object System.Net.WebClient).DownloadString("https://raw.githubusercontent.com/nferrell/PSToolbelt/master/Public/Edit-FileHex.ps1")

Edit-FileHex -FilePath "C:\Program Files\Sublime Text 3\sublime_text.exe" -Offset 0x8545 -Original 84 -Updated 85 -OverwriteOriginal

Edit-FileHex -FilePath "C:\Program Files\Sublime Text 3\sublime_text.exe" -Offset 0x08FF19 -Original 75 -Updated EB -OverwriteOriginal

Edit-FileHex -FilePath "C:\Program Files\Sublime Text 3\sublime_text.exe" -Offset 0x1932C7 -Original 75 -Updated 74 -OverwriteOriginal

I updated 0x85 0xEB and 0x74 but after a few minutes it still reported your license no longer ...
Build 3211
Windows 64-bit

@naml3i

This comment has been minimized.

Copy link

naml3i commented Jan 5, 2020

$fp = "C:\Program Files\Sublime Text 3\sublime_text.exe"
$bs = [System.IO.File]::ReadAllBytes("${fp}")
$bs[0x8545] = 0x85
$bs[0x08FF19] = 0xEB
$bs[0x1932C7] = 0x74
[System.IO.File]::WriteAllBytes("${fp}",$bs)

Windows x64 3.2.2 build 3211
img

@girish601

This comment has been minimized.

Copy link

girish601 commented Jan 23, 2020

Merge
@jrhax
Thanks for showing the way.
All sites are flooded with Sublime Text license, but Sublime Merge is very rare.
Thanks mate.

@Darthagnon

This comment has been minimized.

Copy link

Darthagnon commented Apr 29, 2020

Sublime Merge (Windows x64, v2009dev) - offsets' context included, so you can manually search

Offset		Original	Patched		Context
------		--------	-------		-------
0x29D7E		0x25		0x0D		05 8B 71 93 00 48 89 05 A4 71 93 {00 66 83 [25]} A4
0x2A8E0		0x38		0x08		48 8B 86 B0 02 00 00 80 [38]
0x2A8E2		0x00		0x01		48 8B 86 B0 02 00 00 80 [38] [00] 74
0x2F835		0x00		0x01		FF 48 89 F8 48 83 C4 28 5F 5E C3 C6 01 [00] C3 CC 48 83
@SMG456

This comment has been minimized.

Copy link

SMG456 commented May 22, 2020

Build 3211 instructions? (ALL VERSIONS)

@souhaiebtar

This comment has been minimized.

Copy link

souhaiebtar commented May 29, 2020

@bath is there a offset for linux ?

@fredgolightly

This comment has been minimized.

Copy link

fredgolightly commented May 30, 2020

4074 alpha?

@kapitanluffy

This comment has been minimized.

Copy link

kapitanluffy commented Jun 1, 2020

Sublime Merge (Windows x64, v2009dev) - offsets' context included, so you can manually search

Offset		Original	Patched		Context
------		--------	-------		-------
0x29D7E		0x25		0x0D		05 8B 71 93 00 48 89 05 A4 71 93 {00 66 83 [25]} A4
0x2A8E0		0x38		0x08		48 8B 86 B0 02 00 00 80 [38]
0x2A8E2		0x00		0x01		48 8B 86 B0 02 00 00 80 [38] [00] 74
0x2F835		0x00		0x01		FF 48 89 F8 48 83 C4 28 5F 5E C3 C6 01 [00] C3 CC 48 83

This somehow worked but can't set the theme to dark

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.