anthony zrewidował ten Gist . Przejdź do rewizji
1 file changed, 43 insertions
4200.md(stworzono plik)
@@ -0,0 +1,43 @@ | |||
1 | + | # Sublime Text 4 Build 4200 | |
2 | + | ||
3 | + | --- | |
4 | + | ||
5 | + | https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=5587957#gistcomment-5587957 | |
6 | + | ||
7 | + | Microsoft Windows (Run as admin) : | |
8 | + | ||
9 | + | ```shell | |
10 | + | py -c "open('C:\\Program Files\\Sublime Text\\sublime_text.exe', 'rb+').write(open('C:\\Program Files\\Sublime Text\\sublime_text.exe', 'rb').read().replace(b'\x0F\xB6\x51\x05\x83\xF2\x01', b'\xC6\x41\x05\x01\xB2\x00\x90'))" | |
11 | + | ``` | |
12 | + | ||
13 | + | GNU/Linux (Same for MacOS ?) : | |
14 | + | ||
15 | + | ```shell | |
16 | + | sudo python3 -c "open('/opt/sublime_text/sublime_text', 'rb+').write(open('/opt/sublime_text/sublime_text', 'rb').read().replace(b'\x0F\xB6\x51\x05\x83\xF2\x01', b'\xC6\x41\x05\x01\xB2\x00\x90'))" | |
17 | + | ``` | |
18 | + | ||
19 | + | --- | |
20 | + | ||
21 | + | https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=5591370#gistcomment-5591370 | |
22 | + | ||
23 | + | ```shell | |
24 | + | sudo sed -i 's/\x0F\xB6\x51\x05\x83\xF2\x01/\xC6\x41\x05\x01\xB2\x00\x90/' "/opt/sublime_text/sublime_text" | |
25 | + | ``` | |
26 | + | ||
27 | + | --- | |
28 | + | ||
29 | + | https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=5597063#gistcomment-5597063 | |
30 | + | ||
31 | + | MD5 Before: `cf2ba60236f6284da1581e29c3df35e7` | |
32 | + | MD5 After: `fafcd973c631fcea17d77b04bbbb9652` | |
33 | + | ||
34 | + | #!/bin/bash | |
35 | + | # ST build 4200, Linux64 | |
36 | + | cd /opt/sublime_text || exit | |
37 | + | md5sum -c <<< "cf2ba60236f6284da1581e29c3df35e7 sublime_text" || exit | |
38 | + | ||
39 | + | echo 00571483: 90 90 90 90 90 | xxd -r - sublime_text | |
40 | + | echo 0057149C: 90 90 90 90 90 | xxd -r - sublime_text | |
41 | + | echo 00584378: C3 | xxd -r - sublime_text | |
42 | + | echo 00584658: 48 C7 C0 00 00 00 00 C3 | xxd -r - sublime_text | |
43 | + | echo 00586008: C3 | xxd -r - sublime_text |
anthony zrewidował ten Gist . Przejdź do rewizji
1 file changed, 570 insertions
Crack Sublime Text and Sublime Merge.md (stworzono plik)
@@ -0,0 +1,570 @@ | |||
1 | + | ### Note | |
2 | + | ||
3 | + | 1. If you can, please purchase the genuine license through [the official channel](https://www.sublimehq.com/store/) and support the software developer. | |
4 | + | 1. All crack methods here are implemented by [**@leogx9r**](https://gist.github.com/leogx9r). | |
5 | + | 1. **All data is not guaranteed to be authoritative or correct, nor has it been tested across the platform, nor is it responsible for any errors, lost data, etc. in practice! Please assess yourself!!!** | |
6 | + | 1. I am only within the ability to update the information based on the existing crack methods until the existing rules fail. | |
7 | + | ||
8 | + | --- | |
9 | + | ||
10 | + | #### Sublime Patcher Script for personal use | |
11 | + | > The code implementation is very poor.<br> | |
12 | + | https://gist.github.com/maboloshi/5baecbddacf43855f13240b63be5673d | |
13 | + | ||
14 | + | ### ToC | |
15 | + | ||
16 | + | | | Sublime Text | Sublime Merge | | |
17 | + | | -------------- | :----------: | :-------------: | | |
18 | + | | Stable channel | <a href="#user-content-ST_SC_Win64">win</a> / <a href="#user-content-ST_SC_Linux">linux</a> / <a href="#user-content-ST_SC_macOS">mac</a> / <a href="#user-content-ST_SC_macOS_ARM64">mac-arm64</a> | <a href="#user-content-SM_SC_Win64">win</a> / <a href="#user-content-SM_SC_Linux">linux</a> / <a href="#user-content-SM_SC_macOS">mac</a> / <a href="#user-content-SM_SC_macOS_ARM64">mac-arm64</a> | |
19 | + | | Dev channel | <a href="#user-content-ST_DC_Win64">win</a> / <a href="#user-content-ST_DC_Linux">linux</a> / <a href="#user-content-ST_DC_macOS">mac</a> / <a href="#user-content-ST_DC_macOS_ARM64">mac-arm64</a> | <a href="#user-content-SM_DC_Win64">win</a> / <a href="#user-content-SM_DC_Linux">linux</a> / <a href="#user-content-SM_DC_macOS">mac</a> / <a href="#user-content-SM_DC_macOS_ARM64">mac-arm64</a> | |
20 | + | ||
21 | + | --- | |
22 | + | ||
23 | + | ### How to Crack Sublime Text, Stable Channel, Build 4152 | |
24 | + | ||
25 | + | Thanks to [**@leogx9r**](https://gist.github.com/leogx9r) for providing cracking methods. | |
26 | + | > https://gist.github.com/JerryLokjianming/71dac05f27f8c96ad1c8941b88030451?permalink_comment_id=3762200#gistcomment-3762200 | |
27 | + | > https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3802197#gistcomment-3802197 | |
28 | + | > https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3803204#gistcomment-3803204 | |
29 | + | ||
30 | + | #### <div id="ST_SC_Win64">Win64</div> | |
31 | + | ||
32 | + | Desciption | Offset | Original | Patched | |
33 | + | -------------------------------- | :--------: | -------------------- | -- | |
34 | + | Initial License Check | 0x000A8D78 | 55 41 57 41 | 48 31 C0 C3 | |
35 | + | Persistent License Check 1 | 0x000071D0 | E8 17 FE 20 00 | 90 90 90 90 90 | |
36 | + | Persistent License Check 2 | 0x000071E9 | E8 FE FD 20 00 | 90 90 90 90 90 | |
37 | + | Disable Server Validation Thread | 0x000AAB3E | 55 56 57 48 83 EC 30 | 48 31 C0 48 FF C0 C3 | |
38 | + | Disable License Notify Thread | 0x000A8945 | 55 | C3 | |
39 | + | Disable Crash Reporter | 0x00000400 | 41 | C3 | |
40 | + | ||
41 | + | > for 4117, 4118: https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3927712#gistcomment-3927712 | |
42 | + | ||
43 | + | ##### Bat Script | |
44 | + | ||
45 | + | ```bat | |
46 | + | :: for Win64 | |
47 | + | cd /d "C:\Program Files\Sublime Text" || exit | |
48 | + | certutil -hashfile sublime_text.exe md5 | find /i "15BB398D5663B89A44372EF15F70A46F" || exit | |
49 | + | echo 000A8D78: 48 31 C0 C3 | xxd -r - sublime_text.exe | |
50 | + | echo 000071D0: 90 90 90 90 90 | xxd -r - sublime_text.exe | |
51 | + | echo 000071E9: 90 90 90 90 90 | xxd -r - sublime_text.exe | |
52 | + | echo 000AAB3E: 48 31 C0 48 FF C0 C3 | xxd -r - sublime_text.exe | |
53 | + | echo 000A8945: C3 | xxd -r - sublime_text.exe | |
54 | + | echo 00000400: C3 | xxd -r - sublime_text.exe | |
55 | + | ``` | |
56 | + | ||
57 | + | PS:[**xxd.exe**](https://github.com/git-for-windows/git-sdk-64/raw/main/usr/bin/xxd.exe) extracted from [git for windows](https://github.com/git-for-windows/git-sdk-64) | |
58 | + | ||
59 | + | **The license can be any string.** | |
60 | + | ||
61 | + | Blocked by **Microsoft Defender SmartScreen** -> **More Info** -> **Run Anyway** | |
62 | + | ||
63 | + | <details> | |
64 | + | <summary>Screenshot</summary> | |
65 | + | ||
66 | + |  | |
67 | + | ||
68 | + |  | |
69 | + | </details> | |
70 | + | ||
71 | + | #### <div id="ST_SC_Linux">Linux</div> | |
72 | + | ||
73 | + | Desciption | Offset | Original | Patched | |
74 | + | -------------------------------- | :--------: | -------------------- | -- | |
75 | + | Initial License Check | 0x00415013 | 55 41 57 41 | 48 31 C0 C3 | |
76 | + | Persistent License Check 1 | 0x00409037 | E8 C0 CC 12 00 | 90 90 90 90 90 | |
77 | + | Persistent License Check 2 | 0x0040904F | E8 A8 CC 12 00 | 90 90 90 90 90 | |
78 | + | Disable Server Validation Thread | 0x00416CA4 | 55 41 56 53 41 89 F6 | 48 31 C0 48 FF C0 C3 | |
79 | + | Disable License Notify Thread | 0x00414C82 | 41 | C3 | |
80 | + | Disable Crash Reporter | 0x003FA310 | 55 | C3 | |
81 | + | ||
82 | + | ##### Bash Script | |
83 | + | ||
84 | + | ```bash | |
85 | + | # for Linux | |
86 | + | cd /opt/sublime_text || exit | |
87 | + | md5sum -c <<<"7038C3B1CC79504602DA70599D4CCCE9 sublime_text" || exit | |
88 | + | echo 00415013: 48 31 C0 C3 | xxd -r - sublime_text | |
89 | + | echo 00409037: 90 90 90 90 90 | xxd -r - sublime_text | |
90 | + | echo 0040904F: 90 90 90 90 90 | xxd -r - sublime_text | |
91 | + | echo 00416CA4: 48 31 C0 48 FF C0 C3 | xxd -r - sublime_text | |
92 | + | echo 00414C82: C3 | xxd -r - sublime_text | |
93 | + | echo 003FA310: C3 | xxd -r - sublime_text | |
94 | + | ``` | |
95 | + | ||
96 | + | #### <div id="ST_SC_macOS">macOS</div> | |
97 | + | ||
98 | + | Desciption | Offset | Original | Patched | |
99 | + | -------------------------------- | :--------: | -------------------- | -- | |
100 | + | Initial License Check | 0x0009F313 | 55 48 89 E5 | 48 31 C0 C3 | |
101 | + | Persistent License Check 1 | 0x00009CEF | E8 3C 2D 13 00 | 90 90 90 90 90 | |
102 | + | Persistent License Check 2 | 0x00009D07 | E8 24 2D 13 00 | 90 90 90 90 90 | |
103 | + | Disable Server Validation Thread | 0x000A085D | 55 48 89 E5 41 57 41 | 48 31 C0 48 FF C0 C3 | |
104 | + | Disable License Notify Thread | 0x0009EF0E | 55 | C3 | |
105 | + | Disable Crash Reporter | 0x00002A87 | 55 | C3 | |
106 | + | ||
107 | + | ##### Bash Script | |
108 | + | ||
109 | + | ```bash | |
110 | + | # for MacOS | |
111 | + | cd "/Applications/Sublime Text.app/Contents/MacOS/" || exit | |
112 | + | md5 -q sublime_text | grep -i "B07FDB3A228A46DF1CC178FE60B64D3B" || exit | |
113 | + | echo 0009F313: 48 31 C0 C3 | xxd -r - sublime_text | |
114 | + | echo 00009CEF: 90 90 90 90 90 | xxd -r - sublime_text | |
115 | + | echo 00009D07: 90 90 90 90 90 | xxd -r - sublime_text | |
116 | + | echo 000A085D: 48 31 C0 48 FF C0 C3 | xxd -r - sublime_text | |
117 | + | echo 0009EF0E: C3 | xxd -r - sublime_text | |
118 | + | echo 00002A87: C3 | xxd -r - sublime_text | |
119 | + | ``` | |
120 | + | ||
121 | + | ##### Re-Sign App | |
122 | + | ||
123 | + | ```bash | |
124 | + | codesign --force --deep --sign - "/Applications/Sublime Text.app" | |
125 | + | ``` | |
126 | + | ||
127 | + | > Requires `Apple Command Line Tools` to be installed | |
128 | + | ||
129 | + | #### <div id="ST_SC_macOS_ARM64">macOS (ARM64)</div> | |
130 | + | ||
131 | + | > Based on: https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3929427#gistcomment-3929427 | |
132 | + | ||
133 | + | Desciption | Offset | Original | Patched | |
134 | + | -------------------------------- | :--------: | ------------------------| -- | |
135 | + | Initial License Check | 0x01060C90 | FC 6F BA A9 E6 03 1E AA | E0 03 1F AA C0 03 5F D6 | |
136 | + | Persistent License Check 1 | 0x00FEAD18 | 40 BB 03 94 | 1F 20 03 D5 | |
137 | + | Persistent License Check 2 | 0x00FEAD2C | 3B BB 03 94 | 1F 20 03 D5 | |
138 | + | Disable Server Validation Thread | 0x01061F28 | F6 57 BD A9 | C0 03 5F D6 | |
139 | + | Disable License Notify Thread | 0x01060908 | FC 6F BD A9 | C0 03 5F D6 | |
140 | + | Disable Crash Reporter | 0x00FE5780 | FC 6F BC A9 | C0 03 5F D6 | |
141 | + | ||
142 | + | ##### Bash Script | |
143 | + | ||
144 | + | ```bash | |
145 | + | # for macOS (ARM64) | |
146 | + | cd "/Applications/Sublime Text.app/Contents/MacOS/" || exit | |
147 | + | md5 -q sublime_text | grep -i "B07FDB3A228A46DF1CC178FE60B64D3B" || exit | |
148 | + | echo 01060C90: E0 03 1F AA C0 03 5F D6 | xxd -r - sublime_text | |
149 | + | echo 00FEAD18: 1F 20 03 D5 | xxd -r - sublime_text | |
150 | + | echo 00FEAD2C: 1F 20 03 D5 | xxd -r - sublime_text | |
151 | + | echo 01061F28: C0 03 5F D6 | xxd -r - sublime_text | |
152 | + | echo 01060908: C0 03 5F D6 | xxd -r - sublime_text | |
153 | + | echo 00FE5780: C0 03 5F D6 | xxd -r - sublime_text | |
154 | + | ``` | |
155 | + | ||
156 | + | ##### Re-Sign App | |
157 | + | ||
158 | + | ```bash | |
159 | + | codesign --force --deep --sign - "/Applications/Sublime Text.app" | |
160 | + | ``` | |
161 | + | ||
162 | + | > Requires `Apple Command Line Tools` to be installed | |
163 | + | ||
164 | + | --- | |
165 | + | ||
166 | + | ### How to Crack Sublime Text, Dev Channel, Build 4154 | |
167 | + | ||
168 | + | Thanks to [**@leogx9r**](https://gist.github.com/leogx9r) for providing cracking methods. | |
169 | + | > https://gist.github.com/JerryLokjianming/71dac05f27f8c96ad1c8941b88030451?permalink_comment_id=3762200#gistcomment-3762200 | |
170 | + | > https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3802197#gistcomment-3802197 | |
171 | + | > https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3803204#gistcomment-3803204 | |
172 | + | ||
173 | + | #### <div id="ST_DC_Win64">Win64</div> | |
174 | + | ||
175 | + | Desciption | Offset | Original | Patched | |
176 | + | -------------------------------- | :--------: | -------------------- | -- | |
177 | + | Initial License Check | 0x0009E47C | 55 41 57 41 | 48 31 C0 C3 | |
178 | + | Persistent License Check 1 | 0x0000647C | E8 23 7C 20 00 | 90 90 90 90 90 | |
179 | + | Persistent License Check 2 | 0x00006495 | E8 0A 7C 20 00 | 90 90 90 90 90 | |
180 | + | Disable Server Validation Thread | 0x000A0222 | 55 56 57 48 83 EC 30 | 48 31 C0 48 FF C0 C3 | |
181 | + | Disable License Notify Thread | 0x0009E043 | 55 | C3 | |
182 | + | <!-- Disable Crash Reporter | 0x00000400 | 41 | C3--> | |
183 | + | ||
184 | + | > for 4117, 4118: https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3927712#gistcomment-3927712 | |
185 | + | ||
186 | + | ##### Bat Script | |
187 | + | ||
188 | + | ```bat | |
189 | + | :: for Win64 | |
190 | + | cd /d "C:\Program Files\Sublime Text" || exit | |
191 | + | certutil -hashfile sublime_text.exe md5 | find /i "ADF277D39672D83637AB708FC45413C8" || exit | |
192 | + | echo 0009E47C: 48 31 C0 C3 | xxd -r - sublime_text.exe | |
193 | + | echo 0000647C: 90 90 90 90 90 | xxd -r - sublime_text.exe | |
194 | + | echo 00006495: 90 90 90 90 90 | xxd -r - sublime_text.exe | |
195 | + | echo 000A0222: 48 31 C0 48 FF C0 C3 | xxd -r - sublime_text.exe | |
196 | + | echo 0009E043: C3 | xxd -r - sublime_text.exe | |
197 | + | ``` | |
198 | + | ||
199 | + | PS:[**xxd.exe**](https://github.com/git-for-windows/git-sdk-64/raw/main/usr/bin/xxd.exe) extracted from [git for windows](https://github.com/git-for-windows/git-sdk-64) | |
200 | + | ||
201 | + | **The license can be any string.** | |
202 | + | ||
203 | + | Blocked by **Microsoft Defender SmartScreen** -> **More Info** -> **Run Anyway** | |
204 | + | ||
205 | + | <details> | |
206 | + | <summary>Screenshot</summary> | |
207 | + | ||
208 | + |  | |
209 | + | ||
210 | + |  | |
211 | + | </details> | |
212 | + | ||
213 | + | #### <div id="ST_DC_Linux">Linux</div> | |
214 | + | ||
215 | + | Desciption | Offset | Original | Patched | |
216 | + | -------------------------------- | :--------: | -------------------- | -- | |
217 | + | Initial License Check | 0x00443F94 | 55 41 57 41 | 48 31 C0 C3 | |
218 | + | Persistent License Check 1 | 0x0042B210 | E8 37 44 14 00 | 90 90 90 90 90 | |
219 | + | Persistent License Check 2 | 0x0042B228 | E8 1F 44 14 00 | 90 90 90 90 90 | |
220 | + | Disable Server Validation Thread | 0x00445EB6 | 55 41 56 53 41 89 F6 | 48 31 C0 48 FF C0 C3 | |
221 | + | Disable License Notify Thread | 0x00443BF8 | 41 | C3 | |
222 | + | <!-- Disable Crash Reporter | 0x003F9280 | 55 | C3--> | |
223 | + | ||
224 | + | ##### Bash Script | |
225 | + | ||
226 | + | ```bash | |
227 | + | # for Linux | |
228 | + | cd /opt/sublime_text || exit | |
229 | + | md5sum -c <<<"8836FE092DBB7BC8D3D2375D34510CA9 sublime_text" || exit | |
230 | + | echo 00443F94: 48 31 C0 C3 | xxd -r - sublime_text | |
231 | + | echo 0042B210: 90 90 90 90 90 | xxd -r - sublime_text | |
232 | + | echo 0042B228: 90 90 90 90 90 | xxd -r - sublime_text | |
233 | + | echo 00445EB6: 48 31 C0 48 FF C0 C3 | xxd -r - sublime_text | |
234 | + | echo 00443BF8: C3 | xxd -r - sublime_text | |
235 | + | ``` | |
236 | + | ||
237 | + | #### <div id="ST_DC_macOS">macOS</div> | |
238 | + | ||
239 | + | Desciption | Offset | Original | Patched | |
240 | + | -------------------------------- | :--------: | -------------------- | -- | |
241 | + | Initial License Check | 0x0009D527 | 55 48 89 E5 | 48 31 C0 C3 | |
242 | + | Persistent License Check 1 | 0x000097F5 | E8 AE 12 13 00 | 90 90 90 90 90 | |
243 | + | Persistent License Check 2 | 0x0000980D | E8 96 12 13 00 | 90 90 90 90 90 | |
244 | + | Disable Server Validation Thread | 0x0009EA9D | 55 48 89 E5 41 57 41 | 48 31 C0 48 FF C0 C3 | |
245 | + | Disable License Notify Thread | 0x0009D122 | 55 | C3 | |
246 | + | <!-- Disable Crash Reporter | 0x00002A27 | 55 | C3--> | |
247 | + | ||
248 | + | ##### Bash Script | |
249 | + | ||
250 | + | ```bash | |
251 | + | # for MacOS | |
252 | + | cd "/Applications/Sublime Text.app/Contents/MacOS/" || exit | |
253 | + | md5 -q sublime_text | grep -i "E1A3347BECDA7CC1EF583ECACECACBDC" || exit | |
254 | + | echo 0009D527: 48 31 C0 C3 | xxd -r - sublime_text | |
255 | + | echo 000097F5: 90 90 90 90 90 | xxd -r - sublime_text | |
256 | + | echo 0000980D: 90 90 90 90 90 | xxd -r - sublime_text | |
257 | + | echo 0009EA9D: 48 31 C0 48 FF C0 C3 | xxd -r - sublime_text | |
258 | + | echo 0009D122: C3 | xxd -r - sublime_text | |
259 | + | ``` | |
260 | + | ||
261 | + | ##### Re-Sign App | |
262 | + | ||
263 | + | ```bash | |
264 | + | codesign --force --deep --sign - "/Applications/Sublime Text.app" | |
265 | + | ``` | |
266 | + | ||
267 | + | > Requires `Apple Command Line Tools` to be installed | |
268 | + | ||
269 | + | #### <div id="ST_DC_macOS_ARM64">macOS (ARM64)</div> | |
270 | + | ||
271 | + | > Based on: https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3929427#gistcomment-3929427 | |
272 | + | ||
273 | + | Desciption | Offset | Original | Patched | |
274 | + | -------------------------------- | :--------: | ------------------------| -- | |
275 | + | Initial License Check | 0x010758B8 | FC 6F BA A9 E6 03 1E AA | E0 03 1F AA C0 03 5F D6 | |
276 | + | Persistent License Check 1 | 0x01000360 | 33 A4 03 94 | 1F 20 03 D5 | |
277 | + | Persistent License Check 2 | 0x01000374 | 2E A4 03 94 | 1F 20 03 D5 | |
278 | + | Disable Server Validation Thread | 0x01076B54 | F6 57 BD A9 | C0 03 5F D6 | |
279 | + | Disable License Notify Thread | 0x01075534 | FC 6F BD A9 | C0 03 5F D6 | |
280 | + | <!-- Disable Crash Reporter | 0x00FE6764 | FC 6F BC A9 | C0 03 5F D6--> | |
281 | + | ||
282 | + | ##### Bash Script | |
283 | + | ||
284 | + | ```bash | |
285 | + | # for macOS (ARM64) | |
286 | + | cd "/Applications/Sublime Text.app/Contents/MacOS/" || exit | |
287 | + | md5 -q sublime_text | grep -i "E1A3347BECDA7CC1EF583ECACECACBDC" || exit | |
288 | + | echo 010758B8: E0 03 1F AA C0 03 5F D6 | xxd -r - sublime_text | |
289 | + | echo 01000360: 1F 20 03 D5 | xxd -r - sublime_text | |
290 | + | echo 01000374: 1F 20 03 D5 | xxd -r - sublime_text | |
291 | + | echo 01076B54: C0 03 5F D6 | xxd -r - sublime_text | |
292 | + | echo 01075534: C0 03 5F D6 | xxd -r - sublime_text | |
293 | + | ``` | |
294 | + | ||
295 | + | ##### Re-Sign App | |
296 | + | ||
297 | + | ```bash | |
298 | + | codesign --force --deep --sign - "/Applications/Sublime Text.app" | |
299 | + | ``` | |
300 | + | ||
301 | + | > Requires `Apple Command Line Tools` to be installed | |
302 | + | ||
303 | + | ------------------------------------------------------------------------------ | |
304 | + | ||
305 | + | ### How to Crack Sublime Merge, Stable Channel, Build 2083 | |
306 | + | ||
307 | + | Thanks to [**@leogx9r**](https://gist.github.com/leogx9r) for providing cracking methods. | |
308 | + | > https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3823090#gistcomment-3823090 | |
309 | + | > https://gist.github.com/JerryLokjianming/71dac05f27f8c96ad1c8941b88030451?permalink_comment_id=3762883#gistcomment-3762883 | |
310 | + | > https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3802197#gistcomment-3802197 | |
311 | + | ||
312 | + | #### <div id="SM_SC_Win64">Win64</div> | |
313 | + | ||
314 | + | Desciption | Offset | Original | Patched | |
315 | + | -------------------------------- | :--------: | ----------------------- | -- | |
316 | + | Initial License Check | 0x000251A8 | 55 41 57 41 56 41 55 41 | 48 C7 C0 19 01 00 00 C3 | |
317 | + | Persistent License Check 1 | 0x000286A3 | E8 70 AA 26 00 | 90 90 90 90 90 | |
318 | + | Persistent License Check 2 | 0x000286BC | E8 57 AA 26 00 | 90 90 90 90 90 | |
319 | + | Disable Server Validation Thread | 0x000269B8 | 55 56 57 48 83 EC 30 | 48 31 C0 48 FF C0 C3 | |
320 | + | Disable License Notify Thread | 0x00024DCD | 55 | C3 | |
321 | + | Disable Crash Reporter | 0x00023F18 | 41 | C3 | |
322 | + | ||
323 | + | ##### Bat Script | |
324 | + | ||
325 | + | ```bat | |
326 | + | :: for Win64 | |
327 | + | cd /d "C:\Program Files\Sublime Merge" || exit | |
328 | + | certutil -hashfile sublime_merge.exe md5 | find /i "E33B76ADA6E7E7577CD4E81A7A4580C7" || exit | |
329 | + | echo 000251A8: 48 C7 C0 19 01 00 00 C3 | xxd -r - sublime_merge.exe | |
330 | + | echo 000286A3: 90 90 90 90 90 | xxd -r - sublime_merge.exe | |
331 | + | echo 000286BC: 90 90 90 90 90 | xxd -r - sublime_merge.exe | |
332 | + | echo 000269B8: 48 31 C0 48 FF C0 C3 | xxd -r - sublime_merge.exe | |
333 | + | echo 00024DCD: C3 | xxd -r - sublime_merge.exe | |
334 | + | echo 00023F18: C3 | xxd -r - sublime_merge.exe | |
335 | + | ``` | |
336 | + | ||
337 | + | PS:[**xxd.exe**](https://github.com/git-for-windows/git-sdk-64/raw/main/usr/bin/xxd.exe) extracted from [git for windows](https://github.com/git-for-windows/git-sdk-64) | |
338 | + | ||
339 | + | #### <div id="SM_SC_Linux">Linux</div> | |
340 | + | thinks @urxi [here](https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=4621995#gistcomment-4621995) | |
341 | + | ||
342 | + | <!--Desciption | Offset | Original | Patched | |
343 | + | -------------------------------- | :--------: | ----------------------- | -- | |
344 | + | Initial License Check | 0x0045A360 | 55 41 57 41 | 48 31 C0 C3 | |
345 | + | Persistent License Check 1 | 0x0045D21D | E8 1C 9E 16 00 | 90 90 90 90 90 | |
346 | + | Persistent License Check 2 | 0x0045D23A | E8 7E D8 1D 00 | 90 90 90 90 90 | |
347 | + | Disable Server Validation Thread | 0x0045B990 | 55 41 56 53 41 89 F6 | 48 31 C0 48 FF C0 C3 | |
348 | + | Disable License Notify Thread | 0x0045A05A | 41 | C3 | |
349 | + | Disable Crash Reporter | 0x00459ABA | 55 | C3--> | |
350 | + | ||
351 | + | ##### Bash Script | |
352 | + | ||
353 | + | ```bash | |
354 | + | # for Linux | |
355 | + | cd /opt/sublime_merge || exit | |
356 | + | md5sum -c <<<"86F61A82E7EE8DD9BDC4CF16A7C8E825 sublime_merge" || exit | |
357 | + | echo 0045A360: 48 C7 C0 19 01 00 00 C3 | xxd -r - sublime_merge | |
358 | + | echo 0045D21D: 90 90 90 90 90 | xxd -r - sublime_merge | |
359 | + | echo 0045D23A: 90 90 90 90 90 | xxd -r - sublime_merge | |
360 | + | echo 0045B990: C3 | xxd -r - sublime_merge | |
361 | + | echo 0045A05A: C3 | xxd -r - sublime_merge | |
362 | + | echo 00459ABA: C3 | xxd -r - sublime_merge | |
363 | + | ``` | |
364 | + | ||
365 | + | #### <div id="SM_SC_macOS">macOS</div> | |
366 | + | ||
367 | + | Desciption | Offset | Original | Patched | |
368 | + | -------------------------------- | :--------: | ----------------------- | -- | |
369 | + | Initial License Check | 0x0002C2DF | 55 48 89 E5 41 57 41 56 | 48 C7 C0 19 01 00 00 C3 | |
370 | + | Persistent License Check 1 | 0x0002E96C | E8 1F B9 18 00 | 90 90 90 90 90 | |
371 | + | Persistent License Check 2 | 0x0002E98B | E8 00 B9 18 00 | 90 90 90 90 90 | |
372 | + | Disable Server Validation Thread | 0x0002D295 | 55 48 89 E5 41 57 41 | 48 31 C0 48 FF C0 C3 | |
373 | + | Disable License Notify Thread | 0x0002BF6A | 55 | C3 | |
374 | + | Disable Crash Reporter | 0x0002B7AB | 55 | C3 | |
375 | + | ||
376 | + | ##### Bash Script | |
377 | + | ||
378 | + | ```bash | |
379 | + | # for MacOS | |
380 | + | cd "/Applications/Sublime Merge.app/Contents/MacOS/" || exit | |
381 | + | md5 -q sublime_merge | grep -i "B1AADED4F196EEEEBF8D5A6F98B11288" || exit | |
382 | + | echo 0002C2DF: 48 C7 C0 19 01 00 00 C3 | xxd -r - sublime_merge | |
383 | + | echo 0002E96C: 90 90 90 90 90 | xxd -r - sublime_merge | |
384 | + | echo 0002E98B: 90 90 90 90 90 | xxd -r - sublime_merge | |
385 | + | echo 0002D295: 48 31 C0 48 FF C0 C3 | xxd -r - sublime_merge | |
386 | + | echo 0002BF6A: C3 | xxd -r - sublime_merge | |
387 | + | echo 0002B7AB: C3 | xxd -r - sublime_merge | |
388 | + | ``` | |
389 | + | ||
390 | + | ##### Re-Sign App | |
391 | + | ||
392 | + | ```bash | |
393 | + | codesign --force --deep --sign - "/Applications/Sublime Merge.app" | |
394 | + | ``` | |
395 | + | ||
396 | + | > Requires `Apple Command Line Tools` to be installed | |
397 | + | ||
398 | + | #### <div id="SM_SC_macOS_ARM64">macOS (ARM64)</div> | |
399 | + | ||
400 | + | ***!!!! May have expired !!!!*** | |
401 | + | ||
402 | + | Based on: | |
403 | + | - https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3929427#gistcomment-3929427 | |
404 | + | - for ≥ 2075: https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=4311375#gistcomment-4311375 | |
405 | + | ||
406 | + | Desciption | Offset | Original | Patched | |
407 | + | -------------------------------- | :--------: | ----------------------- | -- | |
408 | + | Initial License Check | 0x014D9060 | FC 6F BA A9 E6 03 1E AA | E0 03 1F AA C0 03 5F D6 | |
409 | + | Persistent License Check 1 | 0x014DAF68 | AB B6 04 94 | 1F 20 03 D5 | |
410 | + | Persistent License Check 2 | 0x014DAF7C | A6 B6 04 94 | 1F 20 03 D5 | |
411 | + | Disable Server Validation Thread | 0x014D9DBC | F6 57 BD A9 | C0 03 5F D6 | |
412 | + | Disable License Notify Thread | 0x014D8D9C | FC 6F BD A9 | C0 03 5F D6 | |
413 | + | Disable Crash Reporter | 0x014D86E4 | FC 6F BC A9 | C0 03 5F D6 | |
414 | + | ||
415 | + | ##### Bash Script | |
416 | + | ||
417 | + | ```bash | |
418 | + | # for macOS (ARM64) | |
419 | + | cd "/Applications/Sublime Merge.app/Contents/MacOS/" || exit | |
420 | + | md5 -q sublime_merge | grep -i "B1AADED4F196EEEEBF8D5A6F98B11288" || exit | |
421 | + | echo 014D9060: E0 03 1F AA C0 03 5F D6 | xxd -r - sublime_merge | |
422 | + | echo 014DAF68: 1F 20 03 D5 | xxd -r - sublime_merge | |
423 | + | echo 014DAF7C: 1F 20 03 D5 | xxd -r - sublime_merge | |
424 | + | echo 014D9DBC: C0 03 5F D6 | xxd -r - sublime_merge | |
425 | + | echo 014D8D9C: C0 03 5F D6 | xxd -r - sublime_merge | |
426 | + | echo 014D86E4: C0 03 5F D6 | xxd -r - sublime_merge | |
427 | + | ``` | |
428 | + | ||
429 | + | ##### Re-Sign App | |
430 | + | ||
431 | + | ```bash | |
432 | + | codesign --force --deep --sign - "/Applications/Sublime Merge.app" | |
433 | + | ``` | |
434 | + | ||
435 | + | > Requires `Apple Command Line Tools` to be installed | |
436 | + | ||
437 | + | --- | |
438 | + | ||
439 | + | ### How to Crack Sublime Merge, Dev Channel, Build 2085 | |
440 | + | ||
441 | + | Thanks to [**@leogx9r**](https://gist.github.com/leogx9r) for providing cracking methods. | |
442 | + | > https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3823090#gistcomment-3823090 | |
443 | + | > https://gist.github.com/JerryLokjianming/71dac05f27f8c96ad1c8941b88030451?permalink_comment_id=3762883#gistcomment-3762883 | |
444 | + | > https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3802197#gistcomment-3802197 | |
445 | + | ||
446 | + | #### <div id="SM_DC_Win64">Win64</div> | |
447 | + | ||
448 | + | Desciption | Offset | Original | Patched | |
449 | + | -------------------------------- | :--------: | ----------------------- | -- | |
450 | + | Initial License Check | 0x00025300 | 55 41 57 41 56 41 55 41 | 48 C7 C0 19 01 00 00 C3 | |
451 | + | Persistent License Check 1 | 0x00028813 | E8 B8 7F 27 00 | 90 90 90 90 90 | |
452 | + | Persistent License Check 2 | 0x0002882C | E8 9F 7F 27 00 | 90 90 90 90 90 | |
453 | + | Disable Server Validation Thread | 0x00026B20 | 55 56 57 48 83 EC 30 | 48 31 C0 48 FF C0 C3 | |
454 | + | Disable License Notify Thread | 0x00024F25 | 55 | C3 | |
455 | + | Disable Crash Reporter | 0x00024070 | 41 | C3 | |
456 | + | ||
457 | + | ##### Bat Script | |
458 | + | ||
459 | + | ```bat | |
460 | + | :: for Win64 | |
461 | + | cd /d "C:\Program Files\Sublime Merge" || exit | |
462 | + | certutil -hashfile sublime_merge.exe md5 | find /i "8B6590708E6AAE98AC3AE29135DB084F" || exit | |
463 | + | echo 00025300: 48 C7 C0 19 01 00 00 C3 | xxd -r - sublime_merge.exe | |
464 | + | echo 00028813: 90 90 90 90 90 | xxd -r - sublime_merge.exe | |
465 | + | echo 0002882C: 90 90 90 90 90 | xxd -r - sublime_merge.exe | |
466 | + | echo 00026B20: 48 31 C0 48 FF C0 C3 | xxd -r - sublime_merge.exe | |
467 | + | echo 00024F25: C3 | xxd -r - sublime_merge.exe | |
468 | + | echo 00024070: C3 | xxd -r - sublime_merge.exe | |
469 | + | ``` | |
470 | + | ||
471 | + | PS:[**xxd.exe**](https://github.com/git-for-windows/git-sdk-64/raw/main/usr/bin/xxd.exe) extracted from [git for windows](https://github.com/git-for-windows/git-sdk-64) | |
472 | + | ||
473 | + | #### <div id="SM_DC_Linux">Linux</div> | |
474 | + | thinks @urxi [here](https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=4621995#gistcomment-4621995) | |
475 | + | ||
476 | + | <!-- | |
477 | + | Desciption | Offset | Original | Patched | |
478 | + | -------------------------------- | :--------: | ----------------------- | -- | |
479 | + | Initial License Check | 0x003CF4F0 | 55 41 57 41 | 48 31 C0 C3 | |
480 | + | Persistent License Check 1 | 0x004620F9 | E8 56 1E 1E 00 | 90 90 90 90 90 | |
481 | + | Persistent License Check 2 | 0x003D2519 | E8 40 1E 1E 00 | 90 90 90 90 90 | |
482 | + | Disable Server Validation Thread | 0x0046086C | 55 41 56 53 41 89 F6 | 48 31 C0 48 FF C0 C3 | |
483 | + | Disable License Notify Thread | 0x003CF208 | 41 | C3 | |
484 | + | Disable Crash Reporter | 0x0045E986 | 55 | C3--> | |
485 | + | ||
486 | + | ##### Bash Script | |
487 | + | ||
488 | + | ```bash | |
489 | + | # for Linux | |
490 | + | cd /opt/sublime_merge || exit | |
491 | + | md5sum -c <<<"958DA6B7EC687B25F55A16FF6A3D9BD0 sublime_merge" || exit | |
492 | + | echo 0045F22C: 48 C7 C0 19 01 00 00 C3 | xxd -r - sublime_merge | |
493 | + | echo 004620F9: 90 90 90 90 90 | xxd -r - sublime_merge | |
494 | + | echo 00462116: 90 90 90 90 90 | xxd -r - sublime_merge | |
495 | + | echo 0046086C: C3 | xxd -r - sublime_merge | |
496 | + | echo 0045EF26: C3 | xxd -r - sublime_merge | |
497 | + | echo 0045E986: C3 | xxd -r - sublime_merge | |
498 | + | ``` | |
499 | + | ||
500 | + | #### <div id="SM_DC_macOS">macOS</div> | |
501 | + | ||
502 | + | Desciption | Offset | Original | Patched | |
503 | + | -------------------------------- | :--------: | ----------------------- | -- | |
504 | + | Initial License Check | 0x0002C4CB | 55 48 89 E5 41 57 41 56 | 48 C7 C0 19 01 00 00 C3 | |
505 | + | Persistent License Check 1 | 0x0002EB48 | E8 15 23 19 00 | 90 90 90 90 90 | |
506 | + | Persistent License Check 2 | 0x0002EB67 | E8 F6 22 19 00 | 90 90 90 90 90 | |
507 | + | Disable Server Validation Thread | 0x0002D471 | 55 48 89 E5 41 57 41 | 48 31 C0 48 FF C0 C3 | |
508 | + | Disable License Notify Thread | 0x0002C156 | 55 | C3 | |
509 | + | Disable Crash Reporter | 0x0002B997 | 55 | C3 | |
510 | + | ||
511 | + | ##### Bash Script | |
512 | + | ||
513 | + | ```bash | |
514 | + | # for MacOS | |
515 | + | cd "/Applications/Sublime Merge.app/Contents/MacOS/" || exit | |
516 | + | md5 -q sublime_merge | grep -i "D67510219FB14938A47BE39260C87215" || exit | |
517 | + | echo 0002C4CB: 48 C7 C0 19 01 00 00 C3 | xxd -r - sublime_merge | |
518 | + | echo 0002EB48: 90 90 90 90 90 | xxd -r - sublime_merge | |
519 | + | echo 0002EB67: 90 90 90 90 90 | xxd -r - sublime_merge | |
520 | + | echo 0002D471: 48 31 C0 48 FF C0 C3 | xxd -r - sublime_merge | |
521 | + | echo 0002C156: C3 | xxd -r - sublime_merge | |
522 | + | echo 0002B997: C3 | xxd -r - sublime_merge | |
523 | + | ``` | |
524 | + | ||
525 | + | ##### Re-Sign App | |
526 | + | ||
527 | + | ```bash | |
528 | + | codesign --force --deep --sign - "/Applications/Sublime Merge.app" | |
529 | + | ``` | |
530 | + | ||
531 | + | > Requires `Apple Command Line Tools` to be installed | |
532 | + | ||
533 | + | #### <div id="SM_DC_macOS_ARM64">macOS (ARM64)</div> | |
534 | + | ||
535 | + | ***!!!! May have expired !!!!*** | |
536 | + | ||
537 | + | Based on: | |
538 | + | - https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=3929427#gistcomment-3929427 | |
539 | + | - for ≥ 2075: https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47?permalink_comment_id=4311375#gistcomment-4311375 | |
540 | + | ||
541 | + | Desciption | Offset | Original | Patched | |
542 | + | -------------------------------- | :--------: | ----------------------- | -- | |
543 | + | Initial License Check | 0x015027EC | FC 6F BA A9 E6 03 1E AA | E0 03 1F AA C0 03 5F D6 | |
544 | + | Persistent License Check 1 | 0x015046D4 | 78 C9 04 94 | 1F 20 03 D5 | |
545 | + | Persistent License Check 2 | 0x015046E8 | 73 C9 04 94 | 1F 20 03 D5 | |
546 | + | Disable Server Validation Thread | 0x0150352C | F6 57 BD A9 | C0 03 5F D6 | |
547 | + | Disable License Notify Thread | 0x01502528 | FC 6F BD A9 | C0 03 5F D6 | |
548 | + | Disable Crash Reporter | 0x01501E70 | FC 6F BC A9 | C0 03 5F D6 | |
549 | + | ||
550 | + | ##### Bash Script | |
551 | + | ||
552 | + | ```bash | |
553 | + | # for macOS (ARM64) | |
554 | + | cd "/Applications/Sublime Merge.app/Contents/MacOS/" || exit | |
555 | + | md5 -q sublime_merge | grep -i "D67510219FB14938A47BE39260C87215" || exit | |
556 | + | echo 015027EC: E0 03 1F AA C0 03 5F D6 | xxd -r - sublime_merge | |
557 | + | echo 015046D4: 1F 20 03 D5 | xxd -r - sublime_merge | |
558 | + | echo 015046E8: 1F 20 03 D5 | xxd -r - sublime_merge | |
559 | + | echo 0150352C: C0 03 5F D6 | xxd -r - sublime_merge | |
560 | + | echo 01502528: C0 03 5F D6 | xxd -r - sublime_merge | |
561 | + | echo 01501E70: C0 03 5F D6 | xxd -r - sublime_merge | |
562 | + | ``` | |
563 | + | ||
564 | + | ##### Re-Sign App | |
565 | + | ||
566 | + | ```bash | |
567 | + | codesign --force --deep --sign - "/Applications/Sublime Merge.app" | |
568 | + | ``` | |
569 | + | ||
570 | + | > Requires `Apple Command Line Tools` to be installed |