예제 #1
0
        public AutoHarvester(string website, string key, string platform, CaptchaSolver.CaptchaService service)
        {
            Class7.RIuqtBYzWxthF();
            CaptchaToken item = new CaptchaToken {
                Id          = Guid.NewGuid().ToString(),
                Created     = DateTime.Now,
                CaptchaType = service,
                Website     = website,
                Platform    = platform
            };

            switch (service)
            {
            case CaptchaSolver.CaptchaService.TwoCaptcha:
                item.Token = CaptchaSolver.TwoCaptchaSolve(key, website, "");
                break;

            case CaptchaSolver.CaptchaService.AntiCaptcha:
                item.Token = CaptchaSolver.AntiCaptchaSolve(key, website, "");
                break;

            case CaptchaSolver.CaptchaService.ImageTypers:
                item.Token = CaptchaSolver.ImageTypersSolve(key, website, "");
                break;

            case CaptchaSolver.CaptchaService.Disolve:
                item.Token = CaptchaSolver.DisolveSolve(key, website, "");
                break;
            }
            item.Timestamp = DateTime.Now;
            TimeSpan span = (TimeSpan)(item.Timestamp - item.Created);

            item.SolveTime = (span.Minutes * 60) + span.Seconds;
            item.Expires   = item.Timestamp.AddMinutes(2.0);
            if (!string.IsNullOrEmpty(item.Token))
            {
                if (item.Platform == "Shopify")
                {
                    Global.ShopifyTokens.Add(item);
                }
                else if (item.Platform == "Supreme")
                {
                    Global.SupremeTokens.Add(item);
                }
                else if (item.Platform == "Sneakernstuff")
                {
                    Global.SnsTokens.Add(item);
                }
            }
        }
