- Download & Install Sublime Text 3.2.2 Build 3211
- Visit https://hexed.it/
- Open file select sublime_text.exe
- Offset
0x8545
: Original84
->85
- Offset
0x08FF19
: Original75
->EB
- Offset
0x1932C7
: Original75
->74
(remove UNREGISTERED in title bar, so no need to use a license) - Export File and save it to location you want
- Backup
sublime_text.exe
file (just rename) - Copy
sublime_text.exe
modified to directory Sublime Text 3 - Happy Coding :)
- Download & Install Sublime Text 4 Alpha 4094
- Visit https://hexed.it/
- Open file select sublime_text.exe
- Go to Address:
0000A700
change80 38 00
toFE 00 90
- Export File and save it to location you want
- Backup
sublime_text.exe
file (just rename) - Copy
sublime_text.exe
modified to directory Sublime Text 4 (i.e C:\Program Files\Sublime Text) - 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 ------
- Happy Coding :)
Blocked by Microsoft Defender SmartScreen -> More Info -> Run Anyway
- Download & Install Sublime Text 3 or 4
- Visit https://hexed.it/
- 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)
- Search
97 94 0D
andChange
to00 00 00
- Export File and save it to location you want
- Backup
sublime_text
file (just rename) - Copy
sublime_text
modified to default directory Sublime Text - 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 ------
- Happy Coding :)
@lepotic You'll need more than a hex editor to use those patterns efficiently -- you will need a disassembler like IDA or Ghidra, like I mentioned I used above.
E8 ? ? ? ? 49 8B BF ? ? ? ? 85 C0
like I mentioned, is a pattern that will give you another function that containscall isValidLicense
. You'll need to jump to the function it references to find where you need to patch. Aka those 4 bytes afterE8
contains a relative offset toisValidLicense
. That's something you'll need a decompiler to find easily.When you jump to that function, the start of it will show you
55 41 57 41 56 41 55 41 54 53 48 81 EC 68 24 00 00
which is not a pattern, it's the actual bytes that make up the functionisValidLicense
. That "pattern" as you called it, will only work on v4107 and nothing more or less and will only work on Linux x64, the Windows/MacOS versions will not contain that sequence. The pattern to find that referencing function however, should work on more than v4107 (and earlier versions too).direct reference sig
refers to the pattern not directly pointing to where you need to go, it points to a reference, eg.call targetFunction
orjmp targetFunction
etc.direct reference sig (+0xABCD)
is similar to the above but you need to add0xABCD
to wherever you find the address to reach your target reference.raw sig
refers to the pattern pointing to directly where you need to go.