为python添加magic进行文件类型识别
摘要:最近想看看cuckoo里的文件识别功能是怎样实现的,翻了cuckoo源码,发现其对文件格式的判断代码如下:def _get_filetype(self, data): """Gets filetype, uses libmagic if available. @param...
阅读全文
posted @ 2015-12-25 10:41
posted @ 2015-12-25 10:41
posted @ 2015-12-09 17:34
posted @ 2015-12-03 14:15