Feature: Opt-in 2Captcha integration for Amazon WAF Captcha Challenges#72
Open
blytheaw wants to merge 7 commits intoalexdlaird:mainfrom
Open
Feature: Opt-in 2Captcha integration for Amazon WAF Captcha Challenges#72blytheaw wants to merge 7 commits intoalexdlaird:mainfrom
blytheaw wants to merge 7 commits intoalexdlaird:mainfrom
Conversation
4 tasks
|
This PR is stale because it has remained open with no further activity on it. If is is still being actively worked by you, label it as "wip", otherwise it will be closed automatically. Thank you for your contribution! |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
PR adds opt-in support for using 2captcha.com to solve Amazon WAF interactive/javascript challenges. Users only need to configure two new optional settings, the name of the service (2captcha) and their api key.
The solution is meant to be expandable to more services, such as Anti-Captcha. I tried implementing Anti-Captcha support as well but ran into issues despite the API being nearly identical. I abandoned that to propose this solution and get feedback.
Fixes #45
Type of Change
Testing Done
I have tested with my own account credentials and have been able to successfully retrieve orders/transactions after bypassing an Amazon WAF captcha challenge. Previously I could never get past this, even with the suggestions in this library's troubleshooting steps.
Checklist
make testpasses with no new errors or warningsmake checkto ensure no new errors or warningsmake docsto ensure no new errors or warnings