项目作者: zamans78

项目描述 :
Reversing an MD5 hash (password cracking)
高级语言: PHP
项目地址: git://github.com/zamans78/learningPhp.git
创建时间: 2020-11-22T05:15:47Z
项目社区:https://github.com/zamans78/learningPhp

开源协议:MIT License

下载


The Reverse Hash Application

This application uses a very simple brute force attack to
“reverse” an MD5 hash. It is really not reversing the hash
at all as that would be impossible. Instead it knows that
the original pre hash text was a lower case character string with
exactly two characters.

So the application uses two nested loops and tests all
26*26 combinations of two lower case letters, and computes the
hashes of those values and checks to see if the computed hash
matches.

This is a lesson in how easy it is to crack short passwords
with a limited alphabet. While this works well to crack
very short passwords it is not practical as password
length grows.

A more sophisticated attack ti reverse hashes which uses a
lot of storage to pre-compute lots of hashes and look them up
quickly is called “Rainbow Tables”. This tiny application
is not using a Rainbow Table approach.

Website View:

image

Makecode:
image