檔案標頭檔案尾總結
本文轉載自:https://www.cnblogs.com/lwy-kitty/p/3928317.html
JPEG (jpg), 檔案頭:FFD8FF 檔案尾:FF D9
PNG (png), 檔案頭:89504E47 檔案尾:AE 42 60 82
GIF (gif), 檔案頭:47494638 檔案尾:00 3B ZIP Archive (zip), 檔案頭:504B0304 檔案尾:50 4B
TIFF (tif), 檔案頭:49492A00 檔案尾:
Windows Bitmap (bmp), 檔案頭:424D 檔案尾:
CAD (dwg), 檔案頭:41433130 檔案尾:
Adobe Photoshop (psd), 檔案頭:38425053 檔案尾:
Rich Text Format (rtf), 檔案頭:7B5C727466 檔案尾:
XML (xml), 檔案頭:3C3F786D6C 檔案尾:
HTML (html), 檔案頭:68746D6C3E
Email [thorough only] (eml), 檔案頭:44656C69766572792D646174653A
Outlook Express (dbx), 檔案頭:CFAD12FEC5FD746F
Outlook (pst), 檔案頭:2142444E
MS Word/Excel (xls.or.doc), 檔案頭:D0CF11E0
MS Access (mdb), 檔案頭:5374616E64617264204A
WordPerfect (wpd), 檔案頭:FF575043
Adobe Acrobat (pdf), 檔案頭:255044462D312E
Quicken (qdf), 檔案頭:AC9EBD8F
Windows Password (pwl), 檔案頭:E3828596
RAR Archive (rar), 檔案頭:52617221
Wave (wav), 檔案頭:57415645
AVI (avi), 檔案頭:41564920
Real Audio (ram), 檔案頭:2E7261FD
Real Media (rm), 檔案頭:2E524D46
MPEG (mpg), 檔案頭:000001BA
MPEG (mpg), 檔案頭:000001B3
Quicktime (mov), 檔案頭:6D6F6F76
Windows Media (asf), 檔案頭:3026B2758E66CF11
MIDI (mid), 檔案頭:4D546864