This Python script is designed to demonstrate the automation of captcha image fetching, text detection using Google Cloud's Vision API, and submitting login forms for accessibility testing purposes. It showcases how to interact with web forms, handle sessions, and utilize OCR technologies to improve web accessibility.
This tool is for educational and ethical testing purposes only. Always seek permission before testing websites you do not own. Unauthorized use of this script against websites without explicit permission is illegal and unethical.
- Fetch captcha images from WordPress websites.
- Solve captcha using Google Cloud Vision API.
- Automate login attempts for testing website accessibility.
- Python 3.x
- Google Cloud account and Vision API enabled
requests
librarygoogle-cloud-vision
library
- Clone the repository:
git clone https://github.com/3zizme/bypass-capthca-wordpress.git
- Install required Python libraries:
pip install -r requirements.txt
Before using the script, you must configure it with your Google Cloud Vision API credentials. Follow the Google Cloud Vision documentation to set up your credentials and environment variable.
- Update the
usernames.txt
andpasswords.txt
files with the usernames and passwords you wish to test. - Run the script:
python captcha_solver.py
- Follow the prompts to enter the target URL.
Contributions to improve the script or extend its functionalities are welcome. Please ensure any contributions are ethical and legal.
- Google Cloud Vision API for providing OCR capabilities.