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; }
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 { } }
public RdpPacket(NetworkSocket Socket, byte[] buffer) { this.m_Socket = Socket; this.m_Buffer = buffer; }