Project

metabypass

0.0
No release in over a year
Metabypass | Ruby-based easy implementation for solving any type of captcha by Metabypass
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

MetaBypass ( AI Captcha Solver )

Ruby class to work with MetaBypass services

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


Features

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



Install via gem

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


gem install metabypass


Usage


Image Captcha

require 'metabypass'


# ---------------------------- CREDENTIALS -----------------------------
#get your credentials from https://app.metabypass.tech/application

client_id = 'YOUR_CLIENT_ID'
client_secret = 'YOUR_CLIENT_SECRET'
email = 'YOUR_EMAIL'
password = 'YOUR_PASSWORD'


# Metabypass instance
metabypass = Metabypass.new(client_id,client_secret,email,password)

# ----------------------------IMAGE CAPTCHA SAMPLE -----------------------------
#you can pass base64 encoded image file or path of image file
img="samples/icaptcha1.jpg"
#you can pass some optional params too. more details: https://app.metabypass.tech/docs.html?#api_3
numeric=0; #default
min_len=0;  #default
max_len=0;  #default
image_captcha= metabypass.image_captcha(img,numeric,min_len,max_len)
puts metabypass.end_result



reCaptcha v2

require 'metabypass'


# ---------------------------- CREDENTIALS -----------------------------
#get your credentials from https://app.metabypass.tech/application

client_id = 'YOUR_CLIENT_ID'
client_secret = 'YOUR_CLIENT_SECRET'
email = 'YOUR_EMAIL'
password = 'YOUR_PASSWORD'

# Metabypass instance
metabypass = Metabypass.new(client_id,client_secret,email,password)

# --------------------------- reCAPTCHA V2 SAMPLE -----------------------------
url="SITE_URL"
sitekey="SITE_KEY"
recaptcha_v2= metabypass.recaptcha_v2_handler(url,sitekey)
puts metabypass.end_result



reCaptcha v3

require 'metabypass'


# ---------------------------- CREDENTIALS -----------------------------
#get your credentials from https://app.metabypass.tech/application

client_id = 'YOUR_CLIENT_ID'
client_secret = 'YOUR_CLIENT_SECRET'
email = 'YOUR_EMAIL'
password = 'YOUR_PASSWORD'


# Metabypass instance
metabypass = Metabypass.new(client_id,client_secret,email,password)

# --------------------------- reCAPTCHA V3 SAMPLE -----------------------------
url="SITE_URL"
sitekey="SITE_KEY"
recaptcha_v3= metabypass.recaptcha_v3(url,sitekey)
puts metabypass.end_result



reCaptcha invisible

require 'metabypass'


# ---------------------------- CREDENTIALS -----------------------------
#get your credentials from https://app.metabypass.tech/application

client_id = 'YOUR_CLIENT_ID'
client_secret = 'YOUR_CLIENT_SECRET'
email = 'YOUR_EMAIL'
password = 'YOUR_PASSWORD'


# Metabypass instance
metabypass = Metabypass.new(client_id,client_secret,email,password)

# --------------------------- reCAPTCHA INVISIBLE SAMPLE -----------------------------
url="SITE_URL"
sitekey="SITE_KEY"
recaptcha_invisible= metabypass.recaptcha_invisible(url,sitekey)
puts metabypass.end_result