|
[原创]自己写的魔兽1.24 Helper 的代码
void EnableDebugPriv() { HANDLE hToken; LUID sedebugnameValue; TOKEN_PRIVILEGES tkp; OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &hToken); LookupPrivilegeValue(NULL, SE_DEBUG_NAME, &sedebugnameValue); tkp.PrivilegeCount = 1; tkp.Privileges[0].Luid = sedebugnameValue; tkp.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED; AdjustTokenPrivileges(hToken, false, &tkp, sizeof tkp, NULL, NULL); CloseHandle(hToken); } DWORD GetDLL(char* DllName, DWORD tPid) { HANDLE snapMod; MODULEENTRY32 me32; if (tPid == 0) { return 0; } snapMod = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, tPid); me32.dwSize = sizeof(MODULEENTRY32); if ( Module32First(snapMod, &me32) ) { do { if (strcmp(DllName,me32.szModule) == 0) { CloseHandle(snapMod); return (DWORD) me32.modBaseAddr; } } while(Module32Next(snapMod,&me32)); } CloseHandle(snapMod); return 0; } bool memModify(bool control) { DWORD pid=0; HWND hwar3 = FindWindow(TEXT("Warcraft III"),NULL); if (!hwar3) { MessageBox(0,TEXT("魔兽并未运行,请先开启游戏"),TEXT("WARMMING"), MB_OK | MB_ICONWARNING); return false; } GetWindowThreadProcessId(hwar3, &pid); DWORD GameDLL = GetDLL("Game.dll",pid); HANDLE hopen = OpenProcess(PROCESS_ALL_ACCESS, false, pid); if (!hopen) { MessageBox(0,TEXT("进程打开失败"),TEXT("WARMMING"), MB_OK | MB_ICONWARNING); return false; } if(control == true) { WriteProcessMemory(hopen,(LPVOID)(0x361EBC+GameDLL),"\x00",1,NULL); } else if(control == false) { WriteProcessMemory(hopen,(LPVOID)(0x361EBC+GameDLL),"\x01",1,NULL); } CloseHandle(hopen); return true; } void CDotaAllstarMHDlg::OnBnClickedButtonOn() { GetDlgItem(IDC_BUTTON_OFF)->EnableWindow(TRUE); GetDlgItem(IDC_BUTTON_ON)->EnableWindow(FALSE); memModify(true); } void CDotaAllstarMHDlg::OnBnClickedButtonOff() { GetDlgItem(IDC_BUTTON_ON)->EnableWindow(TRUE); GetDlgItem(IDC_BUTTON_OFF)->EnableWindow(FALSE); memModify(false); } 使用了这个三个函数,能达到效达到,1.24B下通过,玩一晚上浩方没有检测到。 我其实就是水友,上述代码只修改了小地图,显示敌方单位,算不得MH,只能算是个菜鸟防抓辅助工具。 查了核心编程,知道了含义。 WriteProcessMemory(hopen,(LPVOID)(0x361EBC+GameDLL),"\x00",1,NULL); 这个地址,用CE还是不会搞定。 |
|
|
|
[注意]关于wwtwx的马甲事件与处理
按规矩办最好。 |
|
[调查]大学院校信息安全相关系所一览表
那些综合类院校估计会考虑这个问题,有可能开设对应专业。二类本科及其以下院校估计不会考虑的那么多。 这样教育出来的“我们”,根本达不到去触犯,因为技术上达不到。没有刀,自然不会去讲用刀杀人的后果。 以下是从大一到大四的专业课,我从教学计划查到的(还有硬件/电子方面的课程,就不列出来了),至于是什么学校,就不在此说了,课程的名称我修改了一下,不过不影响理解。 大学计算机基础、计算机程序设计(C语言)、算法与数据结构、计算机网络与通信、操作系统、数据库原理及应用、面向对象技术与Java语言、汇编程序设计与微机接口、信息安全导论(包含无线,军事方向) 、信息论与编码理论(纯理论,香农那套,基本听不懂)、软件工程、信息系统及安全(密码学)、网络安全理论与技术 、ARM技术及应用、Web应用开发技术(C#)、TCP/IP协议、计算机仿真、DSP技术及应用 、网络对抗技术、计算机病毒原理与对抗。 看着或许很美好,可是大学教育,我什么都不想说了,也确实没有什么可说的。 或许有人BS,不过大学教育早已不是以前啦。很多东西,是靠自己去涉猎和学习的。 也算响应一下版主,我所在的学校没有所谓法律道德相关的课程。 |
|
[推荐]100部IT书籍下载
泉哥,打算看C++了 |
|
[讨论]用C与windows API函数实现下载者 [申请请邀请码]
颜色太诡异了,我还得反选才能看到代码。 URLDownloadToFile ShellExecute 这两个函数在一起出现,主防,不,文件扫描估计都过不去的。 |
|
|
|
|
|
[分享]获取病毒样本的途径
额,转载的时候,最好放上转载地址。 |
|
[原创]招聘版模板测试
我支持,支持LS,支持LZ |
|
[原创]毕业找份工作[已找到,一个简历被无数人批,忽忽]
呵呵,找找教主哈。 |
|
[注意]讣告 江民科技创始人王江民因病去世 享年59岁
走好。。。。。。。。 |
|
[开源]卓然主动防御源码(可执行文件+完整源码+完整作品报告)
我想空了去找你…吼吼 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值