DOKK / manpages / debian 10 / pev / pehash.1.en
PEHASH(1) General Commands Manual PEHASH(1)

pehash - calculate hashes of PE pieces

pehash [OPTIONS]... pefile

pehash uses libssl, libfuzzy and other black magic to calculate PE file hashes. It's part of pev, the PE file analysis toolkit.

pefile is a PE32/PE32+ executable or dynamic linked library file.

hash file, sections and headers with md5, sha1, sha256, ssdeep and imphash

hash only the file content (default)

change output format (default is text).

hash only the header with the specified name.

hash only the section with the specified name.

hash only the section at the specified index (1..n).

show program version and exit.

show help.

Check all supported checksums of putty.exe file:

$ pehash -a putty.exe

Please, check the latest development code and report at https://github.com/merces/pev/issues

Copyright © 2017 pev authors. License GPLv2+: GNU GPL version 2 or later <https://www.gnu.org/licenses/gpl-2.0.txt>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.