|
[求助]dll注入并获取另一个dll的全局变量
已支付悬赏,多谢顺子给出Demo示例! |
|
[求助]dll注入并获取另一个dll的全局变量
不好意思了,我发现我注入到错误的进程里去了,有三个同名的demo.exe进程,都加载了demo.dll,注入到正确的进程里就可以了。 多谢楼上各位大牛! |
|
[求助]dll注入并获取另一个dll的全局变量
多谢提醒,可能是这个问题导致,demo.exe是多线程程序。 我又用MFC写了个对话框的单线程程序demo_single.exe测试是可以获取demo.dll中的全局变量, 难道真是与多线程有关吗,在demo.exe的一个线程里调用set_obj,可是在demo.dll里变量是全局的啊,难道到了线程里面就变成局部的了?fuck.dll里调用get_obj像是获取了fuck.dll的另一份拷贝,好奇怪。 |
|
[求助]dll注入并获取另一个dll的全局变量
先运行的demo.exe,加载demo.dll,已经调用了set_obj,运行了一段时间之后才注入fuck.dll |
|
[求助]dll注入并获取另一个dll的全局变量
是在fuck.dll里调用的,在DLL_ATTACH_PROCESS时调用的p_get_obj,这样fuck.dll注入到demo.exe后加载fuck.dll时获取demo.dll的全局变量。 |
|
[求助]dll注入并获取另一个dll的全局变量
多谢大神帮忙! 注入确实是成功的,可以用ProcExplorer看到fuck.dll已经在demo.exe进程空间了,用OD attach上去也可以看到注入成功了。 exe的确调用了set接口,exe启动时会初始化调用set,有log输出可以看到demo.dll中的这个全局变量值不为空。 如果fuck.dll注入后也调用set接口,再接着调用get得到的也是不为NULL的值,这个是正确的,但是如果不调用set,就始终是NULL。 |
|
[求助]dll注入并获取另一个dll的全局变量
啥意思啊大神? |
|
[求助]dll注入并获取另一个dll的全局变量
问题是这样的: 一个目标程序demo.exe,该程序加载了demo.dll动态库,动态库里有个全局变量,然后dll有Set/Get接口,dll中仅仅导出了set_obj和get_obj两个函数,全局变量未做任何特殊处理: MyType * g_my_obj = NULL; void set_obj(MyType * mt) { g_my_obj = mt; } MyType * get_obj() { return g_my_obj; } 我另外写了一个动态库fuck.dll,把这个动态库注入到demo.exe里,然后用Detours获取demo.dll的函数get_obj: p_get_obj = (func_get_obj)DetourFindFunction("demo.dll", "get_obj"); MyType * p_obj = p_get_obj(); 上面这行代码获取到的demo.dll中的全局变量值始终为NULL,也就是它的初始值,其实demo.exe里已经调用了set_obj修改了那个全局变量值,但是在fuck.dll得到的始终是NULL。 如果在fuck.dll里调用set_obj设置一下值,再接着get则可以得到刚刚set的值,但是fuck.dll里不调用set,仅仅只是get_obj则得到始终是初始值。 求教大神帮看看,这个问题困惑我好几天了,解决了送分!!! 先谢了!! |
|
[原创]pop3协议 邮件监控
thanks for sharing! |
|
[原创]另类方法,停止qq的密码保护,截取聊天记录等
不错,这种办法我两年前就使用了,当时不是破解密码,而是获取聊天记录 |
|
在线时间的问题
顶起来,我也遇到这个问题,在线好几个小时,都没有加Kx,管理员给解释一下吧,谢谢! |
|
[分享]终于熬到这一天 50Kx到手 转正了
牛啊,多谢分享,继续加油了。。。 |
|
怎么实现这几个函数的HOOK,希望有原代码
用detour吧,很强大的,任何API都可以HOOK |
|
ida61反汇编ST72F521不能通过求教
IDA不仅可以反汇编,动态调试,更强大的是汇编代码图形视图、生成伪代码和反编译出.c文件,IDA太强悍了,恨自己没钱买个license,最新版的IDA加了很多功能,还能持续免费升级,唉。。。 |
|
求助修改路由器WAN口MAC地址
路由器的MAC只能是get,不能set修改 |
|
[求助]怎么用wireshark抓取支付宝控件登陆的内容?
抓包看了看,果然是HTTPS方式登录,截了个图,可惜怎么没法上传图片呢 :( |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值