Exemple #1
0
 // Token: 0x06000023 RID: 35 RVA: 0x00007E4C File Offset: 0x0000604C
 internal void method_2()
 {
     if (CaptchaQueue.list_0.Count > 0)
     {
         ConcurrentDictionary <string, string>[] array = CaptchaQueue.list_0.Where(new Func <ConcurrentDictionary <string, string>, bool>(CaptchaQueue.Class0.class0_0.method_3)).ToArray <ConcurrentDictionary <string, string> >();
         for (int i = 0; i < array.Length; i++)
         {
             CaptchaQueue.Class2 @class = new CaptchaQueue.Class2();
             @class.concurrentDictionary_0 = array[i];
             CaptchaQueue.Class3 class2 = new CaptchaQueue.Class3();
             class2.class2_0 = @class;
             if (class2.class2_0.concurrentDictionary_0 == null)
             {
                 return;
             }
             bool flag  = false;
             bool flag2 = false;
             class2.webView_0 = CaptchaQueue.smethod_2(class2.class2_0.concurrentDictionary_0["use_invisible"] == "true", out flag2, out flag, out class2.string_0);
             if (!flag2)
             {
                 class2.class2_0.concurrentDictionary_0["use_invisible"] = "false";
             }
             class2.class2_0.concurrentDictionary_0["browser_name"] = class2.string_0;
             if (flag)
             {
                 class2.class2_0.concurrentDictionary_0["solving"] = "true";
                 if (!flag2)
                 {
                     CaptchaQueue.soundPlayer_0.Play();
                 }
                 if (class2.class2_0.concurrentDictionary_0["domain"].Contains("supreme"))
                 {
                     class2.webView_0.LoadHtml(CaptchaQueue.smethod_5(class2.class2_0.concurrentDictionary_0["sitekey"], class2.class2_0.concurrentDictionary_0["token"]), class2.class2_0.concurrentDictionary_0["domain"]);
                 }
                 else
                 {
                     class2.webView_0.LoadHtml(CaptchaQueue.smethod_4(class2.class2_0.concurrentDictionary_0["sitekey"], class2.class2_0.concurrentDictionary_0["taskID"], class2.class2_0.concurrentDictionary_0["token"], class2.class2_0.concurrentDictionary_0["domain"]), class2.class2_0.concurrentDictionary_0["domain"]);
                 }
                 if (flag2)
                 {
                     new Task(new Action(class2.method_0)).Start();
                 }
             }
         }
         return;
     }
     if (CaptchaQueue.concurrentDictionary_1["main"] && !CaptchaQueue.webView_0.GetText().Contains("WAITING"))
     {
         CaptchaQueue.smethod_7();
     }
 }
Exemple #2
0
    // Token: 0x0600055F RID: 1375 RVA: 0x0002E458 File Offset: 0x0002C658
    private void reloadCaptcha_Click(object sender, EventArgs e)
    {
        Class131 value = CaptchaQueue.concurrentDictionary_0.Where(new Func <KeyValuePair <string, Class131>, bool>(CaptchaQueue.Class126.class126_0.method_9)).FirstOrDefault <KeyValuePair <string, Class131> >().Value;

        if (value != null)
        {
            CaptchaQueue.dictionary_1[value.int_1].webView_0.LoadHtml(value.uri_0.ToString().Contains("supreme") ? CaptchaQueue.smethod_3(value.string_1, value.string_0) : CaptchaQueue.smethod_2(value.string_1, value.int_0, value.string_0, value.uri_0), value.uri_0.ToString());
            return;
        }
        CaptchaQueue.smethod_5(CaptchaQueue.int_0);
    }
Exemple #3
0
    // Token: 0x0600054E RID: 1358 RVA: 0x0002DCA8 File Offset: 0x0002BEA8
    public static bool smethod_1(object object_0, EventArgs eventArgs_0)
    {
        Class131 value  = CaptchaQueue.concurrentDictionary_0.FirstOrDefault(new Func <KeyValuePair <string, Class131>, bool>(CaptchaQueue.Class126.class126_0.method_1)).Value;
        GClass0  value2 = CaptchaQueue.dictionary_1.FirstOrDefault(new Func <KeyValuePair <int, GClass0>, bool>(CaptchaQueue.Class126.class126_0.method_2)).Value;

        if (value != null && value2 != null)
        {
            value.bool_0 = true;
            value.int_1  = value2.int_0;
            MainWindow.mainWindow_0.Invoke(new MethodInvoker(CaptchaQueue.Class126.class126_0.method_4));
            value2.bool_0 = false;
            value2.webView_0.LoadHtml(value.uri_0.ToString().Contains("supreme") ? CaptchaQueue.smethod_3(value.string_1, value.string_0) : CaptchaQueue.smethod_2(value.string_1, value.int_0, value.string_0, value.uri_0), value.uri_0.ToString());
            return(true);
        }
        MainWindow.mainWindow_0.Invoke(new MethodInvoker(CaptchaQueue.Class126.class126_0.method_3));
        return(false);
    }