Skip to main content

Access the open analysis hashdb via cli

Project description

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 (--hex) <algo_name> <hash>

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>

String

Get information about a string in the database

hashdb string <string>

Project details


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.2.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file hashdb-cli-0.1.2.tar.gz.

File metadata

  • Download URL: hashdb-cli-0.1.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.9.14 Darwin/21.6.0

File hashes

Hashes for hashdb-cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8d0363ab6b4491f2ca3c9166b73d9c4d91c3fe3d70f53d245f489431390f86f5
MD5 d5d7700001349ce56ec4b9012671c5ee
BLAKE2b-256 ba3f96ecf9f5d94337e8915090a8d03c86c62268d5b7c89c817030dbdcc2694f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hashdb_cli-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.9.14 Darwin/21.6.0

File hashes

Hashes for hashdb_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9bd573867c715a423bcbc6b08f270f3f2a88d3a4d91be096ead3b80fea83b81f
MD5 4ab39b780ae7847cf87de370b9ed488d
BLAKE2b-256 7fa4eb4a99805e096ac832f765b1fd3edd96fe3fcf0db0b96eccd3fb7129e696

See more details on using hashes here.

Supported by

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