// Token: 0x06000552 RID: 1362 RVA: 0x00005226 File Offset: 0x00003426 public static void smethod_5(int int_2) { if (!CaptchaQueue.dictionary_1.ContainsKey(int_2)) { return; } CaptchaQueue.dictionary_1[int_2].bool_0 = true; CaptchaQueue.dictionary_1[int_2].webView_0.LoadHtml(CaptchaQueue.smethod_4()); }
// 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(); } }
// Token: 0x06000548 RID: 1352 RVA: 0x0002D780 File Offset: 0x0002B980 public void method_0(string string_0, string string_1) { if (string_1 == null) { string_1 = string.Empty; } if (string_0 == null) { string_0 = Guid.NewGuid().ToString(); } int key = CaptchaQueue.dictionary_1.Any <KeyValuePair <int, GClass0> >() ? (CaptchaQueue.dictionary_1.Keys.Max() + 1) : 1; Panel panel = new Panel { Dock = DockStyle.Fill }; BrowserOptions options = new BrowserOptions { EnableXSSAuditor = new bool?(false), EnableWebSecurity = new bool?(false) }; WebView webView = new WebView(); Engine engine = Engine.Create(string_0); try { string[] array = string_1.Split(new char[] { ':' }); if (array.Length == 4) { engine.Options.Proxy = new ProxyInfo(ProxyType.HTTP, array[0], Convert.ToInt32(array[1]), array[2], array[3]); } else if (array.Length == 2) { engine.Options.Proxy = new ProxyInfo(ProxyType.HTTP, array[0], Convert.ToInt32(array[1])); } else { engine.Options.Proxy = null; } } catch { engine.Options.Proxy = null; } webView.SetOptions(options); webView.Engine = engine; webView.Engine.AllowRestart = true; webView.Create(panel.Handle); webView.RegisterJSExtensionFunction("submit", new JSExtInvokeHandler(this.method_3)); webView.CertificateError += this.method_11; webView.BeforeContextMenu += this.method_10; CaptchaQueue.dictionary_1[key] = new GClass0 { int_0 = key, string_0 = string_0, webView_0 = webView, panel_0 = panel, string_1 = string_1 }; webView.LoadHtml(CaptchaQueue.smethod_4()); }