

最佳 AWS WAF 解决方案
AWS WAF 解决方案
什么是 AWS WAF
AWS WAF 是一种 Web 应用防火墙,通过基于规则的检测、Web ACL 和托管规则组来过滤和检查 HTTP(S) 请求,以阻断 SQL 注入和 XSS 等攻击。
了解更多 AWS WAF 解决方案信息Let's confirm you are human
Choose all the bags
Success
You have been verified
如何解决 AWS WAF - API 指南
CapSolver 自动验证码识别服务可以轻松解决 AWS WAF 挑战,我们的服务可以通过 CapSolver 的 API 和 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 beAntiAwsWafTaskorAntiAwsWafTaskProxyLess.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. Thekeyvalue returned by the captcha pageawsIv: Optional. Theivvalue returned by the captcha pageawsContext: Optional. Thecontextvalue returned by the captcha pageawsChallengeJS: Optional. Thechallenge.jslink returned by the captcha pageawsApiJs: Optional. Thejsapi.jslink returned by the captcha pageawsProblemUrl: Optional. Theproblemendpoint url containing keywords likeproblem,num_solutions_required, etc.awsApiKey: Optional. Theapi_keyvalue of theproblemendpointawsExistingToken: Optional. Theaws-waf-tokenused 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 解决验证码
我们确保将我们的产品集成到您的基础设施中尽可能轻松。凭借多语言支持和开箱即用的代码示例,保证您的 Web 项目能够快速轻松地启动。



确保合规监管适用于所有用户

在我们的核心价值观中,我们倡导合乎道德地使用技术以增进人类福祉,并坚决反对任何非法行为和对我们解决方案的不当使用。我们支持负责任地聚合公开可访问的数据以丰富人类生活,同时强烈谴责在未经适当授权的情况下非法收集敏感数据。如果您发现任何利用我们平台进行不当行为的个人,我们强烈建议您举报此类不端行为。为了增强信任并赋予用户更多的自主权与知识,我们推出了专门的隐私中心,旨在为个人提供更完善的工具和关于其数据权利的深入见解。

