March 26, 2019
The information included in this post is for educational purposes only. Any material on this webpage may not be reproduced, retransmitted, or redisplayed other than for personal or educational use.
A patch is a set of changes to a computer program or its supporting data. Patching makes possible the modification of programs when the source code is unavailable.
The following is a list of instructions required to patch Sublime Text 3 Build 3176 on the Windows 64-bit platform:
1. Visit https://www.sublimetext.com/3 and left-click on the download address.
2. Head to the location of the completed download and run the Sublime Text Installer. Install Sublime Text 3.
3. Head to the location of the installed Sublime Text application. Create a copy of the application and paste it in a directory besides that of the original installation. This copy will be the experimental application.
4. Visit https://hexed.it/ and left-click on "Open file". After the File Explorer initializes, double-click on the copy of the application. The application will load within the website.
5. The base hexadecimal string for the function that we desire to patch is
0x8038007467488D05. Paste this hexadecimal string into the "Search for" text field under the "Search" header. Left-click on the "Search now" button to begin searching for viable entries. In this case, one entry appears:
0x0003A072. Double-click on this entry to be sent to its position within the application. We will need to modify the hexadecimal string in order to patch the function.
6. Our objective is to now nullify the function in its entirety. We will do this by replacing
0xC600019090488D05. After overwriting the original string, left-click on "Export". The patched application should be downloaded onto your computer. Right-click on this application and left-click on "Cut". Return to the location of the original, unmodified application installation and paste it into the same directory. A prompt will appear and you should left-click on "Replace the file in the destination". After the original application has been replaced with your patched version, run the application to verify its success.
7. It will appear that you were not successful, but this is not the case. Ignore the "(UNREGISTERED)" text.
8. Open C:\Windows\System32\drivers\etc\hosts in a text editor. Add five new lines to the file and write 127.0.0.1 sublimetext.com on the first line, 127.0.0.1 www.sublimetext.com on the second line, 127.0.0.1 sublimehq.com on the third line, 127.0.0.1 telemetry.sublimehq.com on the fourth line, and 127.0.0.1 license.sublimehq.com on the fifth line. This will redirect any attempted connections made from the application to the server to your local machine.
Copyright © Jordan Navarro. All rights reserved.