-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added new captcha methods * added user-agent --------- Co-authored-by: Victor <[email protected]>
- Loading branch information
Showing
2 changed files
with
111 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,9 @@ The easiest way to quickly integrate [2Captcha] into your code to automate solvi | |
- [CloudflareTurnstile](#cloudflare-turnstile) | ||
- [Lemin Cropped Captcha](#lemin-cropped-captcha) | ||
- [GeeTestV4](#geetestv4) | ||
- [CyberSiARA](#cyber-siara) | ||
- [DataDome](#data-dome) | ||
- [MTCaptcha](#mtcaptcha) | ||
- [Other methods](#other-methods) | ||
- [send / getResult](#send--getresult) | ||
- [balance](#balance) | ||
|
@@ -356,6 +359,38 @@ cap := api2captcha.CloudflareTurnstile{ | |
} | ||
``` | ||
|
||
### CyberSiARA | ||
Use this method to solve CyberSiARA and obtain a token to bypass the protection. | ||
```go | ||
cap := api2captcha.CyberSiARA{ | ||
MasterUrlId: "12333-3123123", | ||
Url: "https://test.com", | ||
UserAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36", | ||
} | ||
``` | ||
|
||
### DataDome | ||
Use this method to solve DataDome and obtain a token to bypass the protection. | ||
To solve the DataDome captcha, you must use a proxy. | ||
```go | ||
cap := api2captcha.DataDome{ | ||
Url: "https://test.com", | ||
CaptchaUrl: "https://test.com/captcha/", | ||
Proxytype: "http", | ||
Proxy: "proxyuser:[email protected]:3128", | ||
UserAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36", | ||
} | ||
``` | ||
|
||
### MTCaptcha | ||
Use this method to solve MTCaptcha and obtain a token to bypass the protection. | ||
```go | ||
cap := api2captcha.MTCaptcha{ | ||
Url: "https://service.mtcaptcha.com/mtcv1/demo/index.html", | ||
SiteKey: "MTPublic-DemoKey9M", | ||
} | ||
``` | ||
|
||
### Amazon WAF | ||
Use this method to solve Amazon WAF Captcha also known as AWS WAF Captcha is a part of Intelligent threat mitigation for Amazon AWS. Returns JSON with the token. | ||
|
||
|
@@ -367,7 +402,6 @@ cap := api2captcha.AmazonWAF { | |
Context: "9BUgmlm48F92WUoqv97a49ZuEJJ50TCk9MVr3C7WMtQ0X6flVbufM4n8mjFLmbLVAPgaQ1Jydeaja94iAS49ljb", | ||
ChallengeScript: "https://41bcdd4fb3cb.610cd090.us-east-1.token.awswaf.com/41bcdd4fb3cb/0d21de737ccb/cd77baa6c832/challenge.js" | ||
CaptchaScript: "https://41bcdd4fb3cb.610cd090.us-east-1.captcha.awswaf.com/41bcdd4fb3cb/0d21de737ccb/cd77baa6c832/captcha.js" | ||
|
||
} | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters