private void button2_Click(object sender, EventArgs e)
 {
     if (this.comboBox2.Text == "" || this.comboBox1.Text == "" || this.textBox1.Text == "")
     {
         MessageBox.Show("Fill all data", "Information", MessageBoxButtons.OK, MessageBoxIcon.Hand);
     }
     else
     {
         Class14 @class = new Class14(Convert.ToInt32(this.textBox1.Text));
         string text = "";
         string a = "get";
         for (int i = 0; i < this.int_0 * 2; i++)
         {
             if (a == "get")
             {
                 text = this.panel1.Controls[i].Text;
                 a = "set";
             }
             else
             {
                 string text2 = text;
                 if (text2 != null)
                 {
                     if (!(text2 == "String"))
                     {
                         if (!(text2 == "Int"))
                         {
                             if (text2 == "Bool")
                             {
                                 @class.method_2(this.panel1.Controls[i].Text == "true");
                             }
                         }
                         else
                         {
                             @class.method_1(Convert.ToInt32(this.panel1.Controls[i].Text));
                         }
                     }
                     else
                     {
                         @class.method_3(this.panel1.Controls[i].Text);
                     }
                 }
                 a = "get";
             }
         }
         if (this.comboBox2.Text.Contains("Server"))
         {
             Class1.class19_0.method_8(@class.method_5());
         }
         else
         {
             Class1.class19_0.method_7(@class.method_5());
         }
     }
 }
Ejemplo n.º 2
0
 public static void smethod_1(byte[] byte_0)
 {
     bool flag = false;
     Class13 @class = new Class13(byte_0);
     Class28.smethod_0(@class.Int32_1, byte_0);
     Class1.class11_0.method_5(byte_0);
     if (Class17.bool_1)
     {
         switch (Class17.short_1)
         {
         case 0:
         {
             Class17.int_0 = @class.Int32_1;
             string string_ = @class.method_0();
             Class24.smethod_1(string_);
             Class14 class2 = new Class14(Class17.int_0);
             class2.method_3(Class24.string_1);
             class2.method_2(false);
             flag = true;
             Class1.class19_0.method_7(class2.method_5());
             Class28.smethod_4("Wait for banner exploit sulake 8-)");
             break;
         }
         case 1:
         {
             Class17.int_2 = @class.Int32_1;
             Class24.smethod_2(@class.method_0());
             Class14 class3 = new Class14(Class17.int_2);
             class3.method_3("1");
             Class1.class19_0.method_7(class3.method_5());
             Class24.class25_1 = new Class25();
             Class24.class25_1.method_0(new byte[]
             {
                 1
             });
             while (!Class24.class25_1.bool_0)
             {
             }
             Class17.bool_1 = false;
             flag = true;
             Class28.smethod_4("Pwned Client Security! Sent pwned data to client 8-)");
             break;
         }
         }
         Class17.short_1 += 1;
     }
     if (!flag)
     {
         byte[] byte_ = @class.method_3();
         Class1.class19_0.method_7(byte_);
     }
 }
Ejemplo n.º 3
0
    // Token: 0x0600017D RID: 381 RVA: 0x0001027C File Offset: 0x0000E47C
    public static async Task smethod_0(GClass4 gclass4_0, string string_0, JObject jobject_0)
    {
        int num = 0;

        while ((int)DateTime.Now.Subtract(gclass4_0.dateTime_0).TotalMilliseconds < Class130.int_0 + 1000)
        {
            JToken jtoken = (Class130.jarray_0.Count > 0) ? Class130.jarray_0[num] : null;
            try
            {
                using (Class14 @class = new Class14((string)((jtoken != null) ? jtoken["proxy"] : null), "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36", 10, true, false, jobject_0))
                {
                    gclass4_0.task_1 = @class.method_2(string_0, true);
                    await gclass4_0.task_1;
                }
                Class14 @class = null;
                goto IL_19D;
            }
            catch
            {
                goto IL_19D;
            }
            goto IL_11D;
IL_124:
            TaskAwaiter taskAwaiter = Task.Delay(Class130.int_0).GetAwaiter();
            if (!taskAwaiter.IsCompleted)
            {
                await       taskAwaiter;
                TaskAwaiter taskAwaiter2;
                taskAwaiter  = taskAwaiter2;
                taskAwaiter2 = default(TaskAwaiter);
            }
            taskAwaiter.GetResult();
            continue;
IL_11D:
            num = 0;
            goto IL_124;
IL_19D:
            num++;
            if (num >= Class130.jarray_0.Count)
            {
                goto IL_11D;
            }
            goto IL_124;
        }
    }
