#include "httprelay.h"#include "payload.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) |
Variables | |
| int | verbose |
| int | ProxySMB |
| 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().
| int ProxySMB |
| int verbose |
Definition at line 147 of file smbrelay3.cpp.
Referenced by ExecuteCode(), HandleIncommingHTTPRequest(), HandleIncommingIMAPRequest(), HandleIncommingPOP3Request(), HandleIncommingSmbRequest(), HandleIncommingSMTPRequest(), main(), StablishNTLMSession(), and WriteRemoteFile().
1.5.4