Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-50907

Antivirus: Implement antiviruses_scan_data function to scan data stream.

    XMLWordPrintable

    Details

      Description

      We already have antiviruses_scan_file (MDL-50887) function designed to scan file. It worth creating a separate function to scan data (stored in variable value). While for command-line running mode it would still need to be stored in the file first (similar to what is done here but in the ClamAV plugin level), unix-socket running mode gives possibility to scan data directly using INSTREAM command.

      This function potentially could be used to scan html data submitted by users to avoid issues similar to MDL-47625.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                3 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  17/May/18