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

#include "pop3relay.h"
#include "payload.h"

Include dependency graph for pop3relay.cpp:

Go to the source code of this file.

Defines

#define ERRORR   "-ERR The specified authentication package is not supported.\r\n"
#define CAPA   "+OK Capability list follows\r\nAUTH NTLM\r\n+OK\r\n"
#define AUTH   "+OK The operation completed successfully.\r\nNTLM\r\n.\r\n"
#define AUTHOK   "+OK User successfully logged on.\r\n"
#define AUTHERROR   "-ERR Authentication Failed\r\n"

Functions

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

Variables

int verbose


Define Documentation

#define AUTH   "+OK The operation completed successfully.\r\nNTLM\r\n.\r\n"

Referenced by HandleIncommingPOP3Request().

#define AUTHERROR   "-ERR Authentication Failed\r\n"

#define AUTHOK   "+OK User successfully logged on.\r\n"

#define CAPA   "+OK Capability list follows\r\nAUTH NTLM\r\n+OK\r\n"

Referenced by HandleIncommingPOP3Request().

#define ERRORR   "-ERR The specified authentication package is not supported.\r\n"

Referenced by HandleIncommingPOP3Request().


Function Documentation

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

Definition at line 20 of file pop3relay.cpp.

References AddDialect(), AUTH, AUTHERROR, AUTHOK, buildAuthResponse(), BuildSmbPacket(), BuildSmbPacket1(), CAPA, ConnectToRemoteHost(), debug, RELAY::destination, dumpAuthChallenge(), dumpAuthRequest(), dumpAuthResponse(), DumpMem(), ERRORR, 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