Commits

Richard Jones committed 41e8519

reduce MSI magic number to 8 bytes to allow more MSIs through

Comments (0)

Files changed (1)

verify_filetype.py

         if filetype != 'bdist_msi':
             return False
 
-        if not content.startswith('\xD0\xCF\x11\xE0\xA1\xB1\x1A\xE1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x3E\x00\x03\x00\xFE\xFF\x09\x00\x06'): # from magic file
+        if not content.startswith('\xD0\xCF\x11\xE0\xA1\xB1\x1A\xE1'): # from magic file
             return False
 
     elif filename.endswith('.zip') or filename.endswith('.egg'):