-
-
[原创]第5题
-
发表于:
2008-11-24 12:55
2121
-
驱动分析很简单 丢进IDA一看就知道怎么回事了 我就不多说了
发一种方法吧
#include "stdafx.h"
#include <windows.h>
int main()
{
char szBuffer[MAX_PATH]="c:\\360game";
if(SetCurrentDirectory(szBuffer))
{
HANDLE hFile;
hFile=CreateFile("360game.txt",GENERIC_WRITE,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL);
DWORD dwWrites;
WriteFile(hFile,"kyo come in",strlen("kyo come in"),&dwWrites,NULL);
CloseHandle(hFile);
}
return 0;
}
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!