|
|
|
|
|
[原创]某连连看外挂源码(版本齐全)
这个玩意我也弄过,不过找能消去的一对的那个代码我没写直接拿人家现成的 |
|
[原创]某连连看外挂源码(版本齐全)
//TODO: Add your control notification handler code here //获取窗口句柄 HWNDgameh=::FindWindow(NULL,gameCaption); //获取窗口进程ID DWORDprocessid; ::GetWindowThreadProcessId(gameh,&processid); //打开指定进程 HANDLEprocessH=::OpenProcess(PROCESS_ALL_ACCESS,false,processid); //读指定进程 内存数据 DWORD byread; LPCVOIDpbase=(LPCVOID)0x0012A444; //棋盘数据基址 LPVOID nbuffer=(LPVOID)&chessdata; //存放棋盘数据 ::ReadProcessMemory(processH,pbase,nbuffer,11*19,&byread); ///显示棋盘数据 charbuf[11]; m_chessdata="";//清空编辑 for (int y=0;y<=10;y++) { for (int x=0;x<=18;x++) //读一行 { itoa(chessdata[y][x],buf,16); //转换成字串 m_chessdata+=buf; m_chessdata+=" "; } //换行 m_chessdata+="\r\n"; } UpdateData(false); HWNDhwnd=::FindWindow(NULL,gameCaption); intlparam; lparam=(y<<16)+x+31*2;//表示指定格 ::SendMessage(hwnd,WM_LBUTTONDOWN,0,lparam);// ::SendMessage(hwnd,WM_LBUTTONUP,0,lparam); // |
|
[原创]某连连看外挂源码(版本齐全)
qq游戏连连看是比较简单的游戏,我们猜测程序员定义了19*11大小的数组来存放连连看棋盘上面的棋子数据 鉴于这个数组比较大,而棋子没有很多所以认为8位二进制就足够表示棋子的类型了,假定程序员使用的是BYTE类型数组 使用CE工具查找游戏进程,我们猜测没有棋子的位置值为0,然后不断练来让棋盘数据不同来构造条件让我们猜到数组的地址 我们来关注第一个位置的棋子让它的值初始为空我们扫描内存,然后刷新下棋盘,根据刷新结果来修改ce的条件 比如从没有变成了有棋子,我们就修改为增加的数值,然后如果两次都有棋子但是棋子不同就使用过滤条件改变的值 最后找到满足我们所有设置的条件的一个或者几个值,然后od载入 查看 从这个地址开始19*11之后的数值是不是跟棋盘一样 (为了容易区分是不是,可以构造很多的空白没有棋子的棋盘)找到后就能确定棋盘数组的基址,然后就能读出后续的内存值 读到一个数组里面,为了自己找能消去的一对用,然后就是想办法去点击能消去的某些棋子,这里使用发送虚拟鼠标消息进行欺骗 为了发送虚拟按键消息,我们必须找到某个棋子在电脑上面的地址,因为窗口在桌面上的位置不固定(你也可以固定,那你就蛋疼了) 于是我们使用相对坐标,使用spy++记录我们自己点击第一个棋子的坐标,然后根据每个棋子的大小来计算每个棋子的坐标 棋子的大小可以截屏,算像素分别除以 19 跟11 结果是 35 31 然后就是怎么找能消去的一对了这个不是技术问题了 是算法的东西了 因为我们大话数据结构还没看多少 暂时不讨论了 注意读取内存使用的是根据窗口标题找句柄找pid 找进程句柄 然后使用 ReadProcessMemory 读取其内存 注意 不同系统的基址不同 (win 7 0x0012A444 而 xp后面是 0x0012A480)不同版本的游戏基址貌似也不同 |
|
[招聘]北京启明星辰招聘网络安全工程师
有个广州的做信息安全的公司想要我,同学介绍的。基本通过了 可惜是在广州········ 不知道启明星辰这个怎么样 感觉很没底 不过自己还是想去北京 无论怎么样 离家近点 |
|
|
|
[讨论]几进制能表示所有的数
说的蛮有道理,有限确实只能无限接近于无限却不能等同于无限, 不过我的意思是不考虑在计算机中数的位数没有限制, 也就是你的小数点前面后面都可以写任意长 这不也就是无限了吗 不过其实3 = 2.99999999999999...... 这样看来总觉得怪怪的········. |
|
[讨论]几进制能表示所有的数
如果无限小数应该能表示吧 |
|
|
|
|
|
猎头代招病毒分析工程师!急!
新手,看了前面各位的评论都不好意思去了···· |
|
[招聘]公安部下属企业高薪诚聘网络协议分析工程师
我知道,我只是发表下感慨,拿出身看人岂不是很那啥的眼光么? |
|
[求助]256位RSA未知公私钥,知道密文,如何算密码?
所谓攻击也要考虑成本问题, 个人的情况根本用不着, 理论上来说任何密码系统都可以被破解 但是破解需要空间+时间只要你能保证这两个一个在实际中是不可行的就狗了 理论上的可行的东西,实际上不可行就行了 比如你需要100年 难道你好破解吗 或者你得使用万亿次的计算机来运算,鉴于你这个不是国家安全级别的东西 根本不可能使用这种级别的计算机 应对的攻击者不同 使用的位数自然就不同了 专家说的是最极端情况下的安全 |
|
[招聘]公安部下属企业高薪诚聘网络协议分析工程师
国企神马的对出身太看重了,哎,被当年的校长坑了,要不神马211 不在话下啊······ |
|
[招聘]北京启明星辰招聘网络安全工程师
邮件已发,期能假如学习······ |
|
如何安装red hat linux 9(悬赏100KX)
U盘BackTrack启动系统直接搞定,而且里面自带很多工具 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值