-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Description
Description
This feature request proposes adding a new configuration option to the data.json
file to support bypassing WAF by disabling SSL certificate verification in specific targets. By setting verifyCert
to False
, the requests
library will send requests with verify=False
, ignoring SSL certificate verification. This can enable testing against real IPs or AWS endpoints, effectively bypassing services like Cloudflare WAF. I would like to make a Pull Request to implement this feature if the approach is acceptable.
Implementation Details
- Configuration:
- A new setting
verifyCert
has been added to thedata.json
file. - When set to
False
, requests will includeverify=False
to ignore SSL certificate verification.
- Functionality:
- This feature allows requests to target real IPs or AWS endpoints without SSL verification.
- It is especially useful for testing scenarios where SSL verification is unnecessary or problematic.
Example
Using this method, I successfully resolved false positive/negative issues #2374 when working with the 8tracks.com.
When testing with the latest release, 8tracks
always returns positive results. However, running with the latest code from the GitHub repository returns negative results due to WAF detection in the response. This appears to be caused by updated WAF fingerprints in the latest code.
Through research, I discovered that 8tracks has an AWS endpoint (https://ec2-107-20-194-173.compute-1.amazonaws.com) that can be queried directly to bypass the WAF restrictions and obtain correct results.
I believe this feature and approach could also help resolve WAF issues with other sites facing similar problems.
Request
I have implemented this feature in my fork of the repository. If you find this feature valuable, please consider allowing me to submit a Pull Request for review and integration into the main project.
Thank you for your consideration.
Code of Conduct
- I agree to follow this project's Code of Conduct