您可以将代码/exe注入到使用python的进程中吗? [英] Can you inject code/an exe into a process with python?

查看:173
本文介绍了您可以将代码/exe注入到使用python的进程中吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经看到一些网站在谈论注入DLL(例如 http://www.codeproject.com/KB/DLL/DLL_Injection_tutorial.aspx ),但是我正在努力使EXE正常工作.任何帮助/提示将不胜感激.

I've seen a few sites talking about injecting DLL's (such as http://www.codeproject.com/KB/DLL/DLL_Injection_tutorial.aspx), but I'm struggling with how to get an EXE to work. any help/tips would be appreciated.

我知道如何解释它的最好方法是在内存中执行exe的"RunPE".真的有帮助吗?

The best way I know how to explain it is "RunPE" where you execute an exe in the memory. Does that help at all?

推荐答案

如果您要询问如何将代码注入正在运行的Python进程中,则所需的是

If you're asking how to inject code into a running Python process, what you want is https://fedorahosted.org/pyrasite/ .

这篇关于您可以将代码/exe注入到使用python的进程中吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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