|
发表于 2008-10-24 12:36:25
|
显示全部楼层
俺也来弄个aspr补丁....
纯属备份一下代码.下次直接复制.../:09
// Foward declarations of functions included in this code module:
// Code By luck[PYG]
// MP3xxx?什么东东的JJ?
// 2008.10.24
// Http://Www.ChinaPYG.CoM
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
// TODO: Place code here.
CHAR PATH[100]={0};
GetCurrentDirectory(100,PATH);
sprintf(PATH+strlen(PATH),"%s","\\MP3Recorder.exe");
STARTUPINFO INFO={sizeof(STARTUPINFO)};
PROCESS_INFORMATION INFORMATION;
ZeroMemory(&INFORMATION,sizeof(PROCESS_INFORMATION));
BOOL ISCREATE=CreateProcess(PATH,NULL,NULL,NULL,FALSE,CREATE_SUSPENDED,NULL,NULL,&INFO,&INFORMATION);
if(!ISCREATE)
{
MessageBoxA(NULL,"无法创建进程!没有找到主程序文件[MP3Recorder.exe]","提示信息:",0x40);
return 0;
}
ResumeThread(INFORMATION.hThread);
Sleep(600);
SuspendThread(INFORMATION.hThread);
BYTE MYREAD;
BYTE PACTH[3]={0x01,0xEB};
ReadProcessMemory(INFORMATION.hProcess,(LPVOID)0x50EC94,&MYREAD,1,NULL);
if (MYREAD==0x83)
{
WriteProcessMemory(INFORMATION.hProcess,(LPVOID)0x50EEAF,&PACTH[1],1,NULL);
WriteProcessMemory(INFORMATION.hProcess,(LPVOID)0x525B14,&PACTH[0],1,NULL);
}
ResumeThread(INFORMATION.hThread);
ExitProcess(0);
return 0;
}
[ 本帖最后由 Luckly 于 2008-10-24 13:24 编辑 ] |
评分
-
查看全部评分
|