English 中文(简体)
追踪处理功能的六氯环己烷模块
原标题:Linux module to hook process functions
  • 时间:2012-04-29 15:40:18
  •  标签:
  • linux
  • hook

I have a problem, maybe you have some information about this. I want to hook socket receive function (recv) in running process and modify incoming data. How i know, i can do this using kernel module, but i cant find information about how to do such hook.

我试图采取另一种方式,例如Netfilter, iptables,但这些方式会放缓。

最佳回答

知道可以使用几种不同的传闻,而不仅仅是休庭。

假设有关申请,它通过C图书馆(而不是手工艺品)进行掩体互动,而且你可以重新开始试验,一个比较直截了当的想法是,使用LD_PRELOAD环境变量,首先装设一个海关图书馆,用拦截器取代热液包装器。

或者,你可以进行扫描,拦截 st子的 way子,并与感兴趣的.子.。

另一种选择是,不要让申请直接与遥远的系统连接,而要设立代理,使之与代理人连接,并与偏远系统有代理联系。 其中一个重大优势是,它具有相当的便利性,很少需要平台的具体细节。

问题回答

暂无回答




相关问题
Signed executables under Linux

For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. So, my question is How to sign executable code and run only trusted ...

encoding of file shell script

How can I check the file encoding in a shell script? I need to know if a file is encoded in utf-8 or iso-8859-1. Thanks

How to write a Remote DataModule to run on a linux server?

i would like to know if there are any solution to do this. Does anyone? The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service ...

How can I use exit codes to run shell scripts sequentially?

Since cruise control is full of bugs that have wasted my entire week, I have decided the existing shell scripts I have are simpler and thus better. Here is what I have so far svn update /var/www/...

Good, free, easy-to-use C graphics libraries? [closed]

I was wondering if there were any good free graphics libraries for C that are easy to use? It s for plotting 2d and 3d graphs and then saving to a file. It s on a Linux system and there s no gnuplot ...

热门标签