Skip to main content

HashDB CLI

For information about hashdb take a look at https://hashdb.openanalysis.net. This is a small python CLI which allows querying for hashes/algorithms from the commandline.

Installation

pip install hashdb-cli

Usage

Usage: hashdb [OPTIONS] COMMAND [ARGS]...

Options:
  --install-completion [bash|zsh|fish|powershell|pwsh]
                                  Install completion for the specified shell.
  --show-completion [bash|zsh|fish|powershell|pwsh]
                                  Show completion for the specified shell, to
                                  copy it or customize the installation.
  --help                          Show this message and exit.

Commands:
  add         Add a new string to hashdb
  algorithms  Load and dump available algorithms.
  get         Get original strings for a given algorithm and a hash.
  hunt        Check if given hashes are available via different hash...
  resolve     Try to hunt for a single hash and grab the string afterwards.
  string      Get information about a string which is already available...

List algorithms

hashdb algorithms (--description)

Get string

Hashdb requires the hash to be an unsigned integer, however, hex strings can be used in combination with -h/--hex parameter.

hashdb get <algo_name> <h1> <h2> <h3> ... <hn> (--hex)

Hunt

Pass multiple hashes to the API in order to find a fitting algorithm.

hashdb hunt <h1> <h2> <h3> ... <hn> (--hex)

Resolve

Combination of hunt and get.

hashdb resolve <h1> ... <hn> (--hex)

String

Get information about a string in the database

hashdb string <string>

Release files for hashdb-cli 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hashdb-cli 0.1.3
File Size Uploaded
hashdb_cli-0.1.3.tar.gz 15.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hashdb-cli 0.1.3
File Interpreter ABI Platform
hashdb_cli-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 19.6 kB

Release files / hashdb_cli-0.1.3.tar.gz

Download URL hashdb_cli-0.1.3.tar.gz
Size 15.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4e8f5ebc689ec518f515e422cdb9c77643e90a86f0ef8dfadf802af22b5d9aea
BLAKE2b-256 checksum
How to use checksums
e2c5cc18bc183c9707ae80dc9f1bb7839d21f360c19b061d333db1aa571d451b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Release files / hashdb_cli-0.1.3-py3-none-any.whl

Download URL hashdb_cli-0.1.3-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fea54792d54fe1ecebaa68e61c0c52154b6fd14f2072317b2ba2b21a409c003f
BLAKE2b-256 checksum
How to use checksums
88806631561633fe94f66866da1bb0f2b610dff7c67ad906370f384b6b93e32b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page