TypeRefHasher logo

TypeRefHasher G DATA CyberDefense AG

winget install --id=GDATA.TypeRefHasher -e

CLI tool to compute the TypeRefHash for .NET binaries.

README

TypeRef Hasher

license Build Test

CLI tool to compute the TypeRefHash (TRH) for .NET binaries.

Installation

There are multiple options to obtain the TypeRefHasher.

Windows

Install the tool with winget. The tool gets added to your PATH environment variable.

winget install GDATA.TypeRefHasher

Another option is to just download the binary or installer from the GitHub Releases tab

  1. trh.msi -> Windows x64 Installer (Allows uninstall and adds the tool to your PATH)
  2. trh.exe -> Windows x64 (Standalone binary)

Linux

Download the binary or installer from the GitHub Releases tab.

  1. trh -> Linux x64 (Standalone binary)

Usage

The usage is as straight forward as possible.

Windows:

> trh.exe file

Linux:

> trh file

In both cases the output is the TRH (example: 1defec485ab3060a9201f35d69cfcdec4b70b84a2b71c83b53795ca30d1ae8be) for the given file or an error message with a description why the hash could not be computed.

Build & Deploy

Find more information here

Versions
1.0.3
1.0.2
1.0.1
1.0.0
Website
License