I've coded a small script to calculate the entropy of a part of a file (giving the start offset and the length), which is called ddent (source on GitHub), as it uses both dd and ent. It has a more compact output than ent, and I use it as a shortcut to a long command line I've been using regularly.
Usage: ddent FILE OFFSET LENGTH
OFFSET and LENGTH can be either decimal, or hexadecimal (just be sure to prefix with 0x in this case).
No comments:
Post a Comment