如何挂钩IIS7(sharepoint2010) [英] How to hooking IIS7 (sharepoint2010)

查看:81
本文介绍了如何挂钩IIS7(sharepoint2010)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我成功地将easyTook挂起了ThaiToJDay和JDayToThai函数(这些函数在ONETUTIL.dll,Sharepoint 2010的dll中)



但是当我将我的项目附加到IIS

它没有用,我的意思是我的钩子函数没被调用!



任何人都能帮帮我吗?

Hi
I hooked ThaiToJDay and JDayToThai functions with easyhook successfully (these functions are in ONETUTIL.dll , dll of Sharepoint 2010)

But when i attached my project to IIS
It didn't work ,I mean my hooked function was not called !

Can any body help me please?

推荐答案

我做了同样的程序没有问题请确保:

1.你在你的sharepoint网站上使用泰国日历。

2.使用正确的代码类型附加到w3p进程,我的意思是原生或管理。 />
3.请确保在onetutil正常加载之前的适当时刻挂钩代码。

4.确保找到正确的地址。例如,如果您使用的是GetProcAddress,则应使用ThaiToJDay的完整装饰名称,使用dumpbin查找完全装饰的名称,它应类似于:

?HijriToJDay @ IntlCal @@ SIJABUDateInfo @@ AAJHPBJ @ Z =?My_HijriToJDay @@ YGHPAX0 @ Z

那是Hijri ofcourse。



顺便提一下你是使用easyhook Native还是Managed挂钩,我想知道它是否可以在托管模式下正确挂钩。
I've done same procedure with no problems please make sure:
1. You are using Thai calendars on ur sharepoint site.
2. Attach to w3p process using right code type, i mean Native or Managed.
3. Please make sure you are hooking the code at the right moment it takes a while before onetutil is atually loaded.
4. Make sure you get the right address. For eample if you are using GetProcAddress, you should use the full decorated name of ThaiToJDay, use dumpbin to find the fully decorated name, it should be something like:
?HijriToJDay@IntlCal@@SIJABUDateInfo@@AAJHPBJ@Z=?My_HijriToJDay@@YGHPAX0@Z
thats for Hijri ofcourse.

By he way are you using easyhook Native or Managed hooking, I wonder if it could be correctly hooked in managed mode.


嗨mahtab,

你找到了解决办法吗?
Hi mahtab,
did you find any solution ?


你能帮我解决一下如何挂钩onetutil.dll吗?

我用API Monitor监控这个dll,但功能不明白!
can you help me how can I hook onetutil.dll ?
I monitoring this dll with API Monitor but the functions are not understandable !


这篇关于如何挂钩IIS7(sharepoint2010)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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