
C# İle Captcha Geçme Hk.
3
●246
- 01-03-2023, 18:57:49resmi base64 ile alıp
http://2captcha.com/in.php
buraya api key - base64 ile gönderirseniz geri request olarak dönüyor. 1000 tanesi 26 cent - 01-03-2023, 19:32:50MisafirOctavia adlı üyeden alıntı: mesajı görüntüle
string twitter_token = "2CB16598-CB82-4CF7-B332-5990DB66F3AB"; _2Captcha captcha = new _2Captcha(this.txtCaptchaKey.Text); _2Captcha.Result result = await captcha.SolveFunCaptcha(twitter_token, "https://twitter.com/i/flow/signup", false, (string)null, "https://client-api.arkoselabs.com", (Dictionary<string, string>)null); _2Captcha.Result funCaptcha = result; result = new _2Captcha.Result();
gelen kodu import etme metodum ;
((IJavaScriptExecutor)driver).ExecuteScript("arguments[0].setAttribute('value', '" + funCaptcha.Response + "');", (object)captcha_element); Thread.Sleep(1000); driver.SwitchTo().DefaultContent(); ((IJavaScriptExecutor)driver).ExecuteScript("window.postMessage(JSON.stringify({eventId: \"challenge-complete\",payload: {sessionToken: \"" + funCaptcha.Response + "\"}}), \"*\")");
aynı şekilde captchanın olduğu yeri buşekilde ayarlamanız gerekmekte