Skip to content

Instantly share code, notes, and snippets.

@r4d10n
r4d10n / pyghidra-arm-decompilation.md
Created November 29, 2025 09:27
PyGhidra ARM ELF Iterative Decompilation Prompt

PyGhidra ARM ELF Iterative Decompilation Prompt Overview This prompt guides Claude Code Web through systematic reverse engineering of ARM ELF binaries using PyGhidra. The workflow prioritizes core application logic, skips open-source library code, and produces well-documented reconstructed source with detailed algorithm explanations.

Binary Specification

Format: ELF (Executable and Linkable Format) Architecture: ARM (32-bit ARM / Thumb / AArch64 - confirm after loading) Analysis Focus: Proprietary core functions only Skip: Standard libraries, compiler runtime, open-source components

@r4d10n
r4d10n / split-multi-checksum-rclone.sh
Created November 11, 2025 05:11
Script to split/rejoin a large file into/from multiparts with MD5 checksum checks and sync upload to a Rclone compatible drive (S3, Google Drive, etc.) to beat Request Rate Limiting
# Script to split/rejoin a large file into/from multiparts with MD5 checksum checks
# Sync upload to a Rclone compatible drive (Google Drive, S3, etc.) to beat Request Rate Limiting
!/bin/bash
# Configuration
REMOTE_PATH="drv:path" # use rclone configure to setup
NUM_PARTS=20
DELAY_BETWEEN_UPLOADS=15 # seconds
UPLOAD_RETRIES=3
@r4d10n
r4d10n / dtmf-wav-generator.c
Created April 9, 2022 21:13
DTMF WAV files Generator
/*
DTMF WAV Generator
Based on (1) https://stackoverflow.com/a/23036909
(2) https://github.com/elshnkhll/DTMF_on_MAX98357A/blob/master/DTMF.h
*/
#include <math.h>
#include <stdio.h>
@r4d10n
r4d10n / MMDVM-sdr.ini
Created September 18, 2021 17:11
MMDVM.ini for mmdvm.sdr
# Modify Callsign, Id, Port, Server / Password
[General]
Callsign=G9BF
Id=123456
Timeout=180
Duplex=1
# ModeHang=10
RFModeHang=10
NetModeHang=3
Display=None
@r4d10n
r4d10n / pagemaker-to-pdf.ps1
Created September 2, 2016 14:27
Batch convert Pagemaker files to PDF
# An afternoon hack script to convert 100's of old Pagemaker files into PDF for reading
# Got tired looking for a good converter. Almost none exist..... Some bad business Adobe !
# Requires Powershell, WASP, Adobe Pagemaker (running as PM70, modify otherwise) with Distiller PDF conversion support
# If some files are not converted, do a re-run of the script, which processes the PMD files for which PDF file has not been created.
$path = "C:\PDFCollection\"
$pmdfilelist = Get-ChildItem $path -filter *.pmd -recurse