GithubHelp home page GithubHelp logo

youyashuai / mullvad-checker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ba1in/mullvad-checker

0.0 1.0 0.0 11 KB

Python script that allows you to check the status and expiration date of Mullvad VPN accounts.

License: MIT License

Python 100.00%

mullvad-checker's Introduction

console

Mullvad Checker

This Python script allows you to check the status and expiration date of Mullvad VPN accounts by providing a list of account numbers. It makes API requests to the Mullvad API and retrieves the account details for each account number.

Prerequisites

  • Python 3.x
  • requests library
  • colorama library
  • rich library

You can install the required libraries by running the following command:

pip install requests colorama rich

Usage

  1. Clone or download the script file mullvad_checker.py to your local machine.

  2. Open a terminal or command prompt and navigate to the directory containing the script.

  3. Run the script using the following command:

python mullvad_checker.py
  1. The script will prompt you to enter the delay in seconds between each API request. The default value is 10 seconds. You can press Enter to use the default value or enter your desired delay.

  2. The script will load the account numbers from the acc_numbers.txt file and start checking their status and expiration date.

  3. The script will display the status and expiration date of each account number. Active accounts will be marked with a checkmark (βœ“), and expired accounts will be marked with a cross (βœ—).

  4. The script will also write the details of active accounts to the active_acc_numbers.txt file.

  5. Once the script finishes checking all the account numbers, it will display a message indicating completion.

  6. Press Enter to exit the script.

Customization

  • Account numbers: Create a text file named acc_numbers.txt in the same directory as the script. Each line in the file should contain a single account number.

  • Output file: The script will write the details of active accounts to the active_acc_numbers.txt file. If the file doesn't exist, it will be created. You can customize the output file name by modifying the script.

  • Styling: The script uses the colorama and rich libraries to add colors and styles to the console output. You can modify the styling code in the script to suit your preferences.

Acknowledgements

This script was created by @ba1in. chatGPT helped too🀭

mullvad-checker's People

Contributors

ba1in avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.