{"id":35793441,"url":"https://github.com/marlkiller/dylib_dobby_hook","last_synced_at":"2026-04-05T09:01:24.509Z","repository":{"id":217111629,"uuid":"743112355","full_name":"marlkiller/dylib_dobby_hook","owner":"marlkiller","description":"A macOS/IOS dylib project , aimed at enhancing and extending the functionality of target software.","archived":false,"fork":false,"pushed_at":"2026-03-06T12:01:30.000Z","size":7546,"stargazers_count":434,"open_issues_count":3,"forks_count":116,"subscribers_count":11,"default_branch":"main","last_synced_at":"2026-03-06T15:57:47.167Z","etag":null,"topics":["dylib","hook","inject","macos"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marlkiller.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"supported-apps.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-01-14T11:22:23.000Z","updated_at":"2026-03-03T17:10:49.000Z","dependencies_parsed_at":"2024-02-15T06:23:47.721Z","dependency_job_id":"fa540726-6f7f-4f49-bf6e-df1b68c81952","html_url":"https://github.com/marlkiller/dylib_dobby_hook","commit_stats":{"total_commits":130,"total_committers":4,"mean_commits":32.5,"dds":0.4538461538461539,"last_synced_commit":"0e6924d99cce7b4780af6bfae57c2f7cb596df01"},"previous_names":["marlkiller/dylib_dobby_hook"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/marlkiller/dylib_dobby_hook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marlkiller%2Fdylib_dobby_hook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marlkiller%2Fdylib_dobby_hook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marlkiller%2Fdylib_dobby_hook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marlkiller%2Fdylib_dobby_hook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marlkiller","download_url":"https://codeload.github.com/marlkiller/dylib_dobby_hook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marlkiller%2Fdylib_dobby_hook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31430011,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T08:13:15.228Z","status":"ssl_error","status_checked_at":"2026-04-05T08:13:11.839Z","response_time":75,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dylib","hook","inject","macos"],"created_at":"2026-01-07T09:06:05.778Z","updated_at":"2026-04-05T09:01:24.429Z","avatar_url":"https://github.com/marlkiller.png","language":"Objective-C","readme":"## About\n[![Telegram](https://img.shields.io/badge/Join%20our%20Telegram-blue?logo=telegram)](https://t.me/dylib_dobby_hook_chat)\n\n[English](https://github.com/marlkiller/dylib_dobby_hook/blob/master/README.md) | [中文](https://github.com/marlkiller/dylib_dobby_hook/blob/master/README.zh-CN.md) |[Others..TODO]()\n\n\nThis project is a macOS/IOS dylib project, aiming to enhance software through the use of the Hook framework.\n\nDevelopment Environment:\n\n- macOS (SIP disabled \u0026 allow any source)\n- Xcode 15.2 | CLion\n- Hopper | IDA\n\nDirectory Structure:\n\n1. dylib_dobby_hook: Source code\n2. libs: Libraries that the project depends on\n   - [tinyhook](https://github.com/Antibioticss/tinyhook)\n3. release: Built product libraries\n4. script:\n   - auto_hack.sh: One-click script `sudo bash auto_hack.sh`\n5. tools:\n   - insert_dylib: Open-source static injection tool\n   - dynamic_inject: Dynamic injection tool [SIP OFF]\n   - [process_inject](https://github.com/marlkiller/process_inject): Process injection tool [SIP OFF]\n\n## Feat\n\n1. Cross-platform [intel/apple] HOOK\n2. Integrated development and debugging environment with Xcode|CLion|VSCode\n3. Signature code search\n\nCheck the full list of supported apps [here](./supported-apps.md).\n\n## Usage\n\n[download latest release](https://github.com/marlkiller/dylib_dobby_hook_private/releases/download/latest/dylib_dobby_hook.tar.gz)\n\n```shell\ntar -xzvf dylib_dobby_hook.tar.gz\ncd script \nsudo bash auto_hack.sh\n```\n\n\u003e **Tip:** For a more convenient experience, you can use our GUI Quick Injection App.  \n\u003e [Download AutoHackGUI](https://github.com/marlkiller/AutoHackGUI-Releases/releases/)\n\n## Develop\n\n### 0x0\n\nThe basic code has been completed. To be compatible with more app patches, the adapter pattern is used for extension.\n\n### 0x1 Define Implementation Class (taking current XXX as an example)\n\n```objective-c\n\n#import \u003cFoundation/Foundation.h\u003e\n#import \u003cobjc/runtime.h\u003e\n#import \"HackProtocolDefault.h\"\n\n\n@interface XXXHack : HackProtocolDefault\n\n@end\n\n@implementation XXXHack\n\n- (NSString *)getAppName {\nreturn @\"com.dev.xxx\";\n}\n\n- (NSString *)getSupportAppVersion {\nreturn @\"1.0\";\n}\n\n\n- (BOOL)hack {\n\n#if defined(__arm64__) || defined(__aarch64__)\n// do arm something..\n#elif defined(__x86_64__)\n// do x86 something..\n#endif\n\nreturn YES;\n}\n@end\n\n```\n\n### 0x2 Build \u0026 Inject\n\n#### Build\nWe provide a unified build script that supports both **cmake** and **xcode** build systems, with configurable build type, Hikari support, and target OS.\n\n```shell\n# ./build.sh -s xcode -t Debug -h OFF -o mac\nusage() {\n  echo \"Usage: $0 [-s cmake|xcode] [-t Debug|Release] [-h ON|OFF] [-o mac|ios]\"\n  echo \"  -s  Build system: cmake (default) or xcode\"\n  echo \"  -t  Build type: Debug or Release (default: Release)\"\n  echo \"  -h  Enable Hikari: ON or OFF (default: OFF)\"\n  echo \"  -o  Target OS: mac (default) or ios\"\n  exit 1\n}\n```\n\nAfter compilation, you will obtain the patched dylib output under your specified build path.\n\n\n#### Inject\n\nInjection is separated into **macOS** and **iOS**.\n\n```shell\n# macOS\n## Static Injection\ncp -f source_bin source_bin_backup \n\"${insert_dylib}\" --weak --all-yes \"${YOUR_BUILD_PATH}/libdylib_dobby_hook.dylib\" \"source_bin_backup\" \"source_bin\"\n\n## Dynamic Injection [SIP OFF]\n./dynamic_inject \"xxx.app\" \"${YOUR_BUILD_PATH}/libdylib_dobby_hook.dylib\"\n\n## Process Injection [SIP OFF]\n./process_inject \"$pid\" \"${YOUR_BUILD_PATH}/libdylib_dobby_hook.dylib\"\n```\n\n```shell\n# IOS\nTODO\n```\n\n## Powered by\n\n[![JetBrains logo.](https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.svg)](https://jb.gg/OpenSource)\n\n## WARN\n\nFor research and learning purposes only. Please do not use for illegal purposes.   \nNote: If reprinted, please indicate the source (link to this post) and author information.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarlkiller%2Fdylib_dobby_hook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarlkiller%2Fdylib_dobby_hook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarlkiller%2Fdylib_dobby_hook/lists"}