Encoding and Decoding Executable Scripts

Context

This report finds all resources containing executable scripts according to a specified scope in the Knowledge Management (KM) repositories. The report can optionally encode or decode the content of the resources. For encoding of executable scripts contained in the content of resources during the upload, you can use one of the repository filters. For more information, see Malicious Script Filter .

Procedure

  1. In the portal, choose Start of the navigation pathContent Administration Next navigation step KM Content Next navigation step Toolbox Next navigation step Reports Next navigation step Mass OperationsEnd of the navigation path.
  2. In the Malicious Script Handler report, choose the type of execution:
    • Immediate execution: Start

    • Repeated execution: Schedule

  3. Enter the name of the execution.
  4. Only for repeated execution: Define and activate the schedule.
  5. You can configure the following settings for this report:

    Parameter

    Description

    Location

    Select the repositories from the list that should be searched for resources containing executable scripts.

    Maximum Results

    The system terminates the search when it has found the corresponding number of items.

    Parameter

    Description

    Script Tags

    Comma-separated list of script tags to be encoded or decoded.

    The default value for this parameter is script .

    MIME Types

    MIME types of the resources to which the report is to be applied.

    The default values for this parameter are text/plain and text/html .

    Enter the required MIME type as it is specified in the MIME type configuration (for example, text/html ). For more information, see MIME Types and Symbols .

    You can apply the report to more than one MIME type. Use a vertical slash to separate the entries (for example, text/html|text/plain ).

    Encode

    If this parameter is selected, in the result list the report displays the resources containing executable scripts.

    Decode

    If this parameter is selected, in the result list the report displays the resources with encoded content.

    Command

    Description

    Execute

    Execute the command according to the Encode or Decode parameter selected on the Paramater tab page.

  6. For immediate execution, choose Start or save your settings for report execution according to the schedule.

Results

The system runs the report according to the settings. Once the report has finished, you can view the result by choosing the name of the report from the list of the reports.