예제 #2
0
        public void Start()
        {
            object obj2;

            goto Label_05FC;
Label_05F2:
            Thread.Sleep(200);
Label_05FC:
            obj2 = Global.CaptchaLocker;
            lock (obj2)
            {
                if (this._platform == "Supreme")
                {
                    if (Global.SupremeTokens.Any <CaptchaToken>(delegate(CaptchaToken x) {
                        DateTime created = x.Created;
                        DateTime?nullable = this._timestamp;
                        return(((nullable.HasValue ? (created > nullable.GetValueOrDefault()) : false) && !string.IsNullOrEmpty(x.Token)) && (x.Expires > DateTime.Now));
                    }))
                    {
                        CaptchaToken item = Global.SupremeTokens.Where <CaptchaToken>(delegate(CaptchaToken x) {
                            DateTime created  = x.Created;
                            DateTime?nullable = this._timestamp;
                            return(((nullable.HasValue ? (created > nullable.GetValueOrDefault()) : false) && !string.IsNullOrEmpty(x.Token)) && (x.Expires > DateTime.Now));
                        }).FirstOrDefault <CaptchaToken>();
                        this.Token = item.Token;
                        Global.SupremeTokens.Remove(item);
                        this._mre.Set();
                        return;
                    }
                }
                else if (this._platform == "Shopify")
                {
                    if (Global.ShopifyTokens.Any <CaptchaToken>(delegate(CaptchaToken x) {
                        DateTime created = x.Created;
                        DateTime?nullable = this._timestamp;
                        return((((nullable.HasValue ? (created >= nullable.GetValueOrDefault()) : false) && !string.IsNullOrEmpty(x.Token)) && (x.Expires > DateTime.Now)) && x.Website.ToLowerInvariant().Contains(this._task.HomeUrl.ToLowerInvariant()));
                    }))
                    {
                        CaptchaToken item = Global.ShopifyTokens.Where <CaptchaToken>(delegate(CaptchaToken x) {
                            DateTime created  = x.Created;
                            DateTime?nullable = this._timestamp;
                            return((((nullable.HasValue ? (created >= nullable.GetValueOrDefault()) : false) && !string.IsNullOrEmpty(x.Token)) && (x.Expires > DateTime.Now)) && x.Website.ToLowerInvariant().Contains(this._task.HomeUrl.ToLowerInvariant()));
                        }).FirstOrDefault <CaptchaToken>();
                        this.Token = item.Token;
                        Global.ShopifyTokens.Remove(item);
                        this._mre.Set();
                        return;
                    }
                }
                else if (this._platform == "Sneakernstuff")
                {
                    if (Global.SnsTokens.Any <CaptchaToken>(x => !string.IsNullOrEmpty(x.Token) && (x.Expires > DateTime.Now)))
                    {
                        CaptchaToken item = (from x in Global.SnsTokens
                                             where !string.IsNullOrEmpty(x.Token) && (x.Expires > DateTime.Now)
                                             select x).FirstOrDefault <CaptchaToken>();
                        this.Token = item.Token;
                        Global.SnsTokens.Remove(item);
                        this._mre.Set();
                        return;
                    }
                }
                else if (this._platform == "MrPorter")
                {
                    if (Global.MrPorterTokens.Any <CaptchaToken>(x => !string.IsNullOrEmpty(x.Token) && (x.Expires > DateTime.Now)))
                    {
                        CaptchaToken item = (from x in Global.MrPorterTokens
                                             where !string.IsNullOrEmpty(x.Token) && (x.Expires > DateTime.Now)
                                             select x).FirstOrDefault <CaptchaToken>();
                        this.Token = item.Token;
                        Global.MrPorterTokens.Remove(item);
                        this._mre.Set();
                        return;
                    }
                }
                else if (this._platform == "Sivas")
                {
                    if (Global.SivasTokens.Any <CaptchaToken>(x => !string.IsNullOrEmpty(x.Token) && (x.Expires > DateTime.Now)))
                    {
                        CaptchaToken item = (from x in Global.SivasTokens
                                             where !string.IsNullOrEmpty(x.Token) && (x.Expires > DateTime.Now)
                                             select x).FirstOrDefault <CaptchaToken>();
                        this.Token = item.Token;
                        Global.SivasTokens.Remove(item);
                        this._mre.Set();
                        return;
                    }
                }
                else
                {
                    if (this._platform != "Hibbett")
                    {
                        if (this._platform != "OW")
                        {
                            if (this._platform != "Footaction")
                            {
                                if (this._platform != "Privacy")
                                {
                                    if ((this._platform != "Holypopstore") || !Global.HolypopTokens.Any <CaptchaToken>(x => (!string.IsNullOrEmpty(x.Token) && (x.Expires > DateTime.Now))))
                                    {
                                        goto Label_05F2;
                                    }
                                    CaptchaToken item = (from x in Global.HolypopTokens
                                                         where !string.IsNullOrEmpty(x.Token) && (x.Expires > DateTime.Now)
                                                         select x).FirstOrDefault <CaptchaToken>();
                                    this.Token = item.Token;
                                    Global.HolypopTokens.Remove(item);
                                    this._mre.Set();
                                }
                                else
                                {
                                    if (!Global.PrivacyTokens.Any <CaptchaToken>(x => (!string.IsNullOrEmpty(x.Token) && (x.Expires > DateTime.Now))))
                                    {
                                        goto Label_05F2;
                                    }
                                    CaptchaToken item = (from x in Global.PrivacyTokens
                                                         where !string.IsNullOrEmpty(x.Token) && (x.Expires > DateTime.Now)
                                                         select x).FirstOrDefault <CaptchaToken>();
                                    this.Token = item.Token;
                                    Global.PrivacyTokens.Remove(item);
                                    this._mre.Set();
                                }
                            }
                            else
                            {
                                if (!Global.FootactionTokens.Any <CaptchaToken>(x => (!string.IsNullOrEmpty(x.Token) && (x.Expires > DateTime.Now))))
                                {
                                    goto Label_05F2;
                                }
                                CaptchaToken item = (from x in Global.FootactionTokens
                                                     where !string.IsNullOrEmpty(x.Token) && (x.Expires > DateTime.Now)
                                                     select x).FirstOrDefault <CaptchaToken>();
                                this.Token = item.Token;
                                Global.FootactionTokens.Remove(item);
                                this._mre.Set();
                            }
                        }
                        else
                        {
                            if (!Global.OWTokens.Any <CaptchaToken>(x => (!string.IsNullOrEmpty(x.Token) && (x.Expires > DateTime.Now))))
                            {
                                goto Label_05F2;
                            }
                            CaptchaToken item = (from x in Global.OWTokens
                                                 where !string.IsNullOrEmpty(x.Token) && (x.Expires > DateTime.Now)
                                                 select x).FirstOrDefault <CaptchaToken>();
                            this.Token = item.Token;
                            Global.OWTokens.Remove(item);
                            this._mre.Set();
                        }
                        return;
                    }
                    if (Global.HibbettTokens.Any <CaptchaToken>(x => !string.IsNullOrEmpty(x.Token) && (x.Expires > DateTime.Now)))
                    {
                        CaptchaToken item = (from x in Global.HibbettTokens
                                             where !string.IsNullOrEmpty(x.Token) && (x.Expires > DateTime.Now)
                                             select x).FirstOrDefault <CaptchaToken>();
                        this.Token = item.Token;
                        Global.HibbettTokens.Remove(item);
                        this._mre.Set();
                        return;
                    }
                }
            }
            goto Label_05F2;
        }
