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
Release history Release notifications | RSS feed
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.1.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file hashdb-cli-0.1.1.tar.gz
.
File metadata
- Download URL: hashdb-cli-0.1.1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99d53afecf72022cfbe7c7c67964d926193e29c988e8b3b60fcdedc1f773ee7a |
|
MD5 | e81d067d42795f1061dcdf3dc4f4355b |
|
BLAKE2b-256 | 0a47bc3de38e4c0058b5e576b17a1cbdd50a827a7ce0896adc20ce21dc3dd9fd |
File details
Details for the file hashdb_cli-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: hashdb_cli-0.1.1-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4794a8ec4dbe3536891c3514e75073bac102a6034e2b719ba1e91f7c6fec5b08 |
|
MD5 | f77c00a690dc3fa1bf0507263266b688 |
|
BLAKE2b-256 | 75daebaa57bc908b93b80a8afb6b0e8bb8b340236ebeea2fd3974107abd31c0e |