GithubHelp home page GithubHelp logo

196138105 / py-funcaptcha Goto Github PK

View Code? Open in Web Editor NEW

This project forked from keepitlowkey/py-funcaptcha

0.0 0.0 0.0 13 KB

Python module for interacting with ArkoseLabs' FunCaptcha

JavaScript 32.24% Python 67.76%

py-funcaptcha's Introduction

py-funcaptcha

Python module for interacting with ArkoseLabs' FunCaptcha

Things to note

  • <ch>.full_token is the token you submit to the website once you solved the challenge
  • ArkoseLabs may enable the verification of IP addresses on your target website at any given time, thus requiring you to submit the token from the same IP address you solved it from

Setup

sudo apt install nodejs
pip3 install -r requirements.txt
# on windows machines you'll also have to install the module pycryptodome

Usage

from py_funcaptcha import FunCaptchaSession
from random import randint

## Create session for Roblox's login endpoint
s = FunCaptchaSession(
    public_key="9F35E182-C93C-EBCC-A31D-CF8ED317B996",
    service_url="https://roblox-api.arkoselabs.com",
    page_url="https://www.roblox.com/login",
    proxy="https://127.0.0.1:8888",
    download_images=True)
## Obtain challenge
ch = s.new_challenge()

## Print challenge details
print("Full Token ::", ch.full_token)
print("Number of Images ::", len(ch.image_urls))

## Iterate over challenge images
## image is PIL.Image object
for image, submit in ch.get_iter():
    ## Generate random guess
    guess = ch.angle * randint(1, 360/ch.angle)
    ## Submit guess
    solved = submit(guess)

## Print final result
print("Solved ::", solved)

py-funcaptcha's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.