Skip to content

Instantly share code, notes, and snippets.

@fany0r
Created November 26, 2023 17:12
Show Gist options
  • Save fany0r/6b119adb0e84f80c267764b9a5957395 to your computer and use it in GitHub Desktop.
Save fany0r/6b119adb0e84f80c267764b9a5957395 to your computer and use it in GitHub Desktop.
crack sublime text 416x
1、安装 sublime text,复制一份 `C:\Program Files\Sublime Text\sublime_text.exe`
2、使用 010 Editor 打开 `sublime_text.exe`
3、搜索>替换 (Ctrl + R) > 十六进制值 `80 78 05 00 0F 94 C1` 替换为 `C6 40 05 01 48 85 C9`
保存 然后退出 010 Editor,覆盖 sublime_text.exe
运行 Sublime Text
@fany0r
Copy link
Author

fany0r commented Aug 9, 2024

v4180,Windows:
80 79 05 00 0F 94 C2 -> C6 41 05 01 B2 00 90

v4180,Linux:

sudo cp /opt/sublime_text/sublime_text ./sublime_text.old
sudo sed -i 's/\x80\x79\x05\x00\x0F\x94\xC2/\xC6\x41\x05\x01\xB2\x00\x90/' /opt/sublime_text/sublime_text

v4180,MacOS:

perl -pi -e 's/\x80\x79\x05\x00\x0F\x94\xC2/\xC6\x41\x05\x01\xB2\x00\x90/' /Applications/Sublime\ Text.app/Contents/MacOS/sublime_text
codesign --sign - --force --deep /Applications/Sublime\ Text.app

# If SIP is enabled, you also need to execute the following command
xattr -r -d com.apple.quarantine /Applications/Sublime\ Text.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment