https://github.com/tashima42/hash-id
Hash Identifier tool written in Rust, based on hash-identifier from Zion3R
https://github.com/tashima42/hash-id
hacking hacktoberfest hash hash-id rust
Last synced: 3 months ago
JSON representation
Hash Identifier tool written in Rust, based on hash-identifier from Zion3R
- Host: GitHub
- URL: https://github.com/tashima42/hash-id
- Owner: tashima42
- License: gpl-3.0
- Created: 2021-07-06T20:20:01.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-12-10T00:43:41.000Z (over 1 year ago)
- Last Synced: 2025-12-26T18:35:35.567Z (6 months ago)
- Topics: hacking, hacktoberfest, hash, hash-id, rust
- Language: Rust
- Homepage: https://snapcraft.io/hash-id
- Size: 66.4 KB
- Stars: 11
- Watchers: 1
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Hash Identifier
[](https://forthebadge.com) [](https://forthebadge.com)
[](https://snapcraft.io/hash-id)
____
**hash-id** is a command line program for identifying **hash types** based on [Zion3R's implementation](https://github.com/blackploit/hash-identifier).
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.
* [Usage](#usage)
* [Install](#install)
* [Contributing](https://github.com/Tashima42/hash-id/blob/main/CONTRIBUTING.md)
[](https://asciinema.org/a/435162)
## Usage
```sh
hash-id [OPTIONS]
```
**Examples:**
* Using a CLI argument
```sh
hash-id -h fc7feb971470bd3d08d241f88db1ea38
```
* Using a text file
```sh
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](https://github.com/Tashima42/hash-id/blob/main/CONTRIBUTING.md) section.
* Snap
```sh
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](https://github.com/Tashima42/hash-id/releases)
```sh
sudo dpkg -i $DIR/hash-id_0.1.0_amd64.deb
```
* Arch
* Use the [AUR](https://aur.archlinux.org/packages/hash-id/) package
```sh
yay -S hash-id # Using AUR and [yay](https://github.com/Jguer/yay)
```
* Or the [`PKGBUILD`](https://github.com/Tashima42/hash-id/blob/main/arch/PKGBUILD)
```sh
makepkg -i # In the same folder as the PKGBUILD file
```
Always before starting to work on something, check the [issues](https://github.com/Tashima42/hash-id-rust/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.