|
[原创]感觉对逆向和病毒完全失去兴趣了
千万别退休啊,还要多多指导新人和后进者啊…… |
|
[求助]求NP或HP保护源码
保持关注.... ,哈哈 ....... |
|
|
|
[求助]低级键盘钩子问题附源码
高手帮忙看下,为什么bPressed一直等1呢?以后的shift按键一直进不了if(),为什么啊?在线求助 ============= 问题解决,原来是while()死循环,跳不出来 |
|
[求助]低级键盘钩子问题附源码
谢谢楼上各位老师指点!一是设置bPressed为全局变量,二是case WM_SYSKEYDOWN:后面加上break。非常感谢!尤其是起床就看到了tydef的详细解释,现在改成如下后,再按左Shift停不下来 LRESULT CALLBACK LowLevelKeyboardProc(int nCode,WORD wParam,DWORD lParam) { PKBDLLHOOKSTRUCT p = NULL; if (nCode == HC_ACTION) { p = (PKBDLLHOOKSTRUCT) lParam; switch (wParam) { case WM_KEYDOWN: case WM_SYSKEYDOWN: break; case WM_KEYUP: case WM_SYSKEYUP: if(p->vkCode == VK_LSHIFT) { bPressed ^= 1; if(bPressed) OutputDebugString("bPressed = 1"); else OutputDebugString("bPressed = 0"); while(bPressed) { keybd_event(0x70 , MapVirtualKey(0x70,0) , 0 , 0); //按F1 Sleep(50); keybd_event(0x70 , MapVirtualKey(0x70,0) , KEYEVENTF_KEYUP , 0); Sleep(300); keybd_event(0x71 , MapVirtualKey(0x71,0) , 0 , 0); //按F2键 Sleep(50); keybd_event(0x71 , MapVirtualKey(0x71,0) , KEYEVENTF_KEYUP , 0); Sleep(300); } break; } default: break; } } return ((int) CallNextHookEx(hHook,nCode,wParam,lParam)); } |
|
[求助]低级键盘钩子问题附源码
谢谢2楼的回答!改成全局变量后,出现另外一个问题,没达到预期效果。现在的问题是:按一下左shift只执行一次,跟踪结果是while()中按下F1后,bPressed就成0了,本意是想按一次shift后,一直自动循环F1F2F1F2……直到下一次shift按键。求解。 |
|
加载中的DLL如何删除?
谢谢你的回复,我也是这么做的,但是不行哦。资料反应,FreeLibrary()以后,并没有完全释放。还需要其他线程也要释放吧,计数器未清零?虽然工作的问题已经通过别的办法解决,不再写入数据到DLL,改用另外的配置文件,但此问题仍没解决。 |
|
[求助]新手1个编程问题
已经解决了,谢谢楼上的,用了OnTimer和ReadProcessMemory.WriteProcessMemory |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值