xme / mime2vt

Unpack MIME attachments from a file and check them against virustotal.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This module has encoding issues

cybernard opened this issue · comments

I started to scan email to virus total and got a bunch of errors about byte encoding from python. It turns out spammers are encoding there messages in strange encodings.

I scanned 2000 email and had 50 different encodings that would not convert including GB2312.
Immediately after reading in the sys.sdtin command when trying to use the join command on the next line it fails. The emails are encoded in a binary format, and python expects utf-8, and therefore crash,bang,boom failure.