2015年12月25日

为python添加magic进行文件类型识别

摘要: 最近想看看cuckoo里的文件识别功能是怎样实现的,翻了cuckoo源码,发现其对文件格式的判断代码如下:def _get_filetype(self, data): """Gets filetype, uses libmagic if available. @param... 阅读全文

posted @ 2015-12-25 10:41 -Vi 阅读(4774) 评论(3) 推荐(0) 编辑

导航