MCPcopy Create free account
hub / github.com/decoder-it/ADCSCoercePotato / PotatoAPI

Class PotatoAPI

MSFRottenPotato.h:6–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include <winsock2.h>
5
6class PotatoAPI {
7private:
8 BlockingQueue<char*>* comSendQ;
9 BlockingQueue<char*>* rpcSendQ;
10 static DWORD WINAPI staticStartRPCConnection(void * Param);
11 static DWORD WINAPI staticStartCOMListener(void * Param);
12 static int newConnection;
13 int processNtlmBytes(char* bytes, int len);
14 int findNTLMBytes(char * bytes, int len);
15
16public:
17 PotatoAPI(void);
18 int startRPCConnection(void);
19 DWORD startRPCConnectionThread();
20 DWORD startCOMListenerThread();
21 int startCOMListener(void);
22 int triggerDCOM();
23
24 SOCKET ListenSocket = INVALID_SOCKET;
25 SOCKET ClientSocket = INVALID_SOCKET;
26 SOCKET ConnectSocket = INVALID_SOCKET;
27};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected