C:/Web/smbrelay3/src/httprelay.h File Reference

#include "smbrelay.h"

Include dependency graph for httprelay.h:

This graph shows which files directly or indirectly include this file:

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)


Function Documentation

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().

Here is the call graph for this function:

char** ParseHeaders ( char *  lpBuffer,
unsigned int *  nheaders 
)

Definition at line 306 of file httprelay.cpp.

Referenced by HandleIncommingHTTPRequest().

int ReadRequest ( RELAY relay,
char *  request,
int  requestsize 
)

Definition at line 291 of file httprelay.cpp.

References RELAY::source.

Referenced by HandleIncommingHTTPRequest().


Generated on Wed Nov 12 22:04:28 2008 for Smbrelay version 3 by  doxygen 1.5.4