$ show dqzg12300/fridaUiTools
fridaUiTools is a PyQt5 desktop application that serves as a comprehensive workbench for Android reverse engineering using Frida. It integrates dozens of Frida scripts for common tasks such as SSL unpinning, DEX dumping, JNI tracing, memory scanning, native hooking, and anti-debug bypass. The tool provides a unified GUI with attach/spawn modes, USB/WiFi connectivity, Frida server management, and AI-assisted script generation and log analysis. The architecture is a monolithic PyQt5 application with a main window (kmainForm.py) that orchestrates multiple dialog forms (e.g., SearchMemory, Wallbreaker, ZenTracer) and a background thread (TraceThread) for Frida script execution. While the codebase is functional and feature-rich, it suffers from tight coupling, duplicate scripts, hardcoded paths, and some dead code, making it more of a practical tool than a reference-quality codebase.
The LLM identified 4 files worth highlighting for reuse:
Generates GumTrace JavaScript scripts for native function tracing based on configurable modes (manual, offset, export) and thread filters. The class encapsulates script template loading, placeholder replacement, and output path management. It is self-contained, depends only on standard Python libraries, and can be reused in any Frida-based project that needs dynamic GumTrace script generation.
A standalone DEX parser and repair tool for FART dumped instruction files. It parses DEX headers, code items, uleb128 values, and instructions, then compares corrupted vs. repaired method code. The FartThread QThread subclass provides async processing with progress signals. This module is independent of the rest of the application and can be reused for any DEX analysis or repair workflow.
Implements memory pattern scanning in a target process via Frida RPC, with a QThread-based worker (MemorySearchWorker) that uses ThreadPoolExecutor for concurrent scans. The form provides a result table, context menu, and breakpoint UI. The worker pattern and RPC bridge are reusable for any Frida-based memory analysis tool.
A configuration utility that reads and writes INI-style config files with support for legacy key migration. It provides a simple API for getting/setting values with defaults and automatic section creation. This is a generic, reusable component for any Python application needing persistent configuration.