#include "imaprelay.h"
#include "payload.h"
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 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().
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().
int verbose |
Definition at line 147 of file smbrelay3.cpp.