OS4X plugin os4xplugin archive analyze

From OS4X
Jump to navigation Jump to search


Purpose

Try to interpret every file of an OS4X job as an archive and analyze its content. Each file contained in the "file" node is being expanded with information about its content in the archive.

Supported file types:

  • TAR
  • TAR (gzipped)
  • ZIP

Office file formats are being ignored.

Requirements

  • File /etc/os4x.conf or configuration file referenced by environment variable $OS4X_CFGFILE. The temporary directory and the license file are obtained via the database that is configured here.

Configuration

-

Return codes

  • 0: everything OK
  • 1: Number of parameters != 1; Config file /etc/os4x.conf not found; Config in database not readable; License not valid; XML file invalid