Skip to content

Instantly share code, notes, and snippets.

View CypherpunkSamurai's full-sized avatar
😶
Currently Busy 🌻🐢

Cypherpunk Samurai CypherpunkSamurai

😶
Currently Busy 🌻🐢
View GitHub Profile
# 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.
```
@CypherpunkSamurai
CypherpunkSamurai / sublimetext_4121_crack.py
Created November 18, 2021 20:44 — forked from dmknght/sublimetext_4121_crack.py
Patch binary of sublimtext amd64 linux build 4121
import os
sublime_binary_path = "/tmp/sublime_text"
version_magic_string = "/updates/4/stable_update_check?version=4121&platform=linux&arch=x64"
sz_magic_string = 67
version_magic_string_offset = 0x000106bd # (Real offset from xxd)
is_file_read = os.access(sublime_binary_path, os.R_OK)
if not is_file_read:
@CypherpunkSamurai
CypherpunkSamurai / resources.md
Created November 18, 2021 20:49 — forked from muff-in/resources.md
A curated list of Assembly Language / Reversing / Malware Analysis / Game Hacking-resources
@CypherpunkSamurai
CypherpunkSamurai / terabox-web-api.md
Created November 18, 2021 20:53
Reverse Engineering Terabox

Upload a File

curl "https://www.terabox.com/api/precreate?channel=dubox&web=1&app_id=250528&clienttype=0&bdstoken=49785c4158da93b4ed3d7619c49e76a4" -X POST -H "User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0" -H "Accept: application/json, text/javascript, */*; q=0.01" -H "Accept-Language: en-US,en;q=0.5" --compressed -H "Content-Type: application/x-www-form-urlencoded; charset=UTF-8" -H "X-Requested-With: XMLHttpRequest" -H "Origin: https://www.terabox.com" -H "Connection: keep-alive" -H "Referer: https://www.terabox.com/disk/home" -H "Cookie: browserid=DC92xGMqqIx7bbsfHbUrfJcTjCaM5UYN1RIM7hryxTb6S84rwr2RkY2N-Ss=; lang=en_US; G_ENABLED_IDPS=google; __stripe_mid=db6a0f0a-8f8c-41e6-93f5-d92c8849f31653ae5c; ndus=YSJIa8TteHuiIVhhRNQKVCcBfa_BEOLXWdUkmu3w; PANWEB=1" -H "Sec-Fetch-Dest: empty" -H "Sec-Fetch-Mode: cors" -H "Sec-Fetch-Site: same-origin" -H "DNT: 1" -H "Sec-GPC: 1" -H "Pragma: no-cache" -H "Cache-Control: no-cache" --data-raw "path="%"2Ftest2.txt&a
[14:40:06:631 DVL] [Main] Language ID for file C:\Users\Rakesh Chowdhury\AppData\Roaming\codelite\codelite.log ->
[14:40:06:644 DVL] [Main] 1: CreateAsyncProcess called with: [C:\Program Files\Git\cmd\git.exe, --no-pager, blame, --date=short, C:\Users\Rakesh Chowdhury\AppData\Roaming\codelite\codelite.log]
[14:40:06:649 DVL] [Main] 2: CreateAsyncProcess called with: [C:\Windows\system32\cmd.exe, /C, ""C:\Program Files\Git\cmd\git.exe" --no-pager blame --date=short "C:\Users\Rakesh Chowdhury\AppData\Roaming\codelite\codelite.log""]
[14:40:06:652 DVL] [Main] ==> __JoinArray called for [C:\Windows\system32\cmd.exe, /C, ""C:\Program Files\Git\cmd\git.exe" --no-pager blame --date=short "C:\Users\Rakesh Chowdhury\AppData\Roaming\codelite\codelite.log""]
[14:40:06:655 DVL] [Main] args[2] is: ""C:\Program Files\Git\cmd\git.exe" --no-pager blame --date=short "C:\Users\Rakesh Chowdhury\AppData\Roaming\codelite\codelite.log""
[14:40:06:658 DVL] [Main] Windows process starting: C:\Windows\system32\cmd.exe /C ""C:\Progra
@CypherpunkSamurai
CypherpunkSamurai / HTTP_SL4A_API.md
Last active January 16, 2022 19:38
4G WiFi Modem msm8916 webkey scripts

HTTP SL4A Api Documentation (reverse engineered)

Fetch Data

This http request fetches data from the 4G LTE Wifi router

Request:

fetch("http://192.168.43.1/sl4a", {
  "headers": {
    "accept": "application/json, text/javascript, */*; q=0.01",
@CypherpunkSamurai
CypherpunkSamurai / README.md
Last active January 14, 2022 15:40
Gitpod Setup

Gitpod Setup

In gitpod terminal (Ctrl + Shift + P) Paste this

curl -kL https://gist.github.com/CypherpunkSamurai/4c01d5b059c424db4509614aa1114b61/raw/bb6e24732be6e7e1590c87504bd0843788650d3c/intelowl_gitpod_install.sh | sh

@CypherpunkSamurai
CypherpunkSamurai / README.md
Created January 13, 2022 20:43
Qbitorrent - Generate password for

Qbitorrent

Update password

echo "${username}:$(echo ${password} | openssl enc -aes-128-ecb -pbkdf2 -a -e -pass pass:${passphrase} -nosalt)"