- Joined
- Oct 6, 2009
- Messages
- 11,506
- Likes received
- 1,653
- Thanks received
- 329
- Location
- East of Eden
My standard practice is to use command line unzip to list the contents of zipfiles (unzip -l), even those from a so-called trusted source, before extracting them. I like to know what I'm putting onto a system.
Also on Unix and their clones such as Linux you can do 'file' on it - it will tell you what type of file it is;
Code:
sh-3.2# file *
ABOUT-NLS: ASCII English text
CHANGES: ASCII English text
COPYRIGHT: ASCII English text
Hercules.dsp: ASCII English text
Hercules.dsw: ASCII text
Hercules.sln: UTF-8 Unicode (with BOM) text
Hercules.vcproj: XML document text
Hercules.vcxproj: XML document text
Hercules.vcxproj.filters: XML document text
Hercules.vcxproj.user: XML document text