blob: 5a5b3f6b3d0f47ca1a1040f8999f214538f23004 (
plain)
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
31
32
33
34
|
#pragma once
// NOTE:
// THE FOLLOWING MACROS ARE USED ONLY IN SERVER.CPP
// PLEASE UPDATE THEM ACCORDINGLY.
#define SERVER_PORT 0xF2C // Hexadecimal representation of the server port.
// Core functionality
#include <Networking/TCPServer.hpp>
#include <Networking/WebSocket.hpp>
// Loader functionality
#include <Login/RemoteLogin.hpp>
#include <RemoteCode/FileReader.hpp>
#include <RemoteCode/RemoteInjectionServer.hpp>
#include <RemoteCode/RemoteCodeServer.hpp>
// It looked nasty in Server.cpp, so I'm putting it here.
namespace Utils
{
inline void OpenConsole()
{
// Create instance of console.
AllocConsole();
// Allow console to access output stream.
FILE *file;
freopen_s(&file, "CONOUT$", "w", stdout);
// :^)
SetConsoleTitleA("moneyserver $");
}
}
|