This Python script is designed for automating the extraction of username and password from the VPNBook site.
This repo uses the tesseract ocr recognition engine to extract the credentials from the VPNBook site.
-
Clone the repository to your local machine.
-
Install the tesseract ocr on the machine
Download the latest version of tesseract from the official website and install it. Add the tesseract executable to the system path or set the path in the script. Windows Download and install the latest exe file
Install tesseract using your package manager.
sudo apt-get install tesseract
-
Make sure you have installed the necessary dependencies listed in
requirements.txt
.pip install -r requirements.txt
-
Update the script with any necessary configurations.
-
Run the script to extract the VPNBook credentials for automation.
-
The username and password is stored into openvpn_credentials.txt
Ensure you have the following dependencies installed:
- pytesseract
- Pillow
- requests
- numpy
- beautifulsoup4
Feel free to modify and use this script for your automation needs.