[Mimedefang] Block executables in 7Z archive - solution

Dianne Skoll dfs at roaringpenguin.com
Thu Oct 8 09:21:58 EDT 2015


On Thu, 8 Oct 2015 13:36:23 +0200
Tomasz Ostrowski <tometzky at batory.org.pl> wrote:

[...]

> This requires 7za program (from p7zip package) installed on server.
> This will also block 7z archives with encrypted filenames.

There's also the "unar" package that contains the "lsar" program;
it can list the contents of dozens of different types of archive
files and print the listing in JSON, making it very friendly for
computer consumption.

Tools are here:    http://unarchiver.c3.cx/commandline
Supported formats: http://unarchiver.c3.cx/formats

Also, these tools are packaged in Debian.

Regards,

Dianne.



More information about the MIMEDefang mailing list