C:/Web/smbrelay3/src/imaprelay.cpp File Reference

#include "imaprelay.h"
#include "payload.h"

Include dependency graph for imaprelay.cpp:

Go to the source code of this file.

Defines

#define AUTHOK   "0001 OK AUTHENTICATE NTLM completed.\r\n"
#define AUTHERROR   "0001 ERROR AUTHENTICATE NTLM Failed.\r\n"

Functions

int HandleIncommingIMAPRequest (RELAY *relay, char *destinationhostname, int destinationport)

Variables

int verbose


Define Documentation

#define AUTHERROR   "0001 ERROR AUTHENTICATE NTLM Failed.\r\n"

Referenced by HandleIncommingIMAPRequest(), and HandleIncommingPOP3Request().

#define AUTHOK   "0001 OK AUTHENTICATE NTLM completed.\r\n"

Referenced by HandleIncommingIMAPRequest(), and HandleIncommingPOP3Request().


Function Documentation

int HandleIncommingIMAPRequest ( RELAY relay,
char *  destinationhostname,
int  destinationport 
)

Definition at line 14 of file imaprelay.cpp.

References AddDialect(), AUTHERROR, AUTHOK, buildAuthResponse(), BuildSmbPacket(), BuildSmbPacket1(), ConnectToRemoteHost(), debug, RELAY::destination, dumpAuthChallenge(), dumpAuthRequest(), dumpAuthResponse(), DumpMem(), ExecuteCode(), from64tobits(), GetNTLMPacketFromSmbPacket, GetNTLMPacketInfo(), GetSmbPacket2(), NEGOTIATEPROTOCOLREQUEST, SendBytesAndWaitForResponse(), SESSIONSETUPANDX, SmbLength, SmbPacketLen, SMBWAITTIMEOUT, RELAY::source, to64frombits(), and verbose.

Referenced by ReplayAttackAgainst().

Here is the call graph for this function:


Variable Documentation

int verbose

Definition at line 147 of file smbrelay3.cpp.


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