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]
@echo off
fltmc >nul 2>&1 || (
echo This batch script requires administrator privileges. Right-click on
echo the script and select "Run as administrator".
goto :die
)
for /f "tokens=3*" %%a in ('reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\devenv.exe"') do set VsDirectory=%%a %%b
#!/usr/bin/python
import md5
import time
import urllib2
import RPi.GPIO as GPIO
import xml.etree.ElementTree as ET
# GPIO Pin Configuration
LCD_RS = 4
LCD_E = 17
how to setup mariadb:
apt install -y mariadb-client mariadb-server && mysql_secure_installation
remove the anonymous user
disallow remote root login
remove test db and acess
reload privileges
how to remove the nginx version on error pages:
Additional Removed Windows Apps:
// System Apps
OneDrive
PPIProjection
RetailDemoContent
SecureAssessmentBrowser
SkypeORTC
// Windows Components