A simple utility for password spray against OpenVPN access server.
- Python 3.x
-
Clone the repository:
git clone https://github.com/nm10pt/OpenVPNSpray.git
-
Navigate to the directory:
cd OpenVPNSpray
-
Create and activate a virtual environment:
On macOS/Linux:
python3 -m venv venv source venv/bin/activate
On Windows:
python -m venv venv .\venv\Scripts\activate
-
Install the required Python libraries using
requirements.txt
:pip install -r requirements.txt
Run the script with the following command:
python openvpn_spray.py -t <host> [--target-port <port>] -u <users_file> -p <password> [-o <output_file>]
-t
,--target
(required): The target host (IP or hostname).--target-port
(optional): The target port.-u
,--users-file
(required): A file containing a list of usernames (one username per line).-p
,--password
(required): The password to attempt for each user.-o
,--outfile
(optional): Path to an output file where the results will be stored.
This project is licensed under the MIT License. See the LICENSE
file for details.