Code Monkey home page Code Monkey logo

rainbowcrackpy's Introduction

Rainbow

Rainbow is a Python script designed to crack numerical password hashes using a pre-computed hash table approach. It is specifically tailored to process CSV files containing usernames and their corresponding SHA-256 hash values, attempting to reverse-engineer the hash back into a four-digit numerical password.

Features

  • Efficient hash cracking for numerical passwords: specifically targets passwords in the range of 1000 to 9999.
  • CSV input/output: reads user-hash pairs from an input CSV file and writes cracked passwords to an output CSV file.
  • Logging: detailed logging to track the process flow and identify potential issues.

Requirements

  • Python 3.x
  • No external Python libraries are required beyond the standard library.

Usage

  1. Prepare an input CSV file with the following format:

    username,hash
    john,5e884898da28047151d0e56f8dc6292773603f8186d01823
    jane,ee26b0dd4af7e749aa1a8ee3c10aef57247cf9733dd0ad90
    
  2. Run the script using Python, providing the input and output file names:

    python rainbow.py input.csv output.csv
    
  3. After execution, the output CSV file will contain the cracked passwords:

    john,1234
    jane,5678
    

How It Works

The script pre-computes SHA-256 hashes for all numbers in the range 1000 to 9999 and stores them in a dictionary. When reading the input file, it compares each hash against this dictionary. If a match is found, the script deduces that the original password was the number that corresponds to the hash.

Limitations

  • The script only works with numerical passwords in the specified range.
  • It is not designed for cracking more complex or longer passwords outside of the pre-defined scope.

Contributing

Contributions to Rainbow are welcome. Please ensure to follow best coding practices and include tests where applicable.

License

Rainbow is open-sourced software licensed under the MIT license.

rainbowcrackpy's People

Contributors

alihadimoghadam avatar

Stargazers

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