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

Function ExtractType3FromRpc

ADCSCoercePotato.cpp:390–398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388}
389
390void ExtractType3FromRpc(char* rpcPacket, int rpcPacketLen, char* ntlmType3, int* ntlmType3Len) {
391 int ntlmIndex = findNTLMBytes(rpcPacket, rpcPacketLen);
392 short* authLen = (short*)rpcPacket + 5;
393 memcpy(ntlmType3, rpcPacket + ntlmIndex, *authLen);
394 *ntlmType3Len = (int)*authLen;
395 ParseUsernameFromType3(ntlmType3, *ntlmType3Len);
396
397
398}
399
400int PotatoAPI::startCOMListener(void) {
401

Callers 1

startCOMListenerMethod · 0.85

Calls 2

findNTLMBytesFunction · 0.85
ParseUsernameFromType3Function · 0.85

Tested by

no test coverage detected