外部进程dll注入,用于拦截WM [英] external process dll injection for intercepting WM's

查看:101
本文介绍了外部进程dll注入,用于拦截WM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在就上述主题进行一些指导.我正在尝试将消息绘制到屏幕上时拦截第三方进程的聊天消息.

据我了解,我需要创建一个自定义的dll来覆盖目标进程的WndProc函数,从而依次处理消息.

如果我在这里错了,请纠正我!

我怀疑我编写的dll必须用C ++编写,但是注入过程可以通过C ++或C#完成. (我主要使用C#开发).

如果我要重写WndProc(),应注入的代码格式是什么?我是否只创建一个带有该功能覆盖的dll?

如果有人可以将此过程分解为广泛的步骤,我将不胜感激,因为我不认为我完全掌握了需要遵循的步骤.

非常感谢,

Jib.

Hi all,

I''m after some guidance on the above subject. I''m trying to intercept the chat messages of a 3rd party process as the messages are painted to the screen.

As I understand it I need to create a custom dll that overrides the WndProc function of the target process, that in turn handles the messages.

Please correct me if I''mn wrong here!

I suspect the dll I write must be written in C++, but the injection process can be done via C++ or C#. (I develop using C# mainly).

What is the format of the code I should inject if I''m to override the WndProc()? Do I just create a dll with an override for that function?

If someone could put this process into broad steps I''d be very grateful as I don''t think I totally grasp the steps I need to follow.

Much appreciated,

Jib.

推荐答案

这可能会有所帮助:注入我的DLL进入进程 [^ ]
This may be of help: Inject My DLL Into a Process[^]


这篇关于外部进程dll注入,用于拦截WM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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