CAPSOLVER

AWS WAF 验证码求解器

awswaf

AWS WAF是什么?

CapSolver的AI驱动的验证码解决方案专为效率而设计,能够在公共数据抓取过程中无缝处理AWS WAF验证码。凭借先进的AI技术,它确保了不间断的数据收集,并帮助企业实现高效、可靠的自动化。

AWS WAF 最佳解决方案 - CapSolver

CapSolver是绕过AWS WAF的最便宜和最快速的解决方案。

CapSolver使用基于人工智能的验证码解决算法,具有更快的解决速度和大幅降低的成本,为开发者提供出色的体验。

高度可靠

我们在同类供应商中拥有最快的更新速度。

没有风险

您只需支付已解决的验证码费用。严格的合作审查将禁止任何非法活动。

利用人工智能技术驱动

我们使用人工智能进行全自动验证码解决。

兼容性

CapSolver与常见的手动验证码识别服务的API兼容。

多样化解决方案

CapSolver提供API服务和Chrome扩展。

值得信赖

超过1000个平台已经集成了我们的API。

使用CapSolver解决验证码问题的方法如下:

在使用CapSolver服务后,当用户遇到验证码问题时,他们向CapSolver发送请求。收到相应验证码问题的请求后,CapSolver会高效快速地为用户解决验证码问题。

</> AWS WAF 解决方案API:

(在github上有更多第三方库)
解决方案价格
AWS WAF

AntiAwsWafTask

AntiAwsWafTaskProxyLess

$2/1000 requests
AWS WAF Image Recognition

AWSWafClassification

$0.6/1000 requests

如何绕过AWS WAF - API指南

CapSolver自动验证码解决服务可以轻松绕过AWS WAF。CapSolver提供两种验证码解决服务,帮助您解决AWS WAF。

其中之一的服务是使用 CapSolver's API 另一个服务是在Chrome中下载 扩展程序 在Chrome中

CapSolver并获取我们的验证码服务

Step 1 : Creating a Task

To solve AWS WAF, you first need to create a task using the createTask method.

Here's the structure of the task object:

  • type: Required. This should be AntiAwsWafTask or AntiAwsWafTaskProxyLess.
  • websiteURL: Required. The url of the page that returns captcha related information.
  • proxy: Optional. If you're using a proxy, you can include it here.
  • awsKey: Optional. The key value returned by the captcha page
  • awsIv: Optional. The iv value returned by the captcha page
  • awsContext: Optional. The context value returned by the captcha page
  • awsChallengeJS: Optional. The challenge.js link returned by the captcha page
  • awsApiJs: Optional. The jsapi.js link returned by the captcha page
  • awsProblemUrl: Optional. The problem endpoint url containing keywords like problem, num_solutions_required, etc.
  • awsApiKey: Optional. The api_key value of the problem endpoint
  • awsExistingToken: Optional. The aws-waf-token used for the last verification

Here's an example request:

json 复制代码
{
  "clientKey": "YOUR_API_KEY",
  "task": {
    "type": "AntiAwsWafTask", // AntiAwsWafTaskProxyLess
    "websiteURL": "https://efw47fpad9.execute-api.us-east-1.amazonaws.com/latest", // Required
    "awsKey": "AQIDAHjcYu/GjX+QlghicBg......shMIKvZswZemrVVqA==", // Optional
    "awsIv": "CgAAFDIlckAAAAid", // Optional
    "awsContext": "7DhQfG5CmoY90ZdxdHCi8WtJ3z......njNKULdcUUVEtxTk=", // Optional
    "awsChallengeJS": "https://41bcdd4fb3cb.610cd090.us-east-1.token.awswaf.com/41bcdd4fb......a6c832/challenge.js", // Optional
    "awsApiJs": "https://9175c2fd4189.edge.captcha-sdk.awswaf.com/9175c2fd4189/jsapi.js", // Optional
    "awsProblemUrl": "https://ait...awswaf.com/ait/ait/ait/problem?kind=visual&...&problem=gridcaptcha-5-0.1-0&num_solutions_required=2", // Optional
    "awsApiKey": "Sps+L2gV...", // Optional
    "awsExistingToken": "5na16dg6-216a-...", // Optional
    "proxy": "http:ip:port:user:pass" // socks5:ip:port:user:pass
  }
}

Once the task is successfully submitted, you'll receive a Task ID in the response:

json 复制代码
{
  "errorId": 0,
  "errorCode": "",
  "errorDescription": "",
  "taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006"
}

Step 2 : Getting Results

Once you have the Task ID, you can use it to retrieve the solution. Submit the Task ID with the getTaskResult method. The results should be ready within an interval of 1s to 10s.

Here's an example request:

json 复制代码
{
  "clientKey": "YOUR_API_KEY",
  "taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006"
}

The response will include the solution token:

json 复制代码
{
  "errorId": 0,
  "taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006",
  "status": "ready",
  "solution": {
    "cookie": "223d1f60-0e9f-4238-ac0a-e766b15a778e:EQoAf0APpGIKAAAA:AJam3OWpff1VgKIJxH4lGMMHxPVQ0q0R3CNtgcMbR4VvnIBSpgt1Otbax4kuqrgkEp0nFKanO5oPtwt9+Butf7lt0JNe4rZQwZ5IrEnkXvyeZQPaCFshHOISAFLTX7AWHldEXFlZEg7DjIc="
  }
}

使用CapSolver SDK解决AWS WAF

支持的常见验证码类型

轻松使用CapSolver绕过验证码

我们确保将我们的产品无缝集成到您的网络爬虫基础设施中。多语言支持和现成的代码示例,确保您的网络爬虫项目能够快速轻松地启动。

开发者文档

# pip install --upgrade capsolver
# export CAPSOLVER_API_KEY='...'

import capsolver

# capsolver.api_key = "..."
solution = capsolver.solve({
    "type": "AntiAwsWafTask",
    "websiteURL": "https://efw47fpad9.execute-api.us-east-1.amazonaws.com/latest",
    "proxy": "ip:port:user:pass"
})
package main

import (
    "fmt"
    capsolver_go "github.com/capsolver/capsolver-go"
    "log"
)

func main() {
    // first you need to install sdk
    //go get github.com/capsolver/capsolver-go

    capSolver := capsolver_go.CapSolver{ApiKey: "..."}
    solution, err := capSolver.Solve(map[string]any{
        "type": "AntiAwsWafTask",
        "websiteURL": "https://efw47fpad9.execute-api.us-east-1.amazonaws.com/latest",
        "proxy":"ip:port:user:pass",
    })
    if err != nil {
        log.Fatal(err)
        return
    }
    fmt.Println(solution)
}

如何绕过AWS WAF - 拓展程序

Captcha Solving Extension supported in Chrome and Firefox browsers
我们的浏览器扩展允许您自动解决图像识别或光学字符识别(OCR)问题。

免费试用

识别其他15种验证码类型