Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/behnambm/nordvpn-checker

A simple script to check NordVpn login
https://github.com/behnambm/nordvpn-checker

Last synced: about 1 month ago
JSON representation

A simple script to check NordVpn login

Awesome Lists containing this project

README

        

# nordvpn-checker

A simple Python script to check if NordVPN accounts listed in a file are valid.

### NOTE: This script is no longer functional!

Since April 2022, Nordvpn is using `nordvpn login --token "tokencode"` , this scripts uses the user-name = deprecated..
_See_
* https://support.nordvpn.com/Connectivity/Linux/2010688322/How-to-log-in-to-NordVPN-on-Linux-devices-without-a-GUI.htm

### NOTE: This script only works in Linux.

# Requirements

- The NordVPN CLI tool. [Get it from here](https://nordvpn.com/download/linux/).
- [Python 3.7](https://www.python.org/downloads/).
- An input file containing NordVPN login entries in `email:password` format.

# Installation

- Clone the repo with `git clone https://github.com/behnambm/nordvpn-checker`

# Code format
The Uncompromising Code Formatter [Black](https://github.com/psf/black5)

```
$ black -t py38 nord-checker.py
```

# Usage

- The syntax is
> `nord-checker.py [--file | -f] path/to/file [--output | -o] path/to/file [--connect | -c] [--delete | -d]`

- Arguments
```
-f FILE, --file FILE The file that contains your email:password entries
-o FILE, --output FILE
The file to output the successful email:password entries to
-c, --connect login & connect
-d, --delete remove faulty password lines in input-file
```
For example, `cd` into the recently cloned directory and run:

```
$ python nord-checker.py --file accounts.txt --output success.txt
```

If you just want to connect you can use:
(The first successful connection will exit this script)

```
$ python nord-checker.py --file succes.txt --output /dev/null -c
```

- Unique successful entries are appended to the specified output file.
- Wrong password entries can be removed from the input_file with the `-d` argument

# Best Practice
Have your router connected to NordVPN. After 50 attempts you will get blocked (The scripts halts after 50)
Then change your NVPN server and you are good to go again.

# Ideas
* When making a connection, use the best available server (lowest load)
* order the output-list alphabetical
* have the expire date in the output list 'email:password | date'
* don't add inactive accounts to the output

### Contact

- volunteer [Telegram Xilinxx](https://t.me/xilinxx)