mirror of
https://github.com/decoder-it/ADCSCoercePotato
synced 2026-06-08 13:46:48 +00:00
14 lines
614 B
C
14 lines
614 B
C
#pragma once
|
|
#include "Windows.h"
|
|
|
|
//void DoHTTPCrossProtocolRelay(wchar_t*, wchar_t*, wchar_t*, wchar_t*, wchar_t*);
|
|
SOCKET CreateHTTPSocket(const wchar_t*, const wchar_t*);
|
|
SOCKET CreateRPCSocket(const wchar_t* remoteHTTPIp, const wchar_t* remoteHttpPort);
|
|
char* ForgeHTTPRequestType1(char*, int, int*, wchar_t*);
|
|
char* ForgeHTTPRequestType3(char*, int, int*, wchar_t*);
|
|
void ExtractType2FromHttp(char*, int, char*, int*);
|
|
void ParseUsernameFromType3(char*, int);
|
|
int findBase64NTLM(char*, int, char*, int*);
|
|
char* base64Encode(char*, int, int*);
|
|
char* base64Decode(char*, int, int*);
|
|
#define DEFAULT_BUFLEN 8192 |