Ejemplo n.º 4
0
    // Token: 0x06000890 RID: 2192 RVA: 0x0004CB94 File Offset: 0x0004AD94
    public static async void smethod_2(string string_0, string string_1, string string_2)
    {
        string string_3;
        string string_4;

        try
        {
            Class14 @class = new Class14(string_0, "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36", 10, false, true, null);
            string  a      = string_2;
            string  text;
            if (!(a == "Shopify"))
            {
                if (!(a == "Supreme"))
                {
                    if (!(a == "Mesh"))
                    {
                        if (!(a == "Footsites"))
                        {
                            if (!(a == "Off-White"))
                            {
                                if (!(a == "Lacoste"))
                                {
                                    text = string_2;
                                    try
                                    {
                                        string_2 = new Uri(text).Host;
                                        goto IL_12F;
                                    }
                                    catch
                                    {
                                        MainWindow.webView_0.QueueScriptCall(string.Format("updateProxyRow('{0}','Invalid URL',7,'red')", string_1));
                                        return;
                                    }
                                }
                                text = "https://www.lacoste.com/gb/";
                            }
                            else
                            {
                                text = "https://www.off---white.com/en/GB";
                            }
                        }
                        else
                        {
                            text = "https://www.footaction.com/";
                            @class.httpClient_0.DefaultRequestHeaders.ExpectContinue = new bool?(false);
                            @class.httpClient_0.DefaultRequestHeaders.TryAddWithoutValidation("Accept", "application/json");
                        }
                    }
                    else
                    {
                        text = "https://prod.jdgroupmesh.cloud/stores/size/products/000987?api_key=3565AE9C56464BB0AD8020F735D1479E";
                    }
                }
                else
                {
                    text = "http://www.supremenewyork.com/shop/all";
                }
            }
            else
            {
                text = "https://kith.com/collections.json";
            }
IL_12F:
            MainWindow.webView_0.QueueScriptCall(string.Format("updateProxyRow('{0}','Testing...',7,'orange')", string_1));
            MainWindow.webView_0.QueueScriptCall(string.Format("updateProxyRow('{0}','{1}',6,'#c2c2c2')", string_1, string_2));
            Stopwatch stopwatch = new Stopwatch();
            stopwatch.Start();
            TaskAwaiter <HttpResponseMessage> taskAwaiter = @class.method_2(text, false).GetAwaiter();
            if (!taskAwaiter.IsCompleted)
            {
                await taskAwaiter;
                TaskAwaiter <HttpResponseMessage> taskAwaiter2;
                taskAwaiter  = taskAwaiter2;
                taskAwaiter2 = default(TaskAwaiter <HttpResponseMessage>);
            }
            HttpResponseMessage result = taskAwaiter.GetResult();
            stopwatch.Stop();
            long elapsedMilliseconds = stopwatch.ElapsedMilliseconds;
            if (result.IsSuccessStatusCode)
            {
                string_3 = elapsedMilliseconds.ToString() + "ms";
                string_4 = "#2BB873";
                if (string_2 == "Supreme")
                {
                    TaskAwaiter <string> taskAwaiter3 = result.smethod_3().GetAwaiter();
                    if (!taskAwaiter3.IsCompleted)
                    {
                        await taskAwaiter3;
                        TaskAwaiter <string> taskAwaiter4;
                        taskAwaiter3 = taskAwaiter4;
                        taskAwaiter4 = default(TaskAwaiter <string>);
                    }
                    string arg = taskAwaiter3.GetResult().Contains("LDN") ? "EU" : "NYC";
                    MainWindow.webView_0.QueueScriptCall(string.Format("updateProxyRow('{0}','Supreme {1}', 6, '#c2c2c2')", string_1, arg));
                }
            }
            else if (result.StatusCode == (HttpStatusCode)430)
            {
                string_3 = "Banned";
                string_4 = "Red";
            }
            else if (result.StatusCode == HttpStatusCode.ProxyAuthenticationRequired)
            {
                string_3 = "Authentication error";
                string_4 = "Red";
            }
            else
            {
                string_3 = string.Format("Error ({0})", (int)result.StatusCode);
                string_4 = "Red";
            }
            stopwatch = null;
        }
        catch
        {
            string_3 = "Error";
            string_4 = "Red";
        }
        Class189.smethod_3(string_1, string_4, string_3);
    }
