GithubHelp home page GithubHelp logo

itsmoe15 / securepassbot Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 389 KB

Discord bot that checks if a password has been compromised in a data breach

License: GNU General Public License v3.0

Python 100.00%
discord discord-bot discord-py

securepassbot's Introduction

SecurePassBot By @itsmoe15 !

This is a Discord bot that checks if a password has been compromised in a data breach.

The bot uses the Have I Been Pwned? API to check if a password has been leaked, and it provides tips on creating strong and secure passwords.

Features

  • Generates a random 12-character password when prompted.

  • Checks if a password has been compromised in a data breach.

  • Provides tips on creating strong and secure passwords.

Requirements

  • Python 3.6 or higher
  • discord library (can be installed using pip install discord)
  • requests library (can be installed using pip install requests)

Installation

  1. Clone the repository to your local machine.
git clone https://github.com/itsmoe15/SecurePassBot.git
  1. Install the required libraries.
pip install -r requirements.txt
  1. Edit the token variable in the .env.example file to use your own Discord bot token. and rename it to .env
DISCORD_TOKEN=your-bot-token-goes-here
  1. Give the bot the permission to run
sudo chmod +x main.py
  1. Run the script.
python main.py

Usage

The bot responds to DMs from users with a password to check. To check a password, send a DM to the bot with the password as the message content. The bot will check if the password has been compromisedin a data breach and respond with an appropriate message.

To generate a random password, send the message "generate" to the bot in any channel that the bot has access to. The bot will respond with a random 12-character password.

Disclaimer

This bot is provided as-is and without warranty. The bot's creator is not responsible for any damages or losses arising from the use of this bot. Use this bot at your own risk.

Contributing

Contributions are welcome! If you find a bug or have a suggestion for a new feature, please open an issue on the GitHub repository or submit a pull request.

Credits

This bot was created by Moe. The bot uses the Have I Been Pwned? API as its database to check if a password has been leaked.

License

This project is licensed under the GNU GENERAL PUBLIC LICENSE.

securepassbot's People

Contributors

itsmoe15 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.