'Plugin entry point.
:param request: The HTTP request object.
:param response: The HTTP response object
:return: None, all results are saved in the kb.'

def grep(self, request, response):

    if (not response.is_text_or_html()):
        return
    uri = response.get_uri()
    for regex in self.RE_LIST:
        for m in regex.findall(response.get_body()):
            user = m[0]
            desc = 'The    URL:    "%s"    contains    a    SVN    versioning    signature    with    the    username    "%s".'
            desc = (desc % (uri, user))
            v = Vuln('SVN    user    disclosure    vulnerability', desc, severity.LOW, response.id, self.get_name())
            v.add_to_highlight(user)
            v.set_uri(uri)
            v[SVNUserInfoSet.ITAG] = user
            self.kb_append_uniq_group(self, 'users', v, group_klass=SVNUserInfoSet)
