hashid

package module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2019 License: GPL-3.0 Imports: 2 Imported by: 1

README

hashid GoDoc

Given a string determine the possible hashing algorithms used to produce that string.

hashid is implemented as a Go library so that it can be easily incorporated into other projects.

A CLI wrapper for this library is also available in the releases tab.

Command line usage:

Given a string determine the possible hashing algorithms used to produce that string. 
hashid can also give the corresponding hashcat mode and/or JohnTheRipper format in its output.

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

Usage: hashid [options]... [hash]

Options:
  -e, --extended         list all hash algorithms including salted passwords
  -j, --john             show corresponding JohnTheRipper format in output
  -m, --mode             show corresponding hashcat mode in output
  -o, --outfile string   write output to file (default: STDOUT)
  -v, --version          show program's version number and exit

Sample:

$ ./hashid 8743b52063cd84097a65d1633f5c74f5
MD2
MD5
MD4
Double MD5
LM
RIPEMD-128
Haval-128
Tiger-128
Skein-256(128)
Skein-512(128)
Lotus Notes/Domino 5
Skype
Snefru-128
NTLM
Domain Cached Credentials
Domain Cached Credentials 2
DNSSEC(NSEC3)
RAdmin v2.x
Credits:

This is a Go implementation of https://github.com/psypanda/hashID

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProtoTypes added in v0.1.1

type ProtoTypes []struct {
	Regex string `json:"regex"`
	Modes []struct {
		John     string `json:"john"`
		Hashcat  *int   `json:"hashcat,omitempty"`
		Extended bool   `json:"extended"`
		Name     string `json:"name"`
	} `json:"modes"`
}

ProtoTypes describes the hash and format codes for HashCat and JohnTheRipper

func GetHashType

func GetHashType(hash string) (hashTypes ProtoTypes, err error)

GetHashType returns the possible hash types, as well as their HashCat and JohnTheRipper formats.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL