{"id":27957743,"url":"https://github.com/holly-hacker/managedinjector","last_synced_at":"2025-09-14T13:26:45.760Z","repository":{"id":47228456,"uuid":"361892221","full_name":"holly-hacker/ManagedInjector","owner":"holly-hacker","description":"A DLL injector to inject .NET assemblies into a foreign .NET process.","archived":false,"fork":false,"pushed_at":"2024-11-30T14:58:30.000Z","size":60,"stargazers_count":132,"open_issues_count":5,"forks_count":20,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-28T02:20:06.548Z","etag":null,"topics":["dll-injection","dll-injector","dotnet"],"latest_commit_sha":null,"homepage":"","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/holly-hacker.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-04-26T20:58:23.000Z","updated_at":"2025-07-24T01:11:29.000Z","dependencies_parsed_at":"2025-05-07T18:14:27.894Z","dependency_job_id":"b7d8fc53-0cf7-4020-a951-0ef7e41b91a4","html_url":"https://github.com/holly-hacker/ManagedInjector","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/holly-hacker/ManagedInjector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holly-hacker%2FManagedInjector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holly-hacker%2FManagedInjector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holly-hacker%2FManagedInjector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holly-hacker%2FManagedInjector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/holly-hacker","download_url":"https://codeload.github.com/holly-hacker/ManagedInjector/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holly-hacker%2FManagedInjector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275112015,"owners_count":25407598,"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","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["dll-injection","dll-injector","dotnet"],"created_at":"2025-05-07T18:14:23.239Z","updated_at":"2025-09-14T13:26:45.722Z","avatar_url":"https://github.com/holly-hacker.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ManagedInjector 💉\n[![NuGet version (HoLLy.ManagedInjector)](https://img.shields.io/nuget/v/HoLLy.ManagedInjector.svg?style=flat-square)](https://www.nuget.org/packages/HoLLy.ManagedInjector/)\n\nWith ManagedInjector, you can inject .NET assemblies into other .NET processes.\nThis allows you to run your own code under the context of that process, and\ngives you access to all its internal state using the .NET reflection API.\n\n## Getting started\n\nCurrently, only .NET Framework targets are supported. Mono will be supported in\nthe near future and .NET Core/.NET will come soon after that.\n\nFor .NET Framework targets, the method to be run after injecting must be of\nsignature `static int MyMethod(string)`.\n\n### GUI\nThe GUI allows you to select a process and DLL in a graphical interface.\n\n![Main Window](https://i.imgur.com/wIHXa3R.png)\n\n![Entrypoint Selection](https://i.imgur.com/vRPZVkm.png)\n\n### CLI\n\nWith the CLI application, you can inject DLLs from the comfort of the\ncommandline, or easily script it without having to do any programming.\n\n```\n$ .\\ManagedInjector.CLI.exe --help\nManagedInjector.CLI 1.0.0\nCopyright (C) 2021 ManagedInjector.CLI\n\n  -n, --name      (Group: process) Specifies the target process name\n\n  -p, --pid       (Group: process) Specifies the target process id\n\n  -i, --input     Required. The DLL to inject\n\n  -t, --type      Required. The full type of the entry point\n\n  -m, --method    Required. The method name of the entry point\n\n  --help          Display this help screen.\n\n  --version       Display version information.\n```\n\n```\n$ .\\ManagedInjector.CLI.exe -n Wox -i D:\\Injectable.dll -t Injectable.Program -m InjectableMain\nPID: 15912\nStatus: Ok\nArch: NetFrameworkV4\nCopied DLL to C:\\Users\\HoLLy\\AppData\\Local\\Temp\\69e4c80c-f828-4f07-bfb3-770c23d4308f.dll\nWritten to 0x2A389C60000\nThread handle: 00000354\n```\n\n### .NET API\n\nWith ManagedInjector.Lib, you can integrate ManagedInjector into your own\napplications with an easy-to-use API.\n\n⚠ Note that ManagedInjector.Lib will not move your DLLs to a temporary location.\nDue to how managed injection works, the files will remain \"in use\" by the\ntarget process until it closes. If you are actively developing your injectable,\nit is recommended to move it to a temporary location first.\n\n```c#\nusing HoLLy.ManagedInjector;\n\nuint pid = 0x1234;\nvar process = new InjectableProcess(pid);\n\nDebug.Assert(process.GetStatus() == ProcessStatus.Ok);\nDebug.Assert(process.GetArchitecture() == ProcessArchitecture.NetFrameworkV4);\n\nprocess.Inject(\"D:\\Injectable.DLL\", \"Injectable.Program\", \"Main\");\n```\n\n## Attribution\n\nManagedInjector uses the following libraries:\n- [Iced](https://github.com/icedland/iced), licensed under the MIT license\n\nManagedInjector.CLI uses the following libraries:\n- [CommandlineParser](https://github.com/commandlineparser/commandline), licensed under the MIT license\n\nManagedInjector.GUI uses the following libraries:\n- [AsmResolver](https://github.com/washi1337/asmresolver), licensed under the MIT license\n- [MahApps.Metro](https://github.com/mahapps/mahapps.metro), licensed under the MIT license\n\n## License\n\nThis project is licensed under the [MIT License](https://github.com/HoLLy-HaCKeR/ManagedInjector/blob/master/LICENSE).\n\nTL;DR: You are allowed to anything you wish with this software, as long as you\ninclude the original copyright and license notice in your software/source code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholly-hacker%2Fmanagedinjector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fholly-hacker%2Fmanagedinjector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholly-hacker%2Fmanagedinjector/lists"}