
比如像这种:
gzip 头的格式: +---+---+---+---+---+---+---+---+---+---+ |ID1|ID2|CM |FLG| MTIME |XFL|OS | (more-->) +---+---+---+---+---+---+---+---+---+---+ (if FLG.FEXTRA set) +---+---+=================================+ | XLEN |...XLEN bytes of "extra field"...| (more-->) +---+---+=================================+ (if FLG.FNAME set) +=========================================+ |...original file name, zero-terminated...| (more-->) +=========================================+ (if FLG.FCOMMENT set) +===================================+ |...file comment, zero-terminated...| (more-->) +===================================+ (if FLG.FHCRC set) +---+---+ | CRC16 | +---+---+ +=======================+ |...compressed blocks...| (more-->) +=======================+ 0 1 2 3 4 5 6 7 +---+---+---+---+---+---+---+---+ | CRC32 | ISIZE | +---+---+---+---+---+---+---+---+ 纯手工感觉有点麻烦,Google 上找了一圈似乎没有现成的工具。
1 imn1 2021-03-23 14:56:47 +08:00 搜 file signatrue,或 file fingerprint 工具的话一般都是截至到某个时期的,因为新文件格式(其特征)是不断创新的,每天都有新的格式 |
2 omph 2021-03-23 18:08:08 +08:00 哪里麻烦?生成格式的表吗? |
4 omph 2021-03-24 08:22:58 +08:00 要不试试这个 https://textik.com |