[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Metabypass | PHP-based easy implementation for solving any type of captcha by Metabypass

License

Notifications You must be signed in to change notification settings

metabypass/captcha-solver-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MetaBypass ( AI Captcha Solver )

PHP class to work with MetaBypass services

Free demo (no credit card required) -> https://app.metabypass.tech/application


Features

Solve image captcha , reCAPTCHA v2 & v3 & invisible reCAPTCHA
Auto handler for reCaptcha v2
Simple syntax
Error logger



Install via composer

Go to your project root directory and run this command in terminal:


composer require metabypass/php


Usage


Image Captcha

<?php

use Metabypass\Metabypass;

require 'vendor/autoload.php';


//---------------------- CONFIGURATION ---------------------------

//get your credentials from https://app.metabypass.tech/application
$clientId='YOUR_CLIENT_ID';
$clientSecret='YOUR_CLIENT_SECRET';
$email='YOUR_EMAIL';
$password='YOUR_PASSWORD';

//metabypass instance
$metabypass=new Metabypass($clientId,$clientSecret,$email,$password);


//-------------------- IMAGE CAPTCHA SOLVER ---------------------------

// you can pass base64 encoded image file or path of image file
//$image='base64_encoded_image';
$image='./samples/icaptcha2.png';
//you can pass some optional params too. more details: https://app.metabypass.tech/docs.html?#api_3
$numeric=0; //default
$minLen=0;  //default
$maxLen=0;  //default

$server_response=$metabypass->imageCaptcha($image,$numeric,$minLen,$maxLen); //complete response in an object
var_dump($metabypass->imageCaptcha_result); //end result



reCAPTCHA v2

<?php

use Metabypass\Metabypass;

require 'vendor/autoload.php';

//---------------------- CONFIGURATION ---------------------------

//get your credentials from https://app.metabypass.tech/application
$clientId='YOUR_CLIENT_ID';
$clientSecret='YOUR_CLIENT_SECRET';
$email='YOUR_EMAIL';
$password='YOUR_PASSWORD';

//metabypass instance
$metabypass=new Metabypass($clientId,$clientSecret,$email,$password);

//-------------------- reCAPTCHA v2 ---------------------------
$url='SITE_URL';
$siteKey='SITE_KEY';
$server_response=$metabypass->reCaptchaV2Handler($url,$siteKey); //complete response in an object
var_dump($metabypass->reCaptchaV2_result); //end result



reCAPTCHA v3

<?php

use Metabypass\Metabypass;

require 'vendor/autoload.php';

//---------------------- CONFIGURATION ---------------------------

//get your credentials from https://app.metabypass.tech/application
$clientId='YOUR_CLIENT_ID';
$clientSecret='YOUR_CLIENT_SECRET';
$email='YOUR_EMAIL';
$password='YOUR_PASSWORD';

//metabypass instance
$metabypass=new Metabypass($clientId,$clientSecret,$email,$password);


//-------------------- reCAPTCHA v3 ---------------------------
$url='SITE_URL';
$siteKey='SITE_KEY';
$response=$metabypass->reCaptchaV3($url,$siteKey); //complete response in an object
var_dump($metabypass->reCaptchaV3_result); //end result



reCAPTCHA invisible

<?php

use Metabypass\Metabypass;

require 'vendor/autoload.php';

//---------------------- CONFIGURATION ---------------------------

//get your credentials from https://app.metabypass.tech/application
$clientId='YOUR_CLIENT_ID';
$clientSecret='YOUR_CLIENT_SECRET';
$email='YOUR_EMAIL';
$password='YOUR_PASSWORD';

//metabypass instance
$metabypass=new Metabypass($clientId,$clientSecret,$email,$password);


//-------------------- reCAPTCHA Invisible ---------------------------
$url='SITE_URL';
$siteKey='SITE_KEY';
$response=$metabypass->reCaptchaInvisible($url,$siteKey); //complete response in an object
var_dump($metabypass->reCaptchaInvisible_result); //end result