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>

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hashdb_cli-0.1.3.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hashdb_cli-0.1.3-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file hashdb_cli-0.1.3.tar.gz.

File metadata

  • Download URL: hashdb_cli-0.1.3.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.5

File hashes

Hashes for hashdb_cli-0.1.3.tar.gz
Algorithm Hash digest
SHA256 4e8f5ebc689ec518f515e422cdb9c77643e90a86f0ef8dfadf802af22b5d9aea
MD5 b4b3129e43e06c2924e2edc0a60829af
BLAKE2b-256 e2c5cc18bc183c9707ae80dc9f1bb7839d21f360c19b061d333db1aa571d451b

See more details on using hashes here.

File details

Details for the file hashdb_cli-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for hashdb_cli-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fea54792d54fe1ecebaa68e61c0c52154b6fd14f2072317b2ba2b21a409c003f
MD5 a435bc620b514f4e9a8f4b4f2e8be83a
BLAKE2b-256 88806631561633fe94f66866da1bb0f2b610dff7c67ad906370f384b6b93e32b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

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