Skip to content

Instantly share code, notes, and snippets.

View n0xius's full-sized avatar
💭
hax

Leon N. n0xius

💭
hax
View GitHub Profile
@n0xius
n0xius / tx_vmdis.py
Last active July 18, 2023 13:48 — forked from hexkyz/tx_vmdis.py
port to python 3, added disassembler support for 3.1.0
###########################################################
# TX SX OS MIPS VM disassembler - by hexkyz and naehrwert #
###########################################################
import os
import re
import struct
import codecs
host_calls_0 = {
@n0xius
n0xius / gw_flash.py
Last active August 18, 2022 20:35 — forked from SciresM/gw_flash.py
utility for interacting with gateway modchip updates, python 3 only
import sys
from struct import pack, unpack
def u32(x):
return x & 0xFFFFFFFF
def tea_update_custom_mac(mac, v, k):
v0, v1 = v[0], v[1]
cur_sum = 0xC6EF3720
k0, k1, k2, k3 = k[0], k[1], k[2], k[3]