'Vulnerable to MITM since login form was submitted over HTTP'

def test_m1(self, *args):

    body = 'header    <form    action="https://www.w3af.com/"><input    type="password"    name="passwd"    /></form>footer'
    url = URL('http://www.w3af.com/')
    headers = Headers([('content-type', 'text/html')])
    response = HTTPResponse(200, body, headers, url, url, _id=1)
    request = FuzzableRequest(url, method='GET')
    self.plugin.grep(request, response)
    self.assertEqual(len(kb.kb.get('form_cleartext_password', 'form_cleartext_password')), 1)
    self.assertEqual((kb.kb.get('form_cleartext_password', 'form_cleartext_password')[0].get_name() == 'Insecure    password    form    access    over    HTTP'), 1)