예제 #3
0
        public string Listen(HttpListenerRequest request, string website, string siteKey)
        {
            string[] textArray1;
            try
            {
                using (StreamReader reader = new StreamReader(request.InputStream, request.ContentEncoding))
                {
                    string str = reader.ReadToEnd().Replace("token=", string.Empty);
                    if (!str.Equals(string.Empty))
                    {
                        try
                        {
                            CaptchaToken item = new CaptchaToken {
                                Id          = Guid.NewGuid().ToString(),
                                Created     = DateTime.Now,
                                CaptchaType = CaptchaSolver.CaptchaService.Manual,
                                Website     = this._website
                            };
                            TaskObject.PlatformEnum platform = this.Platform;
                            if (platform == TaskObject.PlatformEnum.shopify)
                            {
                                item.Platform = "Shopify";
                            }
                            else if (platform == TaskObject.PlatformEnum.supreme)
                            {
                                item.Platform = "Supreme";
                            }
                            else if (platform == TaskObject.PlatformEnum.sneakersnstuff)
                            {
                                item.Platform = "Sneakersnstuff";
                            }
                            item.Token     = str;
                            item.Timestamp = DateTime.Now;
                            item.Expires   = item.Timestamp.AddMinutes(2.0);
                            TimeSpan span = (TimeSpan)(item.Timestamp - item.Created);
                            item.SolveTime = (span.Minutes * 60) + span.Seconds;
                            if (!string.IsNullOrEmpty(item.Token))
                            {
                                switch (this.Platform)
                                {
                                case TaskObject.PlatformEnum.shopify:
                                    Global.ShopifyTokens.Add(item);
                                    goto Label_0172;

                                case TaskObject.PlatformEnum.supreme:
                                    Global.SupremeTokens.Add(item);
                                    goto Label_0172;

                                case TaskObject.PlatformEnum.sneakersnstuff:
                                    Global.SnsTokens.Add(item);
                                    break;
                                }
                            }
                        }
                        catch (Exception)
                        {
                        }
                    }
                }
            }
            catch (Exception)
            {
            }
Label_0172:
            textArray1 = new string[] { "<html>\r\n<head>\r\n<style>\r\nform {\r\n  text-align: center;\r\n}\r\nbody {\r\n  text-align: center;\r\n  background-color:#E1E5EB;\r\n  \r\n}\r\n\r\nh1 {\r\n  text-align: center; color: red;\r\n}\r\nh3 {\r\n  text-align: center;\r\n}\r\ndiv-captcha {\r\n      text-align: center;\r\n}\r\n    .g-recaptcha {\r\n        display: inline-block;\r\n    }\r\n</style>\r\n<h2>Harvesting for: ", website, "</h2><br> \r\n\r\n<br>\r\nAfter you retrieved / set a new API-Key in the bot, please RELOAD this page.</h3>\r\n<br><br>\r\n<meta name=\"referrer\" content=\"never\"> <script type='text/javascript' src='https://www.google.com/recaptcha/api.js?onload=recaptchaCallback&render=explicit&hl=en'></script><script>var recaptchaCallback = function() { grecaptcha.render('g-recaptcha', {sitekey: \"", siteKey, "\",size: (window.innerWidth > 320) ? 'normal' : 'compact',callback: 'onCaptchaSuccess',});}; var onCaptchaSuccess = function() {var event;try {event = new Event('captchaSuccess', { bubbles: true, cancelable: true});} catch (e) {event = document.createEvent('Event');event.initEvent('captchaSuccess', true, true);}window.dispatchEvent(event);}</script></head> <body oncontextmenu=\"return false\"><div id=\"div-captcha\"><div id=\"g-recaptcha\"</div></div> <br>\r\n<script>\r\n\r\nwindow.setInterval(function(){\r\n    var token = document.getElementById('g-recaptcha-response').value;\r\n    document.getElementById('g-recaptcha-response').value = '';\r\n    if(token != '')\r\n    {\r\n    var http = new XMLHttpRequest();\r\n    var params = \"token=\" +token;\r\n    http.open(\"POST\", \"/destroyer\", true);\r\n   http.setRequestHeader(\"Last-Modified\", \"", DateTime.Now.AddHours(-2.0).ToString("r"), "\");\r\n http.setRequestHeader(\"Date\", \"", DateTime.Now.AddHours(-2.0).ToString("r"), "\");\r\n   http.setRequestHeader(\"Content-type\", \"application/x-www-form-urlencoded\");\r\n    http.setRequestHeader(\"Content-length\", params.length)\r\n    http.send(params);\r\n    location.reload();\r\n}\r\n}, 500);\r\n</script>\r\n</body></html>" };
            return(string.Concat(textArray1));
        }
