iw4x-client/src/Components/Modules/RCon.hpp
2017-01-20 14:37:52 +01:00

34 lines
606 B
C++

#pragma once
namespace Components
{
class RCon : public Component
{
public:
RCon();
~RCon();
#if defined(DEBUG) || defined(FORCE_UNIT_TESTS)
const char* getName() override { 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;
};
}