File magic

From Helpful
Jump to: navigation, search

File magic refers to a bunch of data that identifies what kind of file it is, usually intentionally.

It also refers to tools that tell you file types that way, e.g. the
tool on *nix.

These sometimes try to do some basic decoding, to avoid false positives.