Giter Club home page Giter Club logo

linux-sha-512-password-decoder's Introduction

This project is aim at decode SHA-512 password in linux /etc/shadow file.

The project should be run in this way:

First install passlib and progress library:

pip3 install progress

pip3 install passlib

Then create a file contain the ciphertext you wish to decode, the ciphertext should in this format:

root: $6$9w5Td6lg$bgpsy3olsq9WwWvS5Sst2W3ZiJpuCGDY.4w4MRk3ob/i85fl38RH15wzVoomff9isV1 PzdcXmixzhnMVhMxbvO:15775:0:99999:7:::

Please note: the password is hashed with SHA-512 iff the first number after the first "$" sign is 6. If not, the password is hashed with another hash function, such as $1 is hashed by MD5 and this project cannot decode them. If I have time I will write them in the future.

Then run the run.py in this way:

python3 run.py ciphertextfile [mode]

In my project you can choose three mode to decode:

mode 1 is checking 100k password,

mode 2 is 1m,

mode 3 is 10m.

the default mode is 2.

sample:

python3 run.py test.txt 1

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.