sm: /updates/dev_update_check?version=2058&platform=linux&arch=arm64
sm: /updates/dev_update_check?version=2058&platform=linux&arch=x64
sm: /updates/dev_update_check?version=2058&platform=osx&arch=x64
sm: /updates/dev_update_check?version=2058&platform=windows&arch=x64
sm: /updates/stable_update_check?version=2059&platform=linux&arch=arm64
sm: /updates/stable_update_check?version=2059&platform=linux&arch=x64
sm: /updates/stable_update_check?version=2059&platform=osx&arch=x64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Cracking Sublime Text ( Build 4121 ) Tutorial Analysis | |
--- | |
Two main changes to be made for best experience. This can be done with script. | |
### License Key | |
While it is possible to deduce the format of the license key, there is available ones online to show. Analyse and see that it is still that same format. The main part is the verification of the hash values from the license key that we want to always be "correct". This is also the key that this tutorial will use. | |
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IDA Pro | |
open '/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text' | |
[File] -> [Produce file] -> [Create C file] | |
get 'Sublime Text.c' | |
search 'Sublime Text.c' Find "Thanks for purchasing!" in [show_thanks] | |
search show_thanks fun | |
''' | |
if ( v13 ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
''' | |
Two-pass re-run safe micro (85 LOC) patcher in python. | |
Sample patch config (yes, it's in YAML): | |
---->8---- | |
version: 0 | |
title: tribute to sublimetext_4126_crack_linux.py by dmknght @github | |
file: /tmp/sublime_text | |
# size: 8862888 # optional check for file size |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
sublime_binary_path = "/tmp/sublime_text" | |
version_magic_string = "4126" | |
sz_magic_string = 4 | |
version_magic_string_offset = 0x0002d78a # (Real offset from xxd) | |
is_file_read = os.access(sublime_binary_path, os.R_OK) | |
if not is_file_read: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
# forked from egel/auto-remove-sublime-license-popup | |
# https://gist.github.com/egel/b7beba6f962110596660 | |
from commands import getoutput as cl | |
from threading import Event, Thread | |
from sublime_plugin import EventListener |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -o errexit | |
set -o nounset | |
set -o pipefail | |
target="${1:-/opt/sublime_merge/sublime_merge}" | |
check_sha() { | |
local sha_valid |
This gist will no longer be updated as the changelog will be on the official website.
- Sublime Text/Merge Official Discord chat server: https://discord.gg/D43Pecu
- Sublime Text/Merge 中文 Telegram 交流群組: https://t.me/sublime_tw
Converted via https://domchristie.github.io/turndown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> * Go to [hexed.it](https://hexed.it/) | |
> * Click "Open File" and choose your sublime_text.exe **(DON'T FORGET TO BACKUP YOUR EXE FILE)** | |
> * Go to Search and in "Search for" put: C3 C6 01 00 C3 | |
> * In Search Type select "Enable replace" and put: C3 C6 01 01 C3 | |
> * Click "Find next" then "Replace" | |
> * Do the same thing with: 51 31 C0 88 05 => 51 b0 01 88 05 | |
> * Click "Save as" then name it: sublime_text | |
> * Copy your modified sublime_text.exe to directory Sublime Text |
OlderNewer