Skip to content

Instantly share code, notes, and snippets.

View veygax's full-sized avatar

veygax veygax

View GitHub Profile
@veygax
veygax / dump_partitions.sh
Last active December 26, 2025 18:46
dump partitions from an Android device (excluding userdata)
#!/bin/bash
VERSION=$(adb shell getprop ro.build.version.incremental | tr -d '\r\n')
TIMESTAMP=$(date +%Y%m%d_%H%M%S)
FOLDER="dump_${VERSION}_${TIMESTAMP}"
START_TIME=$SECONDS
mkdir -p "$FOLDER"
cd "$FOLDER"
@veygax
veygax / extract_super.sh
Last active December 22, 2025 15:47
bash script to extract compressed super.img's
#!/bin/bash
set -e
XZ="meta-quest_eureka_userdebug_v71_super.img.xz"
SUPER="super.img"
TMP="temp_partitions"
OUT="extracted_fs_userdebug"
[ ! -f $SUPER ] && xz -dkc "$XZ" > $SUPER
mkdir -p "$TMP" "$OUT"
@veygax
veygax / split_js.py
Created December 18, 2025 23:56
splits webcrack deobfuscated.js into seperate, manageable files
import re, os, sys
def split_deobfuscated(fp, od):
print(f"reading {fp}...")
os.makedirs(od, exist_ok=True)
with open(fp, 'r', encoding='utf-8') as f:
content = f.read()
start_match = re.search(r'var \w+\s*=\s*\{', content)
@veygax
veygax / extract_proto.py
Last active November 20, 2025 15:05
simple protobuf extractor for Java files.
#!/usr/bin/env python3
# Java Protobuf Extractor
# Copyright (c) 2025 veyga@veygax.dev
# SPDX-License-Identifier: MIT
import re
import sys
from pathlib import Path
from collections import defaultdict
@veygax
veygax / testflightDiscordWebhook.js
Created August 14, 2025 16:27
discord testflight watcher
const axios = require('axios');
const cheerio = require('cheerio');
const fs = require('fs').promises;
const DISCORD_WEBHOOK_URL = 'https://discord.com/api/webhooks/';
const TESTFLIGHT_IDS = [
'pLmKZJKw', // tiktok
'An0RiOFF' // cash app
];
@veygax
veygax / jitbit-keygen.py
Created March 27, 2025 19:45
JitBit Macro Recorder keygen
import base64
import hashlib
from datetime import datetime
from Crypto.PublicKey import DSA
from Crypto.Signature import DSS
from Crypto.Hash import SHA1
USERNAME = "VeygaX"
KEY_SIZE = 512