python脚本,遍历指定目录,通过二进制方式读取文件,根据文件头信息识别文件类型,将判断结果输出。
示例如下:
The file 'a125e0e3947********0a69191a349ca' is of type: EXE
The file 'e08fe2de3dd********47d49a11b4f53d' is of type: EXE
The file 'ea6d5e8962********e89012547bd559c' is of type: ZIP
, 相关下载链接:
https://download.csdn.net/download/zhai_jia_hui/88503428?utm_source=bbsseo