C:/Web/smbrelay3/src/payload.h

Go to the documentation of this file.
00001 #ifndef _PAYLOAD_
00002 #define _PAYLOAD_
00003 #include "smbrelay.h"
00004 #include "smb.h"
00005 #include "ntlm.h"
00006 
00007 void CleanLine(int verbose);
00008 smheader *BuildSmbPacket1(void);
00009 smheader *GetSmbPacket2(RELAY *relay,smheader* Packet1);
00010 smheader *GetSmbPacket3(smheader* SmbPacket2,char *lpUserName, char *lpPassword,  char *domainname, char *host, tSmbNtlmAuthResponse* OptionalNtlmPacket3);
00011 smheader *GetSmbPacket3Alt(smheader* SmbPacket2,char *lpUserName, char *lpPassword,  char *domainname, char *host, tSmbNtlmAuthResponse* OptionalNtlmPacket3);
00012 
00013 int WriteRemoteFile(RELAY relay, smheader *buffer, char *lpFileName);
00014 char *GenerateFTPTransfer(char *buffer,char *host, int port, char *username, char *password, char *downloadfile,char *optionalparameter);
00015 int AttackWeakServices(RELAY relay, char *buf,char *path, uint16 FID, char *ServicePath);
00016 
00017 
00018 #endif
00019 

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