Ejemplo n.º 5
0
        // Token: 0x06000892 RID: 2194 RVA: 0x0004CBE0 File Offset: 0x0004ADE0
        void IAsyncStateMachine.MoveNext()
        {
            int num2;
            int num = num2;

            try
            {
                if (num > 1)
                {
                }
                try
                {
                    TaskAwaiter <string> taskAwaiter5;
                    TaskAwaiter <HttpResponseMessage> taskAwaiter6;
                    if (num != 0)
                    {
                        if (num == 1)
                        {
                            taskAwaiter5 = taskAwaiter4;
                            taskAwaiter4 = default(TaskAwaiter <string>);
                            num2         = -1;
                            goto IL_299;
                        }
                        Class14 @class = new Class14(string_0, "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36", 10, false, true, null);
                        string  a      = string_2;
                        string  uriString;
                        if (!(a == "Shopify"))
                        {
                            if (!(a == "Supreme"))
                            {
                                if (!(a == "Mesh"))
                                {
                                    if (!(a == "Footsites"))
                                    {
                                        if (!(a == "Off-White"))
                                        {
                                            if (!(a == "Lacoste"))
                                            {
                                                uriString = string_2;
                                                try
                                                {
                                                    string_2 = new Uri(uriString).Host;
                                                    goto IL_12F;
                                                }
                                                catch
                                                {
                                                    MainWindow.webView_0.QueueScriptCall(string.Format("updateProxyRow('{0}','Invalid URL',7,'red')", string_1));
                                                    goto IL_39D;
                                                }
                                            }
                                            uriString = "https://www.lacoste.com/gb/";
                                        }
                                        else
                                        {
                                            uriString = "https://www.off---white.com/en/GB";
                                        }
                                    }
                                    else
                                    {
                                        uriString = "https://www.footaction.com/";
                                        @class.httpClient_0.DefaultRequestHeaders.ExpectContinue = new bool?(false);
                                        @class.httpClient_0.DefaultRequestHeaders.TryAddWithoutValidation("Accept", "application/json");
                                    }
                                }
                                else
                                {
                                    uriString = "https://prod.jdgroupmesh.cloud/stores/size/products/000987?api_key=3565AE9C56464BB0AD8020F735D1479E";
                                }
                            }
                            else
                            {
                                uriString = "http://www.supremenewyork.com/shop/all";
                            }
                        }
                        else
                        {
                            uriString = "https://kith.com/collections.json";
                        }
IL_12F:
                        MainWindow.webView_0.QueueScriptCall(string.Format("updateProxyRow('{0}','Testing...',7,'orange')", string_1));
                        MainWindow.webView_0.QueueScriptCall(string.Format("updateProxyRow('{0}','{1}',6,'#c2c2c2')", string_1, string_2));
                        stopwatch = new Stopwatch();
                        stopwatch.Start();
                        taskAwaiter6 = @class.method_2(uriString, false).GetAwaiter();
                        if (!taskAwaiter6.IsCompleted)
                        {
                            num2         = 0;
                            taskAwaiter2 = taskAwaiter6;
                            this.asyncVoidMethodBuilder_0.AwaitUnsafeOnCompleted <TaskAwaiter <HttpResponseMessage>, Class189.Struct167>(ref taskAwaiter6, ref this);
                            return;
                        }
                    }
                    else
                    {
                        taskAwaiter6 = taskAwaiter2;
                        taskAwaiter2 = default(TaskAwaiter <HttpResponseMessage>);
                        num2         = -1;
                    }
                    HttpResponseMessage result = taskAwaiter6.GetResult();
                    stopwatch.Stop();
                    long elapsedMilliseconds = stopwatch.ElapsedMilliseconds;
                    if (result.IsSuccessStatusCode)
                    {
                        string_3 = elapsedMilliseconds.ToString() + "ms";
                        string_4 = "#2BB873";
                        if (!(string_2 == "Supreme"))
                        {
                            goto IL_349;
                        }
                        taskAwaiter5 = result.smethod_3().GetAwaiter();
                        if (!taskAwaiter5.IsCompleted)
                        {
                            num2         = 1;
                            taskAwaiter4 = taskAwaiter5;
                            this.asyncVoidMethodBuilder_0.AwaitUnsafeOnCompleted <TaskAwaiter <string>, Class189.Struct167>(ref taskAwaiter5, ref this);
                            return;
                        }
                    }
                    else
                    {
                        if (result.StatusCode == (HttpStatusCode)430)
                        {
                            string_3 = "Banned";
                            string_4 = "Red";
                            goto IL_349;
                        }
                        if (result.StatusCode == HttpStatusCode.ProxyAuthenticationRequired)
                        {
                            string_3 = "Authentication error";
                            string_4 = "Red";
                            goto IL_349;
                        }
                        string_3 = string.Format("Error ({0})", (int)result.StatusCode);
                        string_4 = "Red";
                        goto IL_349;
                    }
IL_299:
                    string arg = taskAwaiter5.GetResult().Contains("LDN") ? "EU" : "NYC";
                    MainWindow.webView_0.QueueScriptCall(string.Format("updateProxyRow('{0}','Supreme {1}', 6, '#c2c2c2')", string_1, arg));
IL_349:
                    stopwatch = null;
                }
                catch
                {
                    string_3 = "Error";
                    string_4 = "Red";
                }
                Class189.smethod_3(string_1, string_4, string_3);
            }
            catch (Exception exception)
            {
                num2 = -2;
                this.asyncVoidMethodBuilder_0.SetException(exception);
                return;
            }
IL_39D:
            num2 = -2;
            this.asyncVoidMethodBuilder_0.SetResult();
        }