{"id":18729053,"url":"https://github.com/lichtso/macinject","last_synced_at":"2025-07-18T10:33:14.727Z","repository":{"id":23670853,"uuid":"27042023","full_name":"Lichtso/MacInject","owner":"Lichtso","description":"Command line tool and library to inject and execute program code into another process","archived":false,"fork":false,"pushed_at":"2014-12-19T22:21:35.000Z","size":164,"stargazers_count":10,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T17:02:40.539Z","etag":null,"topics":["code-injection","macos"],"latest_commit_sha":null,"homepage":null,"language":"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/Lichtso.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":null}},"created_at":"2014-11-23T18:12:06.000Z","updated_at":"2023-12-03T18:50:20.000Z","dependencies_parsed_at":"2022-08-22T02:50:50.211Z","dependency_job_id":null,"html_url":"https://github.com/Lichtso/MacInject","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Lichtso/MacInject","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lichtso%2FMacInject","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lichtso%2FMacInject/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lichtso%2FMacInject/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lichtso%2FMacInject/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lichtso","download_url":"https://codeload.github.com/Lichtso/MacInject/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lichtso%2FMacInject/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265742666,"owners_count":23820883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["code-injection","macos"],"created_at":"2024-11-07T14:25:31.087Z","updated_at":"2025-07-18T10:33:14.695Z","avatar_url":"https://github.com/Lichtso.png","language":"C","readme":"MacInject\n=========\n\nCommand line tool and library to inject and execute program code in another process.  \nIt is easy to use and does not require deep knowledge like [mach_inject](https://github.com/rentzsch/mach_inject) asserts.  \nJust compile a piece of code you want to inject as shared lib and call the MacInjectTool.  \nNotice: The tool waits for the injected code to finish in order to free all resources.  \nPlatforms: Only Intel x64 on Mac OS 10.7+ is supported.  \n\n\nExample\n-------\n\n```c\n#include \u003csyslog.h\u003e\n#include \u003cunistd.h\u003e\n\nvoid init() {\n    syslog(LOG_NOTICE, \"I got inside %d\\n\", getpid());\n}\n```\n\n`clang -shared -o InjectMe.image InjectMe.c`\n\n`sudo MacInjectTool -p InjectMe.image -t 1234`","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flichtso%2Fmacinject","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flichtso%2Fmacinject","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flichtso%2Fmacinject/lists"}