Skip to content

Instantly share code, notes, and snippets.

@chenkovsky
Created May 17, 2018 03:01
Show Gist options
  • Save chenkovsky/4ee11e7dfb09c091b13b1aea92f50590 to your computer and use it in GitHub Desktop.
Save chenkovsky/4ee11e7dfb09c091b13b1aea92f50590 to your computer and use it in GitHub Desktop.

Revisions

  1. Braxton Fair revised this gist May 15, 2018. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions cracking.md
    Original file line number Diff line number Diff line change
    @@ -15,6 +15,7 @@ _Now, let's get into the cracking_
    - [Build 3143 (3.0)](#build-3143---version-30)
    - [Build 3170 (3.1)](#build-3170---version-31)
    - [Build 3176 (3.1.1)](#build-3176---version-311)
    - **Notice:** At least on Linux, there is a problem with the crack initially working, then going unregistered. For now, as a fix just close and reopen the application, but I will keep this Gist updated if there is a fix found.

    ## Build 3143 - Version 3.0
    Version 3.0 was the first release for Sublime Text 3, here are the commands to crack it!
  2. Braxton Fair revised this gist May 15, 2018. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion cracking.md
    Original file line number Diff line number Diff line change
    @@ -103,4 +103,8 @@ printf "\x48\xc7\xc0\x01\x00\x00\x00\xc3" | dd seek=$((0x85036)) conv=notrunc bs

    ```bash
    printf '\x00\01' | sudo dd seek=$((0xD538)) conv=notrunc bs=1 of=/opt/sublime_text/sublime_text
    ```
    ```

    ## Contributing

    Any help will be greatly appreciated. Post your cracks and scripts below, and I will add them to this page! Thank you for your contributions!
  3. Braxton Fair revised this gist May 15, 2018. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions cracking.md
    Original file line number Diff line number Diff line change
    @@ -49,6 +49,7 @@ TBD

    #### Windows

    **x64**
    ```powershell
    $fp = "sublime_text.exe"
    $bs = [System.IO.File]::ReadAllBytes("${fp}")
    @@ -78,6 +79,7 @@ printf '\x00\01' | sudo dd seek=$((0xD5D8)) conv=notrunc bs=1 of=/opt/sublime_te

    #### Windows

    **x64**
    ```powershell
    $fp = "sublime_text.exe"
    $bs = [System.IO.File]::ReadAllBytes("${fp}")
  4. Braxton Fair revised this gist May 15, 2018. 1 changed file with 8 additions and 1 deletion.
    9 changes: 8 additions & 1 deletion cracking.md
    Original file line number Diff line number Diff line change
    @@ -79,7 +79,14 @@ printf '\x00\01' | sudo dd seek=$((0xD5D8)) conv=notrunc bs=1 of=/opt/sublime_te
    #### Windows

    ```powershell
    $fp = "sublime_text.exe"
    $bs = [System.IO.File]::ReadAllBytes("${fp}")
    $bs[0x76a0c] = 0xeb
    $bs[0x76a0d] = 0x2a
    $bs[0x76a2a] = 0x75
    $bs[0xb27d9] = 0x85
    $bs[0x23ff18] = 0x75
    [System.IO.File]::WriteAllBytes("${fp}",$bs)
    ```

    #### MacOS
  5. Braxton Fair revised this gist May 15, 2018. 1 changed file with 24 additions and 3 deletions.
    27 changes: 24 additions & 3 deletions cracking.md
    Original file line number Diff line number Diff line change
    @@ -21,7 +21,17 @@ Version 3.0 was the first release for Sublime Text 3, here are the commands to c

    #### Windows

    TBD
    **x64**
    ```powershell
    $fp = "sublime_text.exe"
    $bs = [System.IO.File]::ReadAllBytes("${fp}")
    $bs[0xB60f6] = 0x85
    $bs[0x233f49] = 0x75
    $bs[0x7691a] = 0x75
    $bs[0x768fc] = 0xeb
    $bs[0x768fd] = 0x2a
    [System.IO.File]::WriteAllBytes("${fp}",$bs)
    ```

    #### MacOS

    @@ -39,7 +49,16 @@ TBD

    #### Windows

    TBD
    ```powershell
    $fp = "sublime_text.exe"
    $bs = [System.IO.File]::ReadAllBytes("${fp}")
    $bs[0x76608] = 0xeb
    $bs[0x23f89c] = 0x75
    $bs[0x76626] = 0x75
    $bs[0xb23c9] = 0x85
    $bs[0x76609] = 0x2a
    [System.IO.File]::WriteAllBytes("${fp}",$bs)
    ```

    #### MacOS

    @@ -59,7 +78,9 @@ printf '\x00\01' | sudo dd seek=$((0xD5D8)) conv=notrunc bs=1 of=/opt/sublime_te

    #### Windows

    TBD
    ```powershell
    ```

    #### MacOS

  6. Braxton Fair revised this gist May 15, 2018. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions cracking.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,6 @@
    # About [Sublime Text 3](https://www.sublimetext.com/)
    Sublime Text 3 is a very popular text editor among developers. It is provided for free, but every few saves, you get a popup asking you to purchase Sublime Text for $80.

    ![The Popup](https://i.imgur.com/bDiB2r5.png)

    Now this is a wonderful piece of software, but not everyone has the $80+ to purchase a license for Sublime Text. However, I strongly recommend to eventually buy a license if you have the money to spare to support the development of ST.
  7. Braxton Fair revised this gist May 15, 2018. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions cracking.md
    Original file line number Diff line number Diff line change
    @@ -11,9 +11,9 @@ _Now, let's get into the cracking_
    ### Table of Contents
    **Make sure you have the correct build number**

    - [Build 3143 (3.0)]()
    - [Build 3170 (3.1)]()
    - [Build 3176 (3.1.1)]()
    - [Build 3143 (3.0)](#build-3143---version-30)
    - [Build 3170 (3.1)](#build-3170---version-31)
    - [Build 3176 (3.1.1)](#build-3176---version-311)

    ## Build 3143 - Version 3.0
    Version 3.0 was the first release for Sublime Text 3, here are the commands to crack it!
  8. Braxton Fair created this gist May 15, 2018.
    75 changes: 75 additions & 0 deletions cracking.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,75 @@
    # About [Sublime Text 3](https://www.sublimetext.com/)
    Sublime Text 3 is a very popular text editor among developers. It is provided for free, but every few saves, you get a popup asking you to purchase Sublime Text for $80.
    ![The Popup](https://i.imgur.com/bDiB2r5.png)

    Now this is a wonderful piece of software, but not everyone has the $80+ to purchase a license for Sublime Text. However, I strongly recommend to eventually buy a license if you have the money to spare to support the development of ST.

    _Now, let's get into the cracking_

    **Note:** At the license prompt for MacOS, enter in any garbage, even a single letter and click **Use License**.

    ### Table of Contents
    **Make sure you have the correct build number**

    - [Build 3143 (3.0)]()
    - [Build 3170 (3.1)]()
    - [Build 3176 (3.1.1)]()

    ## Build 3143 - Version 3.0
    Version 3.0 was the first release for Sublime Text 3, here are the commands to crack it!

    #### Windows

    TBD

    #### MacOS

    ```bash
    printf '\xc3' | dd seek=$((0x65d4)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
    printf '\xc3' | dd seek=$((0x6219)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
    printf '\x48\xc7\xc0\x01\x00\x00\x00\xc3' | dd seek=$((0x75214)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
    ```

    #### Linux

    TBD

    ## Build 3170 - Version 3.1

    #### Windows

    TBD

    #### MacOS

    ```bash
    printf '\xc3' | dd seek=$((0xadf6)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
    printf '\xc3' | dd seek=$((0xa9c5)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
    printf '\x48\xc7\xc0\x01\x00\x00\x00\xc3' | dd seek=$((0x84702)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
    ```

    #### Linux

    ```bash
    printf '\x00\01' | sudo dd seek=$((0xD5D8)) conv=notrunc bs=1 of=/opt/sublime_text_3/sublime_text
    ```

    ## Build 3176 - Version 3.1.1

    #### Windows

    TBD

    #### MacOS

    ```bash
    printf "\xc3" | dd seek=$((0xae95)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
    printf "\xc3" | dd seek=$((0xb2c6)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
    printf "\x48\xc7\xc0\x01\x00\x00\x00\xc3" | dd seek=$((0x85036)) conv=notrunc bs=1 of=/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
    ```

    #### Linux

    ```bash
    printf '\x00\01' | sudo dd seek=$((0xD538)) conv=notrunc bs=1 of=/opt/sublime_text/sublime_text
    ```