Easy and Fast Crack By ninjqk.
Step 1: Install Required Tools
Download and install Sublime Text from:
https://download.sublimetext.com/sublime_text_build_4200_x64_setup.exe
Install HxD or any other hex editor. You can also use an online tool like:
https://hexed.it
Step 2: Modify Hex Values in sublime_text.exe
Open sublime_text.exe in your hex editor.
Press Ctrl+F or go to Search > Find, and apply the following patches:
Patch 1
Find: 74 06 3B
Change the first byte: 74 → EB
Result: EB 06 3B
Patch 2
Find: 89 F8 48 81 C4 38 02
Change the first two bytes:
89 → 33
F8 → C0
Result: 33 C0 48 81 C4 38 02
Patch 3 (Previously Forgotten Patch)
Find: E8 F4 7F 10 00
Replace all bytes with: 90 90 90 90 90
Patch 4 (Previously Forgotten Patch)
Find the following sequence:
41 57 41 56 41 54 56 57 53 48 83 EC 38 4C 89 CE 4C 89 C7 48 89 D3 49 89 CE 4C
Replace the first two bytes: 41 57 → 90 90
Result:
90 90 41 56 41 54 56 57 53 48 83 EC 38 4C 89 CE 4C 89 C7 48 89 D3 49 89 CE 4C
Once all changes are made, save the file.
Step 3: Activate Sublime Text
Open Sublime Text.
Go to Help > Enter License.
Enter any value (for example, just type "A") and click Use License.
Enjoy :)
-
-
Save oninjqk/cf4b2ab3f1382c049569f95743794521 to your computer and use it in GitHub Desktop.
Thanks
Thanks, but I have a small issue, when I use package control it gets re-triggered as unregistered?
Thanks, but I have a small issue, when I use package control it gets re-triggered as unregistered?
hmm idk, can you explain it to me better so i can try to patch it?
Thanks, but I have a small issue, when I use package control it gets re-triggered as unregistered?
hmm idk, can you explain it to me better so i can try to patch it?
I will try to reproduce this and let you know, my first attempt was with the webpage but I will try with an actual hex editor.
I did it again but with a proper hex editor this time and it seems to hold even when you install packages, thanks!
Thanks, but I have a small issue, when I use package control it gets re-triggered as unregistered?
Same issue. First open is work. But just for a while it giving Un-registered on label again :D So just close and re-open it work but only for a while.
Thanks, but I have a small issue, when I use package control it gets re-triggered as unregistered?
Same issue. First open is work. But just for a while it giving Un-registered on label again :D So just close and re-open it work but only for a while.
Yes, that's exactly what I forgot to do, I'll update it and when you read this message you'll already be up to date :)
Thank you!! It worked perfectly.
Sublime Text Build 4200
Search 0x00046B80
0F B6 51 05 83 F2 01 -> C6 41 05 01 B2 00 90
@wirabae onit
thanks
C6 41 05 01 B2 00 90
Thanks, for this. :)
Sublime Text Patcher Instructions
Step 1:
Download and install Sublime Text from:
https://download.sublimetext.com/sublime_text_build_4200_x64_setup.exe
Step 2:
Save the PowerShell code to Desktop with the name "SublimePatcher.ps1"
Step 3:
On Desktop, hold down Shift and right-click in an empty area, then select "Open PowerShell window here"
Step 4:
Run the PowerShell script by typing:
.\SublimePatcher.ps1
Step 5:
After All Done Open Sublime Text and in main menu click to "Help" and click to "Enter License" and type "A" and click OK
Prompt MSG "License Done"
....................................................................................................................
There are still a few steps in "Windows Defender Firewall with Advanced Security" to take to make everything safe.
...................................................................................................................
Important Notes:
You may need to run PowerShell as Administrator for the script to work properly
If you get an execution policy error, first run: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
The script will create a backup of your original Sublime Text executable
Make sure Sublime Text is closed before running the patcher
PowerShell Code
$destFolder = "$env:USERPROFILE\Desktop\SUBLIME"
$sourceExe = "C:\Program Files\Sublime Text\sublime_text.exe"
$destExe = "$destFolder\sublime_text.exe"
$backupExe = "C:\Program Files\Sublime Text\sublime_text_backup.exe"
Write-Host "Starting Sublime Text patching process..."
if (-not (Test-Path -Path $sourceExe)) {
Write-Host "Error: Source file not found at $sourceExe"
exit
}
if (-not (Test-Path -Path $destFolder)) {
Write-Host "Creating SUBLIME folder..."
New-Item -Path $destFolder -ItemType Directory | Out-Null
}
Write-Host "Copying files to desktop folder..."
Copy-Item -Path $sourceExe -Destination $destExe -Force
$FilePath = $destExe
if (!(Test-Path $FilePath)) {
Write-Host "Error: File not found at $FilePath"
exit
}
$bytes = [System.IO.File]::ReadAllBytes($FilePath)
if ($bytes.Length -eq 0) {
Write-Host "Error: Failed to read the file or file is empty."
exit
}
function Apply-Patch {
param (
[byte[]]$Find,
[byte[]]$Replace,
[string]$Description
)
$found = $false
for ($i = 0; $i -le $bytes.Length - $Find.Length; $i++) {
$match = $true
for ($j = 0; $j -lt $Find.Length; $j++) {
if ($bytes[$i + $j] -ne $Find[$j]) {
$match = $false
break
}
}
if ($match) {
for ($j = 0; $j -lt $Replace.Length; $j++) {
$bytes[$i + $j] = $Replace[$j]
}
Write-Host "Patch applied: $Description at offset 0x$("{0:X}" -f $i)"
$found = $true
break
}
}
if (-not $found) {
Write-Host "Failed to find pattern for patch: $Description"
}
}
Write-Host "Applying patches..."
$patches = @(
@{ Find = @(0x74, 0x06, 0x3B); Replace = @(0xEB, 0x06, 0x3B); Desc = "Patch 1: Change 74 to EB" },
@{ Find = @(0x89, 0xF8, 0x48, 0x81, 0xC4, 0x38, 0x02); Replace = @(0x33, 0xC0, 0x48, 0x81, 0xC4, 0x38, 0x02); Desc = "Patch 2: 89 F8 to 33 C0" },
@{ Find = @(0xE8, 0xF4, 0x7F, 0x10, 0x00); Replace = @(0x90, 0x90, 0x90, 0x90, 0x90); Desc = "Patch 3: Full 5-byte NOPs" },
@{ Find = @(0x41, 0x57, 0x41, 0x56, 0x41, 0x54, 0x56, 0x57, 0x53, 0x48, 0x83, 0xEC, 0x38); Replace = @(0x90, 0x90, 0x41, 0x56, 0x41, 0x54, 0x56, 0x57, 0x53, 0x48, 0x83, 0xEC, 0x38); Desc = "Patch 4: 41 57 to 90 90" }
)
foreach ($patch in $patches) {
Apply-Patch -Find $patch.Find -Replace $patch.Replace -Description $patch.Desc
}
$patchedFilePath = "$destFolder\SublimeText_patched.exe"
Write-Host "Saving patched file..."
[System.IO.File]::WriteAllBytes($patchedFilePath, $bytes)
if (-not (Test-Path $patchedFilePath)) {
Write-Host "Error: Patched file was not created successfully"
exit
}
$originalBackupPath = "C:\Program Files\Sublime Text\sublime_text_backup.exe"
$targetPath = "C:\Program Files\Sublime Text\sublime_text.exe"
Write-Host "Creating backup of original file..."
Copy-Item -Path $targetPath -Destination $originalBackupPath -Force
Write-Host "Replacing original file with patched version..."
try {
Copy-Item -Path $patchedFilePath -Destination $targetPath -Force
Write-Host "SUCCESS: Sublime Text has been patched successfully!"
Write-Host "Original backup saved at: $originalBackupPath"
Write-Host "Working files saved in: $destFolder"
} catch {
Write-Host "Error: Failed to replace the original file. Error: $_"
Write-Host "You may need to run PowerShell as Administrator"
Write-Host "Patched file is available at: $patchedFilePath"
}
PowerShell Code
Thank you
Supper!!!
I forgot to patch the function that checks the time of use of the program :/