Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 527c687

Browse filesBrowse files
added turnstile captcha ; added custom domain for reCAPTCHA and hCaptcha
1 parent 5fda282 commit 527c687
Copy full SHA for 527c687

File tree

1 file changed

+51
-43
lines changed
Filter options

1 file changed

+51
-43
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+51-43Lines changed: 51 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -32,26 +32,7 @@ git clone https://github.com/imagetyperz-api/imagetyperz-api-csharp
3232
> [View on github >](https://github.com/imagetyperz-api/imagetyperz-api-csharp
3333
)
3434

35-
### Python 2.x
36-
This is how you can get the library for python version 2. We have it for python3 as well, below.
37-
38-
**pip** is a popular package manager for python, which usually comes installed with the OS python installation, in case of linux.
39-
40-
If you're on windows and not linux or mac, first, **make sure you have python2 installed**, and grab download pip installation file from [here](https://bootstrap.pypa.io/get-pip.py)
41-
42-
All you have to do is open the file and pip will get installed.
43-
44-
Once that's done, you can find pip inside the ***Scripts*** folder, of the python installation.
45-
46-
> Clone from github
47-
```
48-
git clone https://github.com/imagetyperz-api/imagetyperz-api-python2
49-
```
50-
51-
> [View on github >](https://github.com/imagetyperz-api/imagetyperz-api-python2
52-
)
53-
54-
### Python 3.x
35+
### Python
5536

5637
Same thing applies to python3. In case you don't have pip already, get it, because that's the easiest to get going, and will help you with next libraries you'll require in the future as well.
5738

@@ -83,7 +64,7 @@ git clone https://github.com/imagetyperz-api/imagetyperz-api-nodejs
8364
> [View on github >](https://github.com/imagetyperz-api/imagetyperz-api-nodejs
8465
)
8566

86-
### Javascript
67+
### JavaScript
8768

8869
Similar to the nodejs library, this library works in a very similar fashion, only difference is that this one is intended to work in browser while the other one on server, with nodejs.
8970

@@ -156,18 +137,6 @@ git clone https://github.com/imagetyperz-api/imagetyperz-api-ruby
156137
> [View on github >]( https://github.com/imagetyperz-api/imagetyperz-api-ruby
157138
)
158139

159-
### Perl
160-
161-
We have a library for the ***good-ol'-perl*** as well
162-
163-
> Clone from github
164-
```
165-
git clone https://github.com/imagetyperz-api/imagetyperz-api-perl
166-
```
167-
168-
> [View on github >]( https://github.com/imagetyperz-api/imagetyperz-api-perl
169-
)
170-
171140
### UBot
172141

173142
Although not a real programming language,
@@ -207,7 +176,7 @@ This reCaptcha somewhat different because it doesn't ask the user anything (for
207176

208177
We're providing solving solutions for this reCaptcha as well, although we are also just like Google into beta testing, as Google goes along too.
209178

210-
### reCAPTCHA Enterprise (v2 & v3) [NEW]
179+
### reCAPTCHA Enterprise (v2 & v3)
211180

