Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

metabypass

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metabypass

  • 1.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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



FAQs

Package last updated on 21 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc