Code Monkey home page Code Monkey logo

passwordmanager's Introduction

Banner

ShaneWD

My main programming language is Python. I am currently working on perfecting Django.

Skills

  • ๐Ÿ’ป Python
  • SQL
  • Git & GitHub
  • Django
  • HTML & CSS

Project Showcase: Password Manager with Python, Django, HTML, and CSS:

  • A master account is used to encrypt and decrypt secondary account passwords
  • Master password is scured with PBKDF2 algorithm with a SHA256 hash
  • Secondary accounts passwords are encrypted (and decrypted) twice
  • Raw plain-text passwords are never stored
  • User has the options to change master password and to delete master account
  • Link to project (open source), click the green & black icon:

My Socials

github twitter YouTube

passwordmanager's People

Contributors

shanewd avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

passwordmanager's Issues

Encryption Problem (AES) with MySQL

After encrypting a message with pycryptodome as AES, it stores that key in a file. However, the contents of that file have not yet been successfully stored in MySQL database in its 100% original form. This makes decrypting the text nearly impossible.

  • One possibility is storing the whole file in the database, not just the text that is inside.

MAJOR SECURITY BUG: Possibly Vulnerable to SQL Injections

Not fully vulnerable; If the credentials do not match, it only returns the print statement "Failure". However, if it says something like print("Wrong password for ", myresult) for line 167 in main.py, then we have a big problem; it will return the account id, username, and hashed password, along with the salt.

How to replicate this (if the else statement returns something other than "Failure"):

  • run main.py
  • Replicate:
    image
    image + hashed password & salt (both not included for security purposes)

Again, this is not a real threat, however, random apostrophes crash the program.

Video on how to prevent SQL injection here: https://youtu.be/pd-0G0MigUA?t=898

Credit to: Corey Schafer

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.