TypeRefHasher G DATA CyberDefense AG
winget install --id=GDATA.TypeRefHasher -e
CLI tool to compute the TypeRefHash for .NET binaries.
README
TypeRef Hasher
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
trh.msi
-> Windows x64 Installer (Allows uninstall and adds the tool to yourPATH
)trh.exe
-> Windows x64 (Standalone binary)
Linux
Download the binary or installer from the GitHub Releases tab.
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