Untitled

 avatar
user_9934166
plain_text
2 months ago
1.1 kB
2
Indexable
Never
row.Status = "Giải Captcha...";
int demfreecapt = 0;
RequestHTTP requestfreecaptcha = new RequestHTTP();
string getData = requestfreecaptcha.PostJson("https://api.nopecha.com/token/", "{\"key\": \"sub_1OPgq1CRwBwvt6ptW5FX94uX\", \"type\": \"recaptcha2\", \"sitekey\": \"6Lc9qjcUAAAAADTnJq5kJMjN9aD1lxpRLMnCS2TR\", \"url\": \"https://www.fbsbx.com/captcha/recaptcha/iframe/?referer=https%253A%252F%252Fwww.facebook.com&locale=vi_VN&__cci=FQAREhISAA%3D%3D.ARbgTtFw-K8J1R4kmMd4SP_pprREXHXVawWV6JsLVhdUkhRz\"}").Result;
string data = Regex.Match(getData, "\"data\":\"(.*?)\"").Groups[1].Value;
if (string.IsNullOrEmpty(data))
{
    row.Status = "Giải Captcha thất bại!!!";
    row.Process = "Xong - Lỗi Unlock";
    return;
}
string getResfreecaptcha = requestfreecaptcha.Get($"https://api.nopecha.com/token?key=sub_1OPgq1CRwBwvt6ptW5FX94uX&id={data}").Result;
while (getResfreecaptcha.Contains("error")&& demfreecapt<3)
{
    demfreecapt++;
    Task.Delay(3000).Wait();
    getResfreecaptcha = requestfreecaptcha.Get($"https://api.nopecha.com/token?key=sub_1OPgq1CRwBwvt6ptW5FX94uX&id={data}").Result;
}
Leave a Comment