212181
Enterprise captcha was released back in 2020.
213182
This is targeting bigger companies with lots of traffic. At least for now, in order to use enterprise as a webmaster, Google requires you to apply for it, and puts you through an approval process, before you can create a captcha in their Dev console.
@@ -471,22 +440,23 @@ There are few optional parameters as well.
471440
>```/POST /captchaapi/UploadRecaptchaToken.ashx```
472441
473442
> **Parameters**
474-
>
443+
>
475444
> - token = ***your_access_token***
476-
>- pageurl = ***page url of website, eg. ```abc.com```***
445+
> - pageurl = ***page url of website, eg. ```abc.com```***
477446
> - googlekey = ***sitekey of recaptcha, has to be scraped from site***
478-
>- action = UPLOADCAPTCHA
447+
> - action = UPLOADCAPTCHA
479448
> - recaptchatype = can be one of this 3 values: `1` - normal, `2` - invisible, `3` - v3 (it's optional, defaults to `1`)
480-
>- captchaaction = action parameter used in solving v3 recaptcha `- optional`
449+
> - captchaaction = action parameter used in solving v3 recaptcha `- optional`
450+
> - domain = used in loading reCAPTCHA interface, default: www.google.com (alternative: recaptcha.net) `- optional`
481451
> - score = score targeted, check being done against a test recaptcha `- optional`
482-
>- affiliateid = ***affiliateID*** ```- optional```
452+
> - affiliateid = ***affiliateID*** ```- optional```
483453
> - proxy = ***if given, captcha will be solved using proxy, eg. ```12.34.56.78:1234``` also works with private proxies (auth) like this: ```12.34.56.78:1234:username:password```*** ```- optional```
484-
>- proxytype = ```HTTP```, in case proxy parameter is set. Currently, only HTTP proxies are supported. ```- optional```
454+
> - proxytype = ```HTTP```, in case proxy parameter is set. Currently, only HTTP proxies are supported. ```- optional```
485455
> - useragent = User-Agent used in solving recaptcha `- optional`
486-
>- data-s = required with some recaptchas. A one-time token generated with each captcha loaded `- optional`
456+
> - data-s = required with some recaptchas. A one-time token generated with each captcha loaded `- optional`
487457
> - cookie_input = cookies used in solving reCAPTCHA `- optional`
488458
>
489-
Username & password authentication
459+
> Username & password authentication
490460
491461
>```/POST /captchaapi/UploadRecaptchaV1.ashx```
492462
@@ -499,6 +469,7 @@ Username & password authentication
499469
> - action = UPLOADCAPTCHA
500470
> - recaptchatype = can be one of this 3 values: `1` - normal, `2` - invisible, `3` - v3 (it's optional, defaults to `1`)
501471
> - captchaaction = action parameter used in solving v3 recaptcha `- optional`
472+
> - domain = used in loading reCAPTCHA interface, default: www.google.com (alternative: recaptcha.net) `- optional`
502473
> - score = score targeted, check being done against a test recaptcha `- optional`
503474
> - affiliateid = ***affiliateID*** ```- optional```
504475
> - proxy = ***if given, captcha will be solved using proxy, eg. ```12.34.56.78:1234``` also works with private proxies (auth) like this: ```12.34.56.78:1234:username:password```*** ```- optional```
@@ -525,6 +496,7 @@ Submission is very similar to non-enterprise reCAPTCHA types.
525496
> - action = UPLOADCAPTCHA
526497
> - enterprise_type = v2 or v3 `- optional, defaults to v2`
527498
> - captchaaction = action parameter used in solving of v3 type `- optional`
499+
> - domain = used in loading reCAPTCHA interface, default: www.google.com (alternative: recaptcha.net) `- optional`
528500
> - score = score targeted, check being done against a test recaptcha `- optional`
529501
> - affiliateid = ***affiliateID*** ```- optional```
530502
> - proxy = ***if given, captcha will be solved using proxy, eg. ```12.34.56.78:1234``` also works with private proxies (auth) like this: ```12.34.56.78:1234:username:password```*** ```- optional```
@@ -809,6 +781,7 @@ Use the 3 codes to bypass the geetest captcha.
809781
> - sitekey = **sitekey used in solving captcha (gathered from URL source code / DOM)**
810782
> - action = **UPLOADCAPTCHA**
811783
> - affiliateid = ***affiliateID*** ```- optional```
784+
> - apiEndpoint = domain used in loading of hcaptcha interface, default: `hcaptcha.com` - `optional`
812785
> - useragent = ***user agent goes here*** ```- optional```
813786
> - invisible = **1, if hcaptcha is invisible** ```- optional```
814787
> - HcaptchaEnterprise = **extra payload used in loading hcaptcha, e.g rqdata, JSON stringified format** `- optional`
@@ -894,6 +867,41 @@ Use the 3 codes to bypass the geetest captcha.
894867
- ```ERROR: INVALID_CAPTCHA_DATA``` - Keys expired or other reason for not being able to load funcaptcha captcha on worker end
895868
- ```ERROR: LIMIT_EXCEED``` - Server is overloaded
896869

870+
## Turnstile (Cloudflare)
871+
872+
> Access token authentication (or user & password)
873+
874+
>```POST /captchaapi/Uploadturnstile.ashx```
875+
876+
> **Parameters**
877+
>
878+
> - token = ***your access token***
879+
> - username = ***your username*** (token is preferred)
880+
> - password = **your password** (token is preferred)
881+
> - pageurl = **the URL where you got the captcha**
882+
> - sitekey = **sitekey used in solving captcha (gathered from URL source code / DOM)**
883+
> - action = **UPLOADCAPTCHA**
884+
> - affiliateid = ***affiliateID*** ```- optional```
885+
> - domain = domain used in loading turnstile interface, default: `challenges.cloudflare.com` - `optional`
886+
> - taction = used in loading turnstile interface, similar to reCAPTCHA `- optional`
887+
> - data = extra parameter used in loading turnstile interface `- optional`
888+
> - useragent = user agent used in solving the captcha ```- optional```
889+
> - proxy = ***eg. 123.45.67.89:1234 or 12.34.56.78:123:username:password*** ```- optional```
890+
>
891+
>
892+
893+
**Response**
894+
895+
`captchaID` is returned back, use it with response JSON endpoint to retrieve solution.
896+
897+
**Errors**
898+
899+
- ```ERROR: AUTHENTICATION_FAILED``` - Provided username and password and/or access key are invalid.
900+
901+
- ```ERROR: INVALID_CAPTCHA_DATA``` - Keys expired or other reason for not being able to load capy captcha on worker end
902+
903+
- ```ERROR: LIMIT_EXCEED``` - Server is overloaded
904+
897905
## Task (Bypass any captchatype)
898906

899907
> Access token authentication (or user & password)
@@ -955,7 +963,7 @@ You can use the pushVariables method as many times as you need, even overwriting
955963

956964
- ```ERROR: AUTHENTICATION_FAILED``` - Provided username and password and/or access key are invalid.
957965

958-
## (NEW) Response JSON endpoint
966+
## Response JSON endpoint
959967

960968
This is the recommended way of getting the response for any captcha type in JSON format, once ID of captcha was received from submission.
961969

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.