Tools to find "unlegal" files ( videos , music etc )

krad kraduk at
Wed Jul 20 19:12:01 UTC 2011

> You cannot generate a hash without at a certain automated level opening the
> file.  If you can do that, couldn't you generate a hash of the first four
> bytes to match with hashes of known magic numbers? If you can "look" at the
> whole file, surely you can "look" at just the first four bytes.
not true these days. If you run zfs (or probably btrfs, yuk) you can just
pull the file hashes used by the fs (zdb). Therefore your not actually
reading the file.

More information about the freebsd-questions mailing list