|
[原创]Windows下的无线热点蜜罐
楼主V5,连小飞机都被你用出来了, |
|
[求助]Win7 64位如何给屏幕拍快照
GDI的方法创建一个DC,把DC的数据保存成BMP就行了,WIN7上没问题,常规解决方法 |
|
[求助自己做的一个Inlinehook不知道哪里错了?求大神看看哪里错了
可以正常弹出我这里 #include "stdafx.h" #include "Hook.h" InLineHookApi theHook; typedef int (__stdcall *pfnMessageBox)( HWND,LPCTSTR,LPCTSTR,UINT); LPCSTR lpHookStr = "Hello world By Hook"; int __stdcall MyMessageBox( HWND hWnd, // handle to owner window LPCTSTR lpText, // text in message box LPCTSTR lpCaption, // message box title UINT uType // message box style ) { (pfnMessageBox(theHook.PLApiBack))(hWnd,lpHookStr,lpCaption,uType); return 0; } int main(int argc, char* argv[]) { theHook.HookApi("user32.dll","MessageBoxA",MyMessageBox); MessageBox(NULL,"hello world",NULL,NULL); return 0; } |
|
[讨论][求助]数据同步
你说的这种情况,最好是统一的管理,统一的分发,如果不这样做,你只有计算数据的大小,并且进程间必须进行通信同步,所以我感觉你另起一个进程进行分发是最好的, |
|
软件长时间使用内存占用过大问题
有时候内存突然变大,只要能下来,一般没有问题,推荐在观察下 |
|
[讨论]inline hook修改指令时多线程问题
MHOOK的代码看了一下,考虑的是很详細的,连暂停时线程上下文中EIP的指针停留位置都给予了处理,还是不错的, |
|
[求助]汇编中使用math库应该如何写代码
.586 .model flat,stdcall option casemap:none include windows.inc include user32.inc include kernel32.inc include msvcrt.inc includelib kernel32.lib includelib user32.lib includelib msvcrt.lib .data dwFloat dd 0 .code start: invoke _imp__pow,0,40000000h,0,40100000h ; 2^4 fstp dword ptr dwFloat invoke ExitProcess,0 end start 在汇编中处理双精度非常麻烦, |
|
[讨论]inline hook修改指令时多线程问题
恩,也有一定的道理, |
|
[讨论]inline hook修改指令时多线程问题
#include "stdafx.h" #include <windows.h> void SafeChange8Bit(PUCHAR puDst,PUCHAR puSrc) { DWORD dwDst1 = *(DWORD*)puDst; DWORD dwDst2 = *(DWORD*)((DWORD*)puDst+1); DWORD dwSrc1 = *(DWORD*)puSrc; DWORD dwSrc2 = *(DWORD*)((DWORD*)puSrc+1); _asm { mov edx,dwDst1 mov eax,dwDst2 mov ecx,dwSrc1 mov ebx,dwSrc2 cmpxchg8b puDst ;这里不会成功,不知道原因了,都是同一块同存 } } int main(int argc, char* argv[]) { unsigned char szBuffer[8] = {0}; szBuffer[0] = 1; szBuffer[4] = 1; unsigned char szSrcBuffer[8] = {1,2,3,4,5,6,7,8}; DWORD dwDst1 = *(DWORD*)szBuffer; DWORD dwDst2 = *(DWORD*)((DWORD*)szBuffer+1); DWORD dwSrc1 = *(DWORD*)szSrcBuffer; DWORD dwSrc2 = *(DWORD*)((DWORD*)szSrcBuffer+1); _asm { mov edx,dwDst1 mov eax,dwDst2 mov ecx,dwSrc1 mov ebx,dwSrc2 lock cmpxchg8b szBuffer } //SafeChange8Bit(szBuffer,szSrcBuffer); } 这样实现了8字节的原子操作 |
|
[讨论]inline hook修改指令时多线程问题
暂停其它线程.........这种方法在有些特点的环境下是不行的,我说的是3环,不考虑0环 |
|
[讨论]inline hook修改指令时多线程问题
恩这个我等下来试试,如果能实现,算是最好的了 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值