D
D
dimaweyder2019-08-26 19:37:42
reCAPTCHA
dimaweyder, 2019-08-26 19:37:42

How to pass captcha with antirecaptcha?

It is necessary to bypass the bestchange.ru recaptcha scab
exchangers from bestchange.ru, after several requests it bans the site and asks to enter the captcha.
I registered in anticaptcha, made a request for a solution, it is solved and I get the text for the captcha.
The last one is like this:

"03AOLTBLQhQQ_rCxN0rSj72iGQ-b8Ov7SIjiSTZ2Kj9AwWRb8Cful234Hj-sqzry6yfRjO6lsNKm-lL8MaQ6Rxxddlord7X-1HDWmN8Ch7_xjJBkeTLPUNEFXuIw45jd-G66rUSeWvPZoZxRGp4QkDLazaJyG68ZAT7JWzo5mtaCGW3k2ywN6MmT4BiAMKl9pa4AJRElimxx_fC9dPmNvUVBCSfOAxwX3Q9bzz6D7YiNkpGt3xDzOKsx163Sumy4HOm8nQgbFuN7CgqeoMpcy0eBHnT4cSbl857lKjCxD75N0o8uOjLipnsG8W3Zx_EUbWpg8MczDK2mX1V09gZeMxgM8NXzlOlL7-iw"

How can I submit this result?
My code from the antirecaptcha documentation:
include("anticaptcha.php");
  include("nocaptcha.php");
   
  $api = new NoCaptcha();
  $api->setVerboseMode(true);
           
  //your anti-captcha.com account key
  $api->setKey("8a5f8aadc36b09cdb22f022503bbad9c");
   
  //recaptcha key from target website
  $api->setWebsiteURL("http://www.bestchange.ru");
  $api->setWebsiteKey("6Lfj9LQUAAAAAIWwzXT5QAaXC4-D3f5xrIoxHPhD");
   
  //proxy access parameters
  $api->setProxyType("http");
  $api->setProxyAddress("188.130.134.10");
  $api->setProxyPort(46546);
  $api->setProxyLogin("log");
  $api->setProxyPassword("pass");
   
  //browser header parameters
  $api->setUserAgent("Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116");
   
  if (!$api->createTask()) {
      $api->debout("API v2 send failed - ".$api->getErrorMessage(), "red");
      return false;
  }
   
  $taskId = $api->getTaskId();
   
   
  if (!$api->waitForResult()) {
      $api->debout("could not solve captcha", "red");
      $api->debout($api->getErrorMessage());
  } else {
      echo "\nhash result: ".$api->getTaskSolution()."\n\n";
  }

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question