Skip to main content

A hash cracker package

Project description

cracklib

this is library for crack Hash

imports used:

  • hashlib

How to use?

import cracklib

# call the class
app = cracklib.Cracker(testWord)

if app.crackHash(testHash):
  print("Done : {}".format(testWord))
else:
  print("it's not {}".format(testWord))
# end app

How to use for Tools?

import cracklib

testWord = input("Enter Word Guess: ")
testHash = input("Enter Hash Guess: ")

app = cracklib.Cracker(testWord)

if app.crackHash(testWord):
  print("Done : {} -> {}".format(testWord, testHash))
else:
  print("Error : {}".format(testWord))

How to use list?

import cracklib

hashes = [
    "5f4dcc3b5aa765d61d8327deb882cf99", # MD5 password
    "58acb7acccce58ffa8b953b12b5a7702bd42dae441c1ad85057fa70b", # SHA224 admin
    "c90023380fc1d5721a5e20d230077a13cd3c0f9c2f407fa7bde17abecac0301dd95baf3fe5784e833a185218763ac549", # SHA3_384 glitch
]

for Hash in hashes:
  app = cracklib.Cracker("glitch")
  if app.crackHash(Hash):
    print("Done : ", Hash)
  else:
    print("Error : ", Hash)

THX

  • Thx spooky sec for help

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cracklib-pkg-0.0.1.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

cracklib_pkg-0.0.1-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page