Skip to content

Latest commit

 

History

History
73 lines (51 loc) · 2.27 KB

README.md

File metadata and controls

73 lines (51 loc) · 2.27 KB

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

NOTE: This script only works in Linux.

Requirements

Installation

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

Code format

The Uncompromising Code Formatter Black

$ 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