// Token: 0x0600088F RID: 2191 RVA: 0x0004CB34 File Offset: 0x0004AD34 public static void smethod_1(object object_0, JSExtInvokeArgs jsextInvokeArgs_0) { string string_ = MainWindow.webView_0.QueueScriptCall("$('#test-site').val()").smethod_0(); JObject jobject = JObject.Parse(jsextInvokeArgs_0.Arguments.First <object>().ToString()); Class189.smethod_2(jobject["proxy"].ToString(), jobject["id"].ToString(), string_); }
public static string ToString(string value, char delimiter) { if ((delimiter != '"') && (delimiter != '\'')) { throw new ArgumentException("Delimiter must be a single or double quote.", "delimiter"); } return(Class189.smethod_1(value, delimiter, true)); }
public Class190(Class189 class189_1) { this.class189_0 = class189_1; this.class191_0 = new Class190.Class191(this, 286, 257, 15); this.class191_1 = new Class190.Class191(this, 30, 1, 15); this.class191_2 = new Class190.Class191(this, 19, 4, 7); this.short_2 = new short[16384]; this.byte_3 = new byte[16384]; }
public Class190(Class189 class1891) { Class1890 = class1891; _class1910 = new Class191(this, 286, 257, 15); _class1911 = new Class191(this, 30, 1, 15); _class1912 = new Class191(this, 19, 4, 7); _short2 = new short[16384]; _byte3 = new byte[16384]; }
// Token: 0x0600088E RID: 2190 RVA: 0x0004CAB0 File Offset: 0x0004ACB0 public static void smethod_0(object object_0, JSExtInvokeArgs jsextInvokeArgs_0) { string string_ = MainWindow.webView_0.QueueScriptCall("$('#test-site').val()").smethod_0(); foreach (JToken jtoken in Class130.jarray_0) { Class189.smethod_2(jtoken["proxy"].ToString(), jtoken["id"].ToString(), string_); } }
public Class194(int int_2, bool bool_1) { if (int_2 == -1) { int_2 = 6; } else if (int_2 < 0 || int_2 > 9) { throw new ArgumentOutOfRangeException("level"); } this.class189_0 = new Class189(); this.class184_0 = new Class184(this.class189_0); this.bool_0 = bool_1; this.method_8(Enum29.const_0); this.method_7(int_2); this.method_0(); }
public Class194(int int2, bool bool1) { if (int2 == -1) { int2 = 6; } else if (int2 < 0 || int2 > 9) { throw new ArgumentOutOfRangeException("level"); } _class1890 = new Class189(); _class1840 = new Class184(_class1890); _bool0 = bool1; method_8(Enum29.Const0); method_7(int2); method_0(); }
internal void method_5(Class189 A_0) { this.class189_0 = A_0; }
public abstract void Visit(Class189 c);
public override void Visit(Class189 c) { }
private void method_22(string string_1) { this.method_23(); Class189.smethod_0(this.textWriter_0, string_1, this.char_1, true, this.bool_2, base.StringEscapeHandling, ref this.char_2); }
// 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); }
// 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(); }