English 中文(简体)
A. 政府间进程Hooking
原标题:Inter-process Hooking
  • 时间:2012-05-19 10:05:37
  •  标签:
  • c++
  • hook
  • ipc

是否能够利用hoo子跳跃到另一个过程,以传承记忆,然后跳回,而没有任何东西像DL注入?

例如,如果程序<代码>A有程序<代码>foo和程序B有程序bar,其原型与<代码>foo相同。 假设这两个过程都在运行,能否在<条码>foo<>/code>上打上<条码>/条码>。

EDIT:需要在Windows上做到这一点。

最佳回答

一种按定义的过程是一个沙箱。 如果你甚至错过了在你的地址外的地址,那么它就作为SIG_USR信号而提出和抓住,并作为分裂的错误报告。

说到,存在着诸如共享记忆、管道和袖珍等程序间通信机制,可以用于跨过程的交流。

Edit : There are RPC ( remote procedure calls) mechanisms available as well Such as CORBA That provide remote method invocation.

问题回答

视窗的每个过程(以及独一无二的,很可能是大多数其他现代职业)都有自己的虚拟记忆空间,通常会向不同的物理地址绘制地图。 因此,将DL列入另一个进程的地址是掌握这一进程中任何内容的唯一方法。 另一方面,一旦您拥有一部DLL,你就可以做大量事情,例如,用Windows电线(视窗中最易懂的通信方法之一)铺开你自己的透镜,并与家长程序进行沟通。





相关问题
Undefined reference

I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...

C++ Equivalent of Tidy

Is there an equivalent to tidy for HTML code for C++? I have searched on the internet, but I find nothing but C++ wrappers for tidy, etc... I think the keyword tidy is what has me hung up. I am ...

Template Classes in C++ ... a required skill set?

I m new to C++ and am wondering how much time I should invest in learning how to implement template classes. Are they widely used in industry, or is this something I should move through quickly?

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

typedef ing STL wstring

Why is it when i do the following i get errors when relating to with wchar_t? namespace Foo { typedef std::wstring String; } Now i declare all my strings as Foo::String through out the program, ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

Window iconification status via Xlib

Is it possible to check with the means of pure X11/Xlib only whether the given window is iconified/minimized, and, if it is, how?

热门标签