Exemplo n.º 1
0
 public NTLM(NetworkSocket socket, string sUsername, string sPassword, string sDomain)
 {
     this.m_Socket       = socket;
     this.m_sUsername    = sUsername;
     this.m_sPassword    = sPassword;
     this.m_sDomain      = sDomain;
     this.m_sWorkstation = Options.ClientName;
     this.m_bNTLMv2      = false;
 }
Exemplo n.º 2
0
 internal static void Connect(string host, int port)
 {
     ConnectionStage = eConnectionStage.Connecting;
     try
     {
         NetworkSocket socket = new NetworkSocket(host.Replace(".", ""));
         socket.Connect(host, port);
         m_OpenSocket = socket;
     }
     catch { }
 }
Exemplo n.º 3
0
 public RdpPacket(NetworkSocket Socket, byte[] buffer)
 {
     this.m_Socket = Socket;
     this.m_Buffer = buffer;
 }