krmaxwell / maltrieve

A tool to retrieve malware directly from the source for security researchers.
GNU General Public License v3.0
562 stars 184 forks source link

Problem with new filemagic? #62

Closed krmaxwell closed 9 years ago

krmaxwell commented 9 years ago
Traceback (most recent call last):
  File "maltrieve.py", line 333, in <module>
    main()
  File "maltrieve.py", line 308, in main
    md5 = save_malware(each, cfg['dumpdir'], ignore_list)
  File "maltrieve.py", line 104, in save_malware
    mime_type = magic.from_buffer(data, mime=True)
AttributeError: 'module' object has no attribute 'from_buffer'

unsure whether I have the wrong module or some other problem

krmaxwell commented 9 years ago

wrong module, that's all