.exe附加到像dll这样的进程中? [英] .exe attach to a process like dll ?

查看:138
本文介绍了.exe附加到像dll这样的进程中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想知道如何制作我下载的程序...

一个将附加到指定进程的jector.exe(GUI),然后在附加自身之后可以将输入发送到该进程.

就像一个注射器和一个dll.

请您能告诉我如何制作此书吗?


非常感谢您



I was wondering how to make this program that i downloaded...

an injector.exe(GUI) that will attach to a specified process then after attaching itself it can send input to that process.

It''s like an injector and a dll in one.

Please can you give me idea how to make this?


Thank You very much

推荐答案

您需要jector.exe的源代码.
您必须使用重定位进行编译.
您必须修改入口点函数并添加代码以检测是否已加载LoadLibrary或使用CreateProcess启动.

您也可以从Microsoft学习PE-COFF文件格式,创建可以修改PE-COFF文件的工具,学习汇编程序,添加带有代码的新部分,重定位等,并生成一个新文件.可以完成,但是将花费您将近一年的时间.

如果您没有源代码,那么快速答案是否".
You need the source code of injector.exe.
You have to compile it with relocations.
You have to modify the entry point function and add code to detect if you are loaded with LoadLibrary or launched using CreateProcess.

You could also study PE-COFF file format from Microsoft, create tools that will modify PE-COFF files, learn assembler, add a new section with code, relocations, etc and generate a new file. It can be done, but it will take you almost an year.

If you don''t have the source code, the quick answer is NO.


这篇关于.exe附加到像dll这样的进程中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