相关疑难解决方法(0)

以编程方式将两个exe文件合并为一个

有没有办法以编程方式将两个exe文件合并为一个,以便运行它将同时执行两个较旧的exe文件.我在google上发现了一些关于注入代码或dll文件的东西但是有可能两个合并两个exe文件或者将exe注入exe吗?

提前致谢.

[编辑] 谢谢大家.只是对于那些说不可能的人,我不得不说我最近按照一些建议的方式做了.它几乎就是这样(我不记得所有这一切,因为很久以前):

[当心:此算法与某些蠕虫和病毒的算法非常相似.我不是黑客或病毒作家!并且这仅用于实验或无害的原因 - 在代码中出错会破坏目录中的可执行文件.

1- Exe检查自身的大小以检测是否有任何附加到自身的内容.如果还没有:

     1.1- The exe finds other executable files in its directory (lets call one of them as victim!)
     1.2- it makes a copy of itself (lets call it newMe)
     1.3- it copies the other executable found in the directory to the end of newMe.
     1.4- it deletes the other executable file found and renames newMe to its victim's name.
Run Code Online (Sandbox Code Playgroud)

2-如果exe检测到已添加某些内容,则:

     2.1- Then it copies data from itself (from ORIGINAL_FILE_SIZE to the end …
Run Code Online (Sandbox Code Playgroud)

merge exe code-injection

14
推荐指数
3
解决办法
4万
查看次数

标签 统计

code-injection ×1

exe ×1

merge ×1