Metadata-Version: 2.1
Name: sha-assist
Version: 0.1.1
Summary: Easy SHA1, SHA256, SHA384, SHA512 and MD5 HTTPS domain fingerprinting
Home-page: https://github.com/AndrewGlago/sha-assist
License: MIT
Author: AndrewGlago
Author-email: andrewglago1@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: click (>=8.0.1,<9.0.0)
Project-URL: Repository, https://github.com/AndrewGlago/sha-assist
Description-Content-Type: text/markdown

# SHA Assistant

## Easy SHA1, SHA256, SHA384, SHA512, MD5 HTTPS domain fingerprinting\*\*.

Quick zero dependency fingerprinting with one command. sha_assist produces algorithmic digests of certificate public keys.

Out of box, sha_assist exposes 5 key digests i.e. (SHA1, SHA256, SHA384, SHA512 and MD5) but can be easily extended using `hashlib.algorithms_available`.

See [Extensibility](#Extensibility)

Credit to [dlenski](https://gist.github.com/dlenski) for [ssl.SSLSocket patching](https://gist.github.com/dlenski/fc42156c00a615f4aa18a6d19d67e208)

## Installation

## Usage and Options

`python3 sha_assist -d google.com -p 443`

Usage: sha_assist.py [OPTIONS]

| Options                   | Description                                                        |
| ------------------------- | ------------------------------------------------------------------ |
| -d or --domain [required] | [Text] Domain URL to be fingerprinted (eg. https://www.github.com) |
| -p, --port [optional]     | [Integer] Port to establish connection on. Defaults to 443         |

**NOTE: URL must be prefixed with https://**

## Extensibility

sha-assist produces algorithmic digests using hash-lib. By extension, all methods exposed by `hashlib.algorithms_available` can be used to produce required digests.
Output is by default hex but can be adapted to binary by replacing ~.digestHex().