예제 #4
0
        public CaptchaWaiter(TaskObject task, DateTime?timestamp, string captchaKey, string link, string platform)
        {
            Class7.RIuqtBYzWxthF();
            this._mre       = task.Mre;
            this._timestamp = timestamp;
            this._platform  = platform;
            this._task      = task;
            if (!task.SpecificCaptcha)
            {
                List <CaptchaSolver.CaptchaService> list = new List <CaptchaSolver.CaptchaService>();
                if (!string.IsNullOrEmpty(Global.SETTINGS.TwoCaptchaApiKey))
                {
                    list.Add(CaptchaSolver.CaptchaService.TwoCaptcha);
                }
                if (!string.IsNullOrEmpty(Global.SETTINGS.AntiCaptchaApiKey))
                {
                    list.Add(CaptchaSolver.CaptchaService.AntiCaptcha);
                }
                if (!string.IsNullOrEmpty(Global.SETTINGS.ImageTypersUsername) && !string.IsNullOrEmpty(Global.SETTINGS.ImageTypersPassword))
                {
                    list.Add(CaptchaSolver.CaptchaService.ImageTypers);
                }
                if (!string.IsNullOrEmpty(Global.SETTINGS.DisolveApiKey) && !string.IsNullOrEmpty(Global.SETTINGS.DisolveIp))
                {
                    list.Add(CaptchaSolver.CaptchaService.Disolve);
                }
                if (list.Count > 0)
                {
                    for (int i = 0; i < task.CaptchaRequests; i++)
                    {
                        int num2 = _rnd.Next(0, list.Count);
                        switch (list[num2])
                        {
                        case CaptchaSolver.CaptchaService.TwoCaptcha:
                            Task.Factory.StartNew(delegate {
                                CaptchaToken item = new CaptchaToken {
                                    Id          = Guid.NewGuid().ToString(),
                                    Created     = DateTime.Now,
                                    CaptchaType = CaptchaSolver.CaptchaService.TwoCaptcha,
                                    Website     = task.HomeUrl,
                                    Platform    = platform
                                };
                                item.Token     = CaptchaSolver.TwoCaptchaSolve(captchaKey, link, "");
                                item.Timestamp = DateTime.Now;
                                item.Expires   = item.Timestamp.AddMinutes(2.0);
                                TimeSpan span  = (TimeSpan)(item.Timestamp - item.Created);
                                item.SolveTime = (span.Minutes * 60) + span.Seconds;
                                if (!string.IsNullOrEmpty(item.Token))
                                {
                                    if (item.Platform == "Shopify")
                                    {
                                        Global.ShopifyTokens.Add(item);
                                    }
                                    else if (item.Platform == "Supreme")
                                    {
                                        Global.SupremeTokens.Add(item);
                                    }
                                    else if (item.Platform == "Sneakernstuff")
                                    {
                                        Global.SnsTokens.Add(item);
                                    }
                                    else if (item.Platform == "Hibbett")
                                    {
                                        Global.HibbettTokens.Add(item);
                                    }
                                    else if (item.Platform == "MrPorter")
                                    {
                                        Global.MrPorterTokens.Add(item);
                                    }
                                    else if (item.Platform == "OW")
                                    {
                                        Global.OWTokens.Add(item);
                                    }
                                    else if (item.Platform == "Footaction")
                                    {
                                        Global.FootactionTokens.Add(item);
                                    }
                                    else if (item.Platform == "Holypopstore")
                                    {
                                        Global.HolypopTokens.Add(item);
                                    }
                                }
                            });
                            break;

                        case CaptchaSolver.CaptchaService.AntiCaptcha:
                            Task.Factory.StartNew(delegate {
                                CaptchaToken item = new CaptchaToken {
                                    Id          = Guid.NewGuid().ToString(),
                                    Created     = DateTime.Now,
                                    CaptchaType = CaptchaSolver.CaptchaService.AntiCaptcha,
                                    Website     = task.HomeUrl,
                                    Platform    = platform
                                };
                                item.Token     = CaptchaSolver.AntiCaptchaSolve(captchaKey, link, "");
                                item.Timestamp = DateTime.Now;
                                item.Expires   = item.Timestamp.AddMinutes(2.0);
                                TimeSpan span  = (TimeSpan)(item.Timestamp - item.Created);
                                item.SolveTime = (span.Minutes * 60) + span.Seconds;
                                if (!string.IsNullOrEmpty(item.Token))
                                {
                                    if (item.Platform == "Shopify")
                                    {
                                        Global.ShopifyTokens.Add(item);
                                    }
                                    else if (item.Platform == "Supreme")
                                    {
                                        Global.SupremeTokens.Add(item);
                                    }
                                    else if (item.Platform == "Sneakernstuff")
                                    {
                                        Global.SnsTokens.Add(item);
                                    }
                                    else if (item.Platform == "Hibbett")
                                    {
                                        Global.HibbettTokens.Add(item);
                                    }
                                    else if (item.Platform == "MrPorter")
                                    {
                                        Global.MrPorterTokens.Add(item);
                                    }
                                    else if (item.Platform == "OW")
                                    {
                                        Global.OWTokens.Add(item);
                                    }
                                    else if (item.Platform == "Footaction")
                                    {
                                        Global.FootactionTokens.Add(item);
                                    }
                                    else if (item.Platform == "Holypopstore")
                                    {
                                        Global.HolypopTokens.Add(item);
                                    }
                                }
                            });
                            break;

                        case CaptchaSolver.CaptchaService.ImageTypers:
                            Task.Factory.StartNew(delegate {
                                CaptchaToken item = new CaptchaToken {
                                    Id          = Guid.NewGuid().ToString(),
                                    Created     = DateTime.Now,
                                    CaptchaType = CaptchaSolver.CaptchaService.ImageTypers,
                                    Website     = task.HomeUrl,
                                    Platform    = platform
                                };
                                item.Token     = CaptchaSolver.ImageTypersSolve(captchaKey, link, "");
                                item.Timestamp = DateTime.Now;
                                item.Expires   = item.Timestamp.AddMinutes(2.0);
                                TimeSpan span  = (TimeSpan)(item.Timestamp - item.Created);
                                item.SolveTime = (span.Minutes * 60) + span.Seconds;
                                if (!string.IsNullOrEmpty(item.Token))
                                {
                                    if (item.Platform == "Shopify")
                                    {
                                        Global.ShopifyTokens.Add(item);
                                    }
                                    else if (item.Platform == "Supreme")
                                    {
                                        Global.SupremeTokens.Add(item);
                                    }
                                    else if (item.Platform == "Sneakernstuff")
                                    {
                                        Global.SnsTokens.Add(item);
                                    }
                                    else if (item.Platform == "Hibbett")
                                    {
                                        Global.HibbettTokens.Add(item);
                                    }
                                    else if (item.Platform == "MrPorter")
                                    {
                                        Global.MrPorterTokens.Add(item);
                                    }
                                    else if (item.Platform == "OW")
                                    {
                                        Global.OWTokens.Add(item);
                                    }
                                    else if (item.Platform == "Footaction")
                                    {
                                        Global.FootactionTokens.Add(item);
                                    }
                                    else if (item.Platform == "Holypopstore")
                                    {
                                        Global.HolypopTokens.Add(item);
                                    }
                                }
                            });
                            break;

                        case CaptchaSolver.CaptchaService.Disolve:
                            Task.Factory.StartNew(delegate {
                                CaptchaToken item = new CaptchaToken {
                                    Id          = Guid.NewGuid().ToString(),
                                    Created     = DateTime.Now,
                                    CaptchaType = CaptchaSolver.CaptchaService.Disolve,
                                    Website     = task.HomeUrl,
                                    Platform    = platform
                                };
                                item.Token     = CaptchaSolver.DisolveSolve(captchaKey, link, "");
                                item.Timestamp = DateTime.Now;
                                item.Expires   = item.Timestamp.AddMinutes(2.0);
                                TimeSpan span  = (TimeSpan)(item.Timestamp - item.Created);
                                item.SolveTime = (span.Minutes * 60) + span.Seconds;
                                if (!string.IsNullOrEmpty(item.Token))
                                {
                                    if (item.Platform == "Shopify")
                                    {
                                        Global.ShopifyTokens.Add(item);
                                    }
                                    else if (item.Platform == "Supreme")
                                    {
                                        Global.SupremeTokens.Add(item);
                                    }
                                    else if (item.Platform == "Sneakernstuff")
                                    {
                                        Global.SnsTokens.Add(item);
                                    }
                                    else if (item.Platform == "Hibbett")
                                    {
                                        Global.HibbettTokens.Add(item);
                                    }
                                    else if (item.Platform == "MrPorter")
                                    {
                                        Global.MrPorterTokens.Add(item);
                                    }
                                    else if (item.Platform == "OW")
                                    {
                                        Global.OWTokens.Add(item);
                                    }
                                    else if (item.Platform == "Footaction")
                                    {
                                        Global.FootactionTokens.Add(item);
                                    }
                                    else if (item.Platform == "Holypopstore")
                                    {
                                        Global.HolypopTokens.Add(item);
                                    }
                                }
                            });
                            break;
                        }
                    }
                }
            }
            else
            {
                for (int i = 0; i < task.TwoCaptchaRequests; i++)
                {
                    Task.Factory.StartNew(delegate {
                        CaptchaToken item = new CaptchaToken {
                            Id          = Guid.NewGuid().ToString(),
                            Created     = DateTime.Now,
                            CaptchaType = CaptchaSolver.CaptchaService.TwoCaptcha,
                            Website     = task.HomeUrl,
                            Platform    = platform
                        };
                        item.Token     = CaptchaSolver.TwoCaptchaSolve(captchaKey, link, "");
                        item.Timestamp = DateTime.Now;
                        item.Expires   = item.Timestamp.AddMinutes(2.0);
                        TimeSpan span  = (TimeSpan)(item.Timestamp - item.Created);
                        item.SolveTime = (span.Minutes * 60) + span.Seconds;
                        if (!string.IsNullOrEmpty(item.Token))
                        {
                            if (item.Platform == "Shopify")
                            {
                                Global.ShopifyTokens.Add(item);
                            }
                            else if (item.Platform == "Supreme")
                            {
                                Global.SupremeTokens.Add(item);
                            }
                            else if (item.Platform == "Sneakernstuff")
                            {
                                Global.SnsTokens.Add(item);
                            }
                            else if (item.Platform == "Hibbett")
                            {
                                Global.HibbettTokens.Add(item);
                            }
                            else if (item.Platform == "MrPorter")
                            {
                                Global.MrPorterTokens.Add(item);
                            }
                            else if (item.Platform == "OW")
                            {
                                Global.OWTokens.Add(item);
                            }
                            else if (item.Platform == "Footaction")
                            {
                                Global.FootactionTokens.Add(item);
                            }
                            else if (item.Platform == "Holypopstore")
                            {
                                Global.HolypopTokens.Add(item);
                            }
                        }
                    });
                }
                for (int j = 0; j < task.DisolveRequests; j++)
                {
                    Task.Factory.StartNew(delegate {
                        CaptchaToken item = new CaptchaToken {
                            Id          = Guid.NewGuid().ToString(),
                            Created     = DateTime.Now,
                            CaptchaType = CaptchaSolver.CaptchaService.Disolve,
                            Website     = task.HomeUrl,
                            Platform    = platform
                        };
                        item.Token     = CaptchaSolver.DisolveSolve(captchaKey, link, "");
                        item.Timestamp = DateTime.Now;
                        item.Expires   = item.Timestamp.AddMinutes(2.0);
                        TimeSpan span  = (TimeSpan)(item.Timestamp - item.Created);
                        item.SolveTime = (span.Minutes * 60) + span.Seconds;
                        if (!string.IsNullOrEmpty(item.Token))
                        {
                            if (item.Platform == "Shopify")
                            {
                                Global.ShopifyTokens.Add(item);
                            }
                            else if (item.Platform == "Supreme")
                            {
                                Global.SupremeTokens.Add(item);
                            }
                            else if (item.Platform == "Sneakernstuff")
                            {
                                Global.SnsTokens.Add(item);
                            }
                            else if (item.Platform == "Hibbett")
                            {
                                Global.HibbettTokens.Add(item);
                            }
                            else if (item.Platform == "MrPorter")
                            {
                                Global.MrPorterTokens.Add(item);
                            }
                            else if (item.Platform == "OW")
                            {
                                Global.OWTokens.Add(item);
                            }
                            else if (item.Platform == "Footaction")
                            {
                                Global.FootactionTokens.Add(item);
                            }
                            else if (item.Platform == "Holypopstore")
                            {
                                Global.HolypopTokens.Add(item);
                            }
                        }
                    });
                }
                for (int k = 0; k < task.AnticaptchaRequests; k++)
                {
                    Task.Factory.StartNew(delegate {
                        CaptchaToken item = new CaptchaToken {
                            Id          = Guid.NewGuid().ToString(),
                            Created     = DateTime.Now,
                            CaptchaType = CaptchaSolver.CaptchaService.AntiCaptcha,
                            Website     = task.HomeUrl,
                            Platform    = platform
                        };
                        item.Token     = CaptchaSolver.AntiCaptchaSolve(captchaKey, link, "");
                        item.Timestamp = DateTime.Now;
                        item.Expires   = item.Timestamp.AddMinutes(2.0);
                        TimeSpan span  = (TimeSpan)(item.Timestamp - item.Created);
                        item.SolveTime = (span.Minutes * 60) + span.Seconds;
                        if (!string.IsNullOrEmpty(item.Token))
                        {
                            if (item.Platform == "Shopify")
                            {
                                Global.ShopifyTokens.Add(item);
                            }
                            else if (item.Platform == "Supreme")
                            {
                                Global.SupremeTokens.Add(item);
                            }
                            else if (item.Platform == "Sneakernstuff")
                            {
                                Global.SnsTokens.Add(item);
                            }
                            else if (item.Platform == "Hibbett")
                            {
                                Global.HibbettTokens.Add(item);
                            }
                            else if (item.Platform == "MrPorter")
                            {
                                Global.MrPorterTokens.Add(item);
                            }
                            else if (item.Platform == "OW")
                            {
                                Global.OWTokens.Add(item);
                            }
                            else if (item.Platform == "Footaction")
                            {
                                Global.FootactionTokens.Add(item);
                            }
                            else if (item.Platform == "Holypopstore")
                            {
                                Global.HolypopTokens.Add(item);
                            }
                        }
                    });
                }
                for (int m = 0; m < task.ImagetypersRequests; m++)
                {
                    Task.Factory.StartNew(delegate {
                        CaptchaToken item = new CaptchaToken {
                            Id          = Guid.NewGuid().ToString(),
                            Created     = DateTime.Now,
                            CaptchaType = CaptchaSolver.CaptchaService.ImageTypers,
                            Website     = task.HomeUrl,
                            Platform    = platform
                        };
                        item.Token     = CaptchaSolver.ImageTypersSolve(captchaKey, link, "");
                        item.Timestamp = DateTime.Now;
                        TimeSpan span  = (TimeSpan)(item.Timestamp - item.Created);
                        item.SolveTime = (span.Minutes * 60) + span.Seconds;
                        item.Expires   = item.Timestamp.AddMinutes(2.0);
                        if (!string.IsNullOrEmpty(item.Token))
                        {
                            if (item.Platform == "Shopify")
                            {
                                Global.ShopifyTokens.Add(item);
                            }
                            else if (item.Platform == "Supreme")
                            {
                                Global.SupremeTokens.Add(item);
                            }
                            else if (item.Platform == "Sneakernstuff")
                            {
                                Global.SnsTokens.Add(item);
                            }
                            else if (item.Platform == "Hibbett")
                            {
                                Global.HibbettTokens.Add(item);
                            }
                            else if (item.Platform == "MrPorter")
                            {
                                Global.MrPorterTokens.Add(item);
                            }
                            else if (item.Platform == "OW")
                            {
                                Global.OWTokens.Add(item);
                            }
                            else if (item.Platform == "Footaction")
                            {
                                Global.FootactionTokens.Add(item);
                            }
                            else if (item.Platform == "Holypopstore")
                            {
                                Global.HolypopTokens.Add(item);
                            }
                        }
                    });
                }
            }
        }