Skip to content

Instantly share code, notes, and snippets.

View Destitute-Streetdwelling-Guttersnipe's full-sized avatar
🎯
Focusing

DSG (Destitute Streetdwelling Guttersnipe) Destitute-Streetdwelling-Guttersnipe

🎯
Focusing
View GitHub Profile

strings in SublimeText & SublimeMerge

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
# 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.
```
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 )
@Destitute-Streetdwelling-Guttersnipe
Destitute-Streetdwelling-Guttersnipe / patch.py
Created January 18, 2022 05:12 — forked from jn0/patch.py
Two-pass multi-run-safe micro (85 LOC) patcher in python
#!/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
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:
#! /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
@Destitute-Streetdwelling-Guttersnipe
Destitute-Streetdwelling-Guttersnipe / patch.sh
Created May 27, 2022 09:56 — forked from rufoa/patch.sh
sublime merge 2 build 2068 linux
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail
target="${1:-/opt/sublime_merge/sublime_merge}"
check_sha() {
local sha_valid
@Destitute-Streetdwelling-Guttersnipe
Destitute-Streetdwelling-Guttersnipe / st4-changelog.md
Created June 16, 2022 13:02 — forked from jfcherng/st4-changelog.md
Sublime Text 4 changelog just because it's not on the official website yet.
> * 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