This commit is contained in:
√(noham)²
2026-07-10 17:23:52 +02:00
commit 7ca09aa9ba
7 changed files with 176 additions and 0 deletions

29
README.md Normal file
View File

@@ -0,0 +1,29 @@
# Master PDF Editor Patch
Bypasses license validation for **Master PDF Editor 5.9.98** using inline hooking via [tinyhook](https://github.com/Antibioticss/tinyhook).
Supports both **Apple Silicon (arm64)** and **Intel (x86_64)** architectures.
## How it works
The dylib hooks `MainWindow::ValidateLicense` to force license flags, then calls `QDocTab::SetRegProgram` to complete activation.
## Build
```sh
git clone --recurse-submodules https://github.com/nohamelin/MasterPDFEditor-patch.git
cd MasterPDFEditor-patch
make
```
Output: `MasterPDFEditor.dylib`
## Usage
```sh
DYLD_INSERT_LIBRARIES=/path/to/MasterPDFEditor.dylib '/Applications/Master PDF Editor.app/Contents/MacOS/Master PDF Editor'
```
## Analysis
Full reverse engineering write-up: [noham.dev](https://noh.am/en/posts/master-pdf-editor-patch-analysis/)