• Stars
    star
    143
  • Rank 257,007 (Top 6 %)
  • Language
    Go
  • Created over 3 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Go library for solving hCaptchas with any image recognition API.

go-hcaptcha

A Go library for solving hCaptchas with any image recognition API.

1v1 me, bro!

Basic Usage

In order to solve, you need the site URL (not the domain!), and the site key, which can be found in the HTML of the website with the hCaptcha challenge.

Below is a basic example of how to use the solver with the two using a simple guessing solver.

c, err := NewChallenge(siteUrl, siteKey)
if err != nil {
    panic(err)
}
err = c.Solve(&GuessSolver{})
if err != nil {
    panic(err)
}
fmt.Println(c.Token()) // P0_eyJ0eXAiOiJKV1QiLC...

Custom Solvers

Custom solvers can be implemented with ease. All solvers need to implement the Solver interface. You can link this with any image recognition API you want.

You can see an example of this with the GuessSolver implementation in solver.go.

Credits

2.0.1

A few changes to support the modern API, and general code cleanup along with a switch to mathgl for Bรฉzier curve creation.

2.0.0

The motion data capturing required with hCaptcha would not be possible without the work of @h0nde and his py-hcaptcha solver in Python.

1.0.2:

There were quite a lot of changes with the hCaptcha API, so the solver was updated to reflect these changes, with the generous help of @aw1875 and his puppeteer-hcaptcha solver in JavaScript.

1.0.0

This project was inspired by the work of @JimmyLaurent and his hcaptcha-solver also in JavaScript. I'd like to thank him for his work, and for being a motivation to create this library.

More Repositories

1

bedrock-emotes

A collection of all Minecraft: Bedrock Edition emote UUIDs currently in the game.
93
star
2

HiveCorruptor

The best solution to solidify your position in the MCPE server space.
PHP
39
star
3

worldcompute

live-computation, parsing, and saves of minecraft: bedrock servers
Go
30
star
4

pizzaplug

Buy Domino's pizza from MCPE!
PHP
27
star
5

pixelart

A pixel art generation tool for Minecraft/Dragonfly.
Go
11
star
6

hcaptcha-solver-api

An hCaptcha solver API based on my package.
Go
10
star
7

worldrenderer

render minecraft: bedrock worlds using dragonfly
Go
8
star
8

AntiLoginForger

A quite hacky work around to prevent login replay attacks on PM3 servers.
PHP
6
star
9

nbs

A note block song parser for legacy Note Block Studio and Open Note Block Studio.
Go
5
star
10

mumblelink

A library to allow you to easily integrate the Mumble link API using Go.
Go
4
star
11

expresso

A library designed for hosting Minecraft: Java Edition listeners.
Go
3
star
12

chunker

A library that allows you to send requests to the Chunker site.
Go
3
star
13

playfab

A basic Go wrapper for PlayFab, specifically for Minecraft: Bedrock Edition.
Go
2
star
14

libvote

A vote botting wrapper for GoLang designed for Minecraft: Pocket Servers.
Go
2
star
15

aoc2022

My solutions for Advent of Code 2022.
Go
1
star
16

voxelraytrace

A Go implementation of a voxel ray trace algorithm
Go
1
star
17

mcanvil

The Minecraft Java Edition Anvil format, and methods to convert to other formats.
Go
1
star
18

schem

An implementation of the post-1.13 schematic format (v2) for dragonfly.
Go
1
star
19

omegle

An Omegle wrapper for Go, built from the ground up and designed to be concurrency safe.
Go
1
star
20

pmf

A implementation for the legacy PocketMine 1.3 chunk format mainly for conversion to the latest Bedrock format.
Go
1
star