/password-conversion

Small program that bruteforces MD5 hashes of passwords, getting their plaintext, and hashes them back to SHA256. Cybersecurity project.

Primary LanguagePython

Password Conversion

Demo

Description

This project is about creating a program that converts passwords hashed in MD5 to plaintext, and then hashes them back to SHA256. To do this, it uses a wordlist to brute-force the MD5 hashes.

This is used to migrate the password format of an application from MD5 to SHA256, increasing security without requiring all users to re-enter the password.

Demo

Prerequisites

  • rockyou.txt wordlist (download)
  • passwords.txt md5 hashes list, passwords_example.txt is provided

Usage

  1. Run python ./password_conversion.py
  2. Wait until plain.txt is created
  3. Wait until new_passwords.txt is created
  4. Be patient pls, it may take some minutes :)

Lessons

  • MD5 hashes
  • SHA256 hashes
  • Brute force

Resources