mirror of
https://github.com/maxDcb/C2Core
synced 2026-06-08 15:48:01 +00:00
25 lines
380 B
C++
25 lines
380 B
C++
#pragma once
|
|
|
|
#include "Beacon.hpp"
|
|
|
|
class SocketTunnelClient;
|
|
|
|
|
|
class BeaconTcp : public Beacon
|
|
{
|
|
|
|
public:
|
|
BeaconTcp(std::string& config, std::string& ip, int port);
|
|
~BeaconTcp();
|
|
|
|
private:
|
|
std::string m_ip;
|
|
int m_port;
|
|
|
|
void checkIn();
|
|
|
|
int splitInPacket(const std::string& input, std::vector<std::string>& output);
|
|
|
|
SocketTunnelClient* m_client;
|
|
};
|