Skip to main content

Software to identify the different types of hashes

Project description

Identify the different types of hashes used to encrypt data and especially passwords.

This tool replaces hash-identifier, which is outdated!

hashID is a tool written in Python 3 which supports the identification of over 220 unique hash types using regular expressions. A detailed list of supported hashes can be found here.

It is able to identify a single hash, parse a file or read multiple files in a directory and identify the hashes within them. hashID is also capable of including the corresponding hashcat mode and/or JohnTheRipper format in its output.

hashID works out of the box with Python 2 ≥ 2.7.x or Python 3 ≥ 3.3 on any platform.

Note: When identifying a hash on *nix operating systems use single quotes to prevent interpolation

Installation

You can install, upgrade, uninstall hashID with these commands:

$ pip install hashid
$ pip install --upgrade hashid
$ pip uninstall hashid

Or you can install by cloning the repository:

$ sudo apt-get install python3 git
$ git clone https://github.com/psypanda/hashid.git
$ cd hashid
$ sudo install -g 0 -o 0 -m 0644 doc/man/hashid.7 /usr/share/man/man7/
$ sudo gzip /usr/share/man/man7/hashid.7

Alternatively you can grab the latest release here.

Usage

$ ./hashid.py [-h] [-e] [-m] [-j] [-o FILE] [--version] INPUT

Parameter

Description

INPUT

input to analyze (default: STDIN)

-e, –extended

list all hash algorithms including salted passwords

-m, –mode

show corresponding hashcat mode in output

-j, –john

show corresponding JohnTheRipper format in output

-o FILE, –outfile FILE

write output to file (default: STDOUT)

–help

show help message and exit

–version

show program’s version number and exit

Screenshot

$ ./hashid.py '$P$8ohUJ.1sdFw09/bMaAQPTGDNi2BIUt1'
Analyzing '$P$8ohUJ.1sdFw09/bMaAQPTGDNi2BIUt1'
[+] Wordpress ≥ v2.6.2
[+] Joomla ≥ v2.5.18
[+] PHPass' Portable Hash

$ ./hashid.py -mj '$racf$*AAAAAAAA*3c44ee7f409c9a9b'
Analyzing '$racf$*AAAAAAAA*3c44ee7f409c9a9b'
[+] RACF [Hashcat Mode: 8500][JtR Format: racf]

$ ./hashid.py hashes.txt
--File 'hashes.txt'--
Analyzing '*85ADE5DDF71E348162894C71D73324C043838751'
[+] MySQL5.x
[+] MySQL4.1
Analyzing '$2a$08$VPzNKPAY60FsAbnq.c.h5.XTCZtC1z.j3hnlDFGImN9FcpfR1QnLq'
[+] Blowfish(OpenBSD)
[+] Woltlab Burning Board 4.x
[+] bcrypt
--End of file 'hashes.txt'--

Resources

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

hashID-3.1.4.zip (30.9 kB view details)

Uploaded Source

Built Distribution

hashID-3.1.4-py2.py3-none-any.whl (13.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file hashID-3.1.4.zip.

File metadata

  • Download URL: hashID-3.1.4.zip
  • Upload date:
  • Size: 30.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hashID-3.1.4.zip
Algorithm Hash digest
SHA256 af8f7f4c48e95139fd6298f17cb96d46a449312efc402f4d1566a1482df563c7
MD5 7a2cce64bef0417bf8f8005f72ab5d02
BLAKE2b-256 09ced26df4843e6d62ce016a126e8faae1905b6f2b5629a59982dd3af23761aa

See more details on using hashes here.

File details

Details for the file hashID-3.1.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for hashID-3.1.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 56c52041c7599d2469276da7041340526bd0f02eb1502e60b021cee37f04da6a
MD5 641880c4e3be1ad3d0805a817982d047
BLAKE2b-256 67160363abdd7de6d610643cdf73a75f6f22e62bfe19f69890c2a1b16dcfe279

See more details on using hashes here.

Supported by

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