Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Xml;
- namespace Decoders
- {
- class PidginPass
- {
- static void Main(string[] args)
- {
- XmlDocument xDoc = new XmlDocument();
- xDoc.Load("%appdata%\.purple\accounts.xml");
- XmlNodeList protocol = xDoc.GetElementsByTagName("protocol");
- XmlNodeList username = xDoc.GetElementsByTagName("name");
- XmlNodeList password = xDoc.GetElementsByTagName("password");
- for (int i = 0; i < username.Count; ++i)
- Console.WriteLine("Protocol: " + protocol[i].InnerText + "\nUsername: " + username[i].InnerText + "\nPassword: " + password[i].InnerText);
- Console.WriteLine("Press any key to continue...");
- Console.ReadKey(true);
- }
- }
- }
Add Comment
Please, Sign In to add comment