Public bug reported: I got an e-mail with a ZIP including a .js file: cryptolocker virus. munpack failed to extract the ZIP so the .js file was not detected. The email is in attachment of this bug report. munpack original gives SQW1200147.zip, 1613 bytes. Incorrect. My munpack gives SQW1200147.zip, 1618 bytes. Correct.
A correction that seems to work for mpack-1.6 (Ubuntu 12.04 LTS, Ubuntu 14.04 LTS, Ubuntu 16.04 alpha): file decode.c, line 932, *************** *** 929,935 **** char *fname; if (!strncasecmp(contentType, "text/", 5)) { ! /* suppressCR = 1; */ } else if (contentEncoding == enc_base64) { /* --- 929,935 ---- char *fname; if (!strncasecmp(contentType, "text/", 5)) { ! suppressCR = 1; } else if (contentEncoding == enc_base64) { /* ** Affects: mpack (Ubuntu) Importance: Undecided Status: New ** Attachment added: "mail" https://bugs.launchpad.net/bugs/1535630/+attachment/4552534/+files/mail -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1535630 Title: munpack fail to decode a base64 attachment To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mpack/+bug/1535630/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs