def malformed_method(host, host_index, fingerprint):
    malformed_methods = get_malformed_methods()

    for index, method in enumerate(malformed_methods):
        request = Request(host, host_index, logger)
        request.method_line = method
        response = request.submit
        get_characteristics('MALFORMED_' + ('000' + str(index))[-3:], response, fingerprint, host, host_index)
    def malformed_method(host, host_index, logger):
        requests = []

        activities = 'GET', 'HEAD', 'POST', 'PUT'

        malformed_methods_list = []

        for activity in activities:
            malformed_methods = (
                activity,
                activity + '/',
                activity + '/1.0',
                activity + ' / HTTP/123.45',
                activity + ' / HTTP/999.99',
                activity + ' / HTP/1.0',
                activity + ' / HTT/1.0',
                activity + ' / HTTP/7.Q',
                activity + ' / HTTP/1.0X',
                activity + ' /abcdefghijklmnopqrstuvwxyz/.. HTTP/1.0',
                activity + ' /./././././././././././././././ HTTP/1.0',
                activity + ' /.. HTTP/1.0',
                activity + '\t/\tHTTP/1.0',
                activity + '\t/\tHTTP/1.0',
                activity + ' / H',
                activity + ' / ' + 'HTTP/' + '1' * 1000 + '.0',
                activity + ' FTP://abcdefghi HTTP/1.0',
                activity + ' C:\ HTTP/1.0',
                ' ' * 1000 + activity + ' / HTTP/1.0',
                '\n' + activity + ' / HTTP/1.0',
            )

            malformed_methods_list += malformed_methods

        malformed_activity_independent = ('GET GET GET', 'HELLO',
                                          '%47%45%54 / HTTP/1.0',
                                          'GEX\bT / HTTP/1.0')

        malformed_methods_list += malformed_activity_independent

        for index, method in enumerate(malformed_methods_list):
            request = Request(host,
                              host_index,
                              logger,
                              name='malformed/malformed_' + str(index))
            request.method_line = method
            requests.append(request)

        return requests