HanDs
管理员

[Visual Studio文章] 破解QQ登陆窗口键盘保护 





学习中请遵循国家相关法律法规,黑客不作恶。没有网络安全就没有国家安全

本站需要登陆后才能查看

方法:

g_dwSetFocusAddress = (DWORD)::SetFocus;
                g_dwWSARecvAddress = (DWORD)::WSARecv;
                memcpy(g_dbSrcSetFocus,::SetFocus,5);
                memcpy(g_dbWSARecv,::WSARecv,5);
                //memcpy(g_dbSrcDeviceIoControl,::DeviceIoControl,7);

                LoadLibrary("ws2_32.dll");
                ////修改内存
                DWORD dwOLD;

                VirtualProtect((LPVOID)g_dwSetFocusAddress,100,PAGE_READWRITE,&dwOLD);        //修改程序代码段
                VirtualProtect((LPVOID)g_dwWSARecvAddress,100,PAGE_READWRITE,&dwOLD);        //修改程序代码段

                *(BYTE*)(g_dwSetFocusAddress) = 0xE9;                                                                //jmp
                *(DWORD*)(g_dwSetFocusAddress+1) = ((DWORD)MySetFocus - g_dwSetFocusAddress - 5);        // address

                *(BYTE*)(g_dwWSARecvAddress) = 0xE9;                                                                //jmp
                *(DWORD*)(g_dwWSARecvAddress+1) = ((DWORD)MyWSARecv - g_dwWSARecvAddress - 5);        // address


学习中请遵守法律法规,本网站内容均来自于互联网,本网站不负担法律责任
破解 Q Q 登陆 窗口 键盘 保护
#1楼
发帖时间:2016-7-9   |   查看数:0   |   回复数:0
游客组
快速回复