'Plugin entry point, search for motw.
:param request: The HTTP request object.
:param response: The HTTP response object
:return: None'

def grep(self, request, response):

    if (not response.is_text_or_html()):
        return
    if is_404(response):
        return
    motw_match = self._motw_re.search(response.get_body())
    if motw_match:
        url_length_indicated = int(motw_match.group(1))
        url_length_actual = len(motw_match.group(2))
        if (url_length_indicated <= url_length_actual):
            desc = 'The    URL:    "%s"    contains    a    valid    mark    of    the    web.'
            desc = (desc % response.get_url())
            i = self.create_info(desc, response, motw_match)
        else:
            desc = 'The    URL:    "%s"    will    be    executed    in    Local    Machine    Zone    security    context    because    the    indicated    length    is    greater    than    the    actual    URL    length.'
            desc = (desc % response.get_url())
            i = self.create_info(desc, response, motw_match)
            i['local_machine'] = True
        kb.kb.append(self, 'motw', i)
