Show TOC

Encoding and Decoding Executable ScriptsLocate this document in the navigation structure

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 path Content Administration Next navigation step KM Content Next navigation step Toolbox Next navigation step Reports Next navigation step Mass Operations End 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 ).

    Note

    Depending on the MIME handler service configuration, the entries might be case sensitive. For more information, see Mime Handler Service .

    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.

    Note

    When you select the Decode parameter for the resources with encoded content, you must not activate the Malicious Script Filter for the KM repositories of these resources. For more information, see Malicious Script Filter .

    Note

    When you select the Encode parameter, you should not select the Decode parameter and vice versa. You cannot select both parameter simultaneously. Only one of these two parameters must be selected.

    Command

    Description

    Execute

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

    Note

    If you select the command when starting the report for the first time, the command is applied immediately to all resources found.

    If you run the report without the command, in the results list, you select the resources to which you want to apply the command and select the Execute command on the Commands 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.