'Plugin entry point, verify if the HTML has a form with file uploads.
: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
    url = response.get_url()
    for tag in mp_doc_parser.get_tags_by_filter(response, ('input',)):
        input_type = tag.attrib.get('type', None)
        if (input_type is None):
            continue
        if (input_type.lower() != 'file'):
            continue
        msg = 'A    form    which    allows    file    uploads    was    found    at    "%s"'
        msg %= url
        i = Info('File    upload    form', msg, response.id, self.get_name())
        i.set_url(url)
        self.kb_append_uniq(self, 'file_upload', i, 'URL')
