#include "smbrelay.h"
Go to the source code of this file.
Functions | |
int | HandleIncommingHTTPRequest (RELAY *relay, char *destinationhostname, int destinationport) |
int | ReadRequest (RELAY *relay, char *request, int requestsize) |
char ** | ParseHeaders (char *lpBuffer, unsigned int *nheaders) |
char * | GetHeaderValue (char **header, int nheaders, char *Header) |
char* GetHeaderValue | ( | char ** | header, | |
int | nheaders, | |||
char * | Header | |||
) |
Definition at line 336 of file httprelay.cpp.
References _strnicmp.
Referenced by HandleIncommingHTTPRequest().
int HandleIncommingHTTPRequest | ( | RELAY * | relay, | |
char * | destinationhostname, | |||
int | destinationport | |||
) |
Definition at line 49 of file httprelay.cpp.
References AddDialect(), buildAuthResponse(), BuildSmbPacket(), BuildSmbPacket1(), CleanLine(), ConnectToRemoteHost(), debug, RELAY::destination, dumpAuthChallenge(), dumpAuthResponse(), DumpMem(), ExecuteCode(), from64tobits(), GetHeaderValue(), GetNTLMPacketFromSmbPacket, GetNTLMPacketInfo(), GetSmbPacket2(), NEGOTIATEPROTOCOLREQUEST, ParseHeaders(), ProxySMB, ReadRequest(), SendBytesAndWaitForResponse(), SESSIONSETUPANDX, SmbLength, SmbPacketLen, SMBWAITTIMEOUT, RELAY::source, SpoofedChallengeKey, to64frombits(), and verbose.
Referenced by ReplayAttackAgainst().
char** ParseHeaders | ( | char * | lpBuffer, | |
unsigned int * | nheaders | |||
) |
int ReadRequest | ( | RELAY * | relay, | |
char * | request, | |||
int | requestsize | |||
) |
Definition at line 291 of file httprelay.cpp.
References RELAY::source.
Referenced by HandleIncommingHTTPRequest().