Skip to content

Hash Identifier tool written in Rust, based on hash-identifier from Zion3R

License

Notifications You must be signed in to change notification settings

tashima42/hash-id

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hash Identifier

forthebadge forthebadge

Get it from the Snap Store


hash-id is a command line program for identifying hash types based on Zion3R's implementation.
This software is meant for enumeration, this is not a hash cracking tool, and it isn't definitive, the only way to be sure of the algorithm is after the hash has been reversed.

asciicast

Usage

hash-id [OPTIONS]

Examples:

  • Using a CLI argument
    hash-id -h fc7feb971470bd3d08d241f88db1ea38
  • Using a text file
    hash-id -f ./hashes.txt
  • Output:
    $ hash-id -f ./hashes.txt -h fc7feb971470bd3d08d241f88db1ea38
    > Hash: b89eaac7e61417341b710b727768294d0e6a277b
    >   [+] SHA-1
    >   [+] MySQL5 - SHA-1(SHA-1($pass))
    >   [+] Tiger-160
    >   [+] Haval-160
    >   [+] RipeMD-160
    >  #(...)
    > ------------------------------------------
    > Hash: 2303b15bfa48c74a74758135a0df1201
    >    [+] MD5
    >    [+] Domain Cached Credentials - MD4(MD4(($pass)).(strtolower($username)))
    >    [+] RAdmin v2.x
    >    [+] NTLM
    >    [+] MD4 
    >  #(...)
    > ------------------------------------------
    >  #(...)
    

Options:

short long type description
-f --file FILE File containing hashes (each one in a line)
-h --hash STRING Hash value to be identified

Flags:

short long description
--help Prints help information
-V --version Prints version information

Info:

  • Algorithms are displayed in order of probability, so you should start testing by the first.
  • A hash argument and a file can be used at the same time.

Install

Currently, are supported: a snap package, a deb package and an Arch package. If you want to maintain a distro specific package, please check the contributing section.

  • Snap
    sudo snap install hash-id
    !!!!: Because of snap confinement policy, this package can only access files on your /home folder. If you really need it to access files on other folders, install another package, or consider building it from source (cargo build --release).
  • Debian
    • Download the latest .deb package from the releases page
      sudo dpkg -i $DIR/hash-id_0.1.0_amd64.deb
  • Arch
    • Use the AUR package
      yay -S hash-id # Using AUR and [yay](https://github.com/Jguer/yay)
    • Or the PKGBUILD
      makepkg -i # In the same folder as the PKGBUILD file

Always before starting to work on something, check the issues to see if anyone else is working on the same thing, if anyone is working and you want to start, please create an issue and let me know. Code changing PRs without an issue will not be accepted.