Giter Club home page Giter Club logo

sha1-cracker's Introduction

sha1-cracker

Python SHA1 cracker for GSU's CSC 4980 Blockchain & Applications Course.

Code is written by Kevin Aiken, the repo author.

This repo includes a dictionary, a basic cracking application, and the assignment handout.

How to Run

Assuming you have a Python 2.7 environment configured, run python SHA1_Cracker_Basic.py yourhashhere non-combination unsalted from the terminal for a basic unsalted hash that is not a combination of dictionary terms.

Program arguments following the following format: hash non-combination/combination unsalted/salted salt

Example to brute force a hash that is a combination of two words from the dictionary: python SHA1_Cracker_Basic.py 34302959e138917ce9339c0b30ec50e650ce6b40 combination unsalted

Example for a salted password consisting of one word from the dictionary: python SHA1_Cracker_Basic.py ece4bb07f2580ed8b39aa52b7f7f918e43033ea1 non-combination salted f0744d60dd500c92c0d37c16174cc58d3c4bdd8e

Assignment Solutions with Basic Version

These are the hashes assigned to be cracked and their cleartext.

  • A) Easy hash

    • Hash: b7a875fc1ea228b9061041b7cec4bd3c52ab3ce3
    • Clear text: letmein
    • Time to crack: .000054 seconds
  • B) Medium difficulty hashw

    • Hash: 801cdea58224c921c21fd2b183ff28ffa910ce31
    • Clear text: vjhtrhsvdctcegth
    • Time to crack: 0.655790
  • C) Hash with salt

    • Hash: ece4bb07f2580ed8b39aa52b7f7f918e43033ea1
    • Salt: f0744d60dd500c92c0d37c16174cc58d3c4bdd8e
    • Clear text: harib
    • Time to crack: 0.376532
    • Salt's clear text: slayer
  • D) Combination hash consisting of two dictionary words with a space between

    • Note: Cracked using hashcat on a GPU in 4 minutes, as my calculated estimated time was too long for me to run on my system. However the program does work, as it can solve passwords closer to the top of the list.
    • Hash: 34302959e138917ce9339c0b30ec50e650ce6b40
    • Clear text: Alligator1 YpeKawOqO
    • Estimated time to crack: 8.3 days

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.