'This method stores the scan result in the KB, called as a callback for
the _scan_http_response method.
:param response: The HTTP response
:param scan_result: The result object from _scan_http_response
:return: None'

def _report_result(self, (response, scan_result)):

    if (scan_result is None):
        return
    if scan_result.found:
        desc = 'ClamAV    identified    malware    at    URL:    "%s",    the    matched    signature    name    is    "%s".'
        desc %= (response.get_url(), scan_result.signature)
        i = Info('Malware    identified', desc, response.id, self.get_name())
        i.set_url(response.get_url())
        self.kb_append(self, 'malware', i)
