- UID
- 32678
注册时间2007-8-2
阅读权限20
最后登录1970-1-1
以武会友
该用户从未签到
|
发表于 2008-3-2 13:14:33
|
显示全部楼层
一直等不到楼主的更新,自己看了一下这个软件,发现软件存在自较验,脱壳后用试用帐号登陆也提示"内容核审不通过",未脱壳的不会,
一时半刻找不到较验处,只好做了个内存补丁,修改两处跳转,
006A4C56 90 nop ; //这里要NOP,不能跳
006A4C57 90 nop
006A4C58 90 nop
006A4C59 90 nop
006A4C5A 90 nop
006A4C5B 90 nop
006A4C87 90 nop ; //这里要NOP,不能跳
006A4C88 90 nop
006A4C89 90 nop
006A4C8A 90 nop
006A4C8B 90 nop
006A4C8C 90 nop
补丁源码:
#include<windows.h>
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
//OBJIP
unsigned int OBJ_ip1=0x006A4C56;
unsigned int OBJ_patch1[]={0x90};
unsigned int OBJ_ip2=0x006A4C57;
unsigned int OBJ_patch2[]={0x90};
unsigned int OBJ_ip3=0x006A4C58;
unsigned int OBJ_patch3[]={0x90};
unsigned int OBJ_ip4=0x006A4C59;
unsigned int OBJ_patch4[]={0x90};
unsigned int OBJ_ip5=0x006A4C5A;
unsigned int OBJ_patch5[]={0x90};
unsigned int OBJ_ip6=0x006A4C5B;
unsigned int OBJ_patch6[]={0x90};
unsigned int OBJ_ip7=0x006A4C87;
unsigned int OBJ_patch7[]={0x90};
unsigned int OBJ_ip8=0x006A4C88;
unsigned int OBJ_patch8[]={0x90};
unsigned int OBJ_ip9=0x006A4C89;
unsigned int OBJ_patch9[]={0x90};
unsigned int OBJ_ip10=0x006A4C8A;
unsigned int OBJ_patch10[]={0x90};
unsigned int OBJ_ip11=0x006A4C8B;
unsigned int OBJ_patch11[]={0x90};
unsigned int OBJ_ip12=0x006A4C8C;
unsigned int OBJ_patch12[]={0x90};
HWND hwndOBJ=FindWindow(NULL,"贴贴狂帖(百度贴吧发贴机) V7.3");
DWORD PID;
HANDLE hProcess;
if (hwndOBJ!=0)
{
SetForegroundWindow(hwndOBJ);//找到句柄后将游戏设置为当前窗口
GetWindowThreadProcessId(hwndOBJ,&PID);//得到游戏的进程ID
hProcess=OpenProcess(PROCESS_ALL_ACCESS,false,PID);//打开游戏进程
WriteProcessMemory(hProcess,(void *)OBJ_ip1,OBJ_patch1,1,0);//写入修改后的代码
WriteProcessMemory(hProcess,(void *)OBJ_ip2,OBJ_patch2,1,0);
WriteProcessMemory(hProcess,(void *)OBJ_ip3,OBJ_patch3,1,0);
WriteProcessMemory(hProcess,(void *)OBJ_ip4,OBJ_patch4,1,0);
WriteProcessMemory(hProcess,(void *)OBJ_ip5,OBJ_patch5,1,0);
WriteProcessMemory(hProcess,(void *)OBJ_ip6,OBJ_patch6,1,0);
WriteProcessMemory(hProcess,(void *)OBJ_ip7,OBJ_patch7,1,0);
WriteProcessMemory(hProcess,(void *)OBJ_ip8,OBJ_patch8,1,0);
WriteProcessMemory(hProcess,(void *)OBJ_ip9,OBJ_patch9,1,0);
WriteProcessMemory(hProcess,(void *)OBJ_ip10,OBJ_patch10,1,0);
WriteProcessMemory(hProcess,(void *)OBJ_ip11,OBJ_patch11,1,0);
WriteProcessMemory(hProcess,(void *)OBJ_ip12,OBJ_patch12,1,0);
CloseHandle(hwndOBJ);//关闭句柄
CloseHandle(hProcess);
}
else
{
MessageBox(NULL,"目标程序还没有运行呢!","网络断魂提醒您:",NULL);//提醒消息
}
return 0;
}
补丁使用方法:(很麻烦的哦)
1、打开百度发贴机,到登陆界面,
2、运行补丁程序(正常则不会弹出任何界面,没有搜索到百度发贴机则有提示),
3、输入任何用户名和密码,点登陆即可,
4、登陆后使用方法与正版相同!
小心被杀毒软件误杀哦!!!
百度贴吧发贴机补丁.rar
(17.93 KB, 下载次数: 41)
[ 本帖最后由 网络断魂 于 2008-3-2 13:22 编辑 ] |
|