andresriancho / w3af

w3af: web application attack and audit framework, the open source web vulnerability scanner.
http://w3af.org/
4.57k stars 1.22k forks source link

[Auto-Generated] Bug Report - ele = ele.encode(encoding) if is_unicode(ele) else str(ele) #679

Closed 1d3df9903ad closed 11 years ago

1d3df9903ad commented 11 years ago

User description

No user description was provided for this bug report given that it was related to handled exceptions in scan with id 9ab7462e2c

Version Information

  Python version: 2.7.3 (default, Sep 26 2013, 20:03:06) [GCC 4.6.3]
  GTK version: 2.24.10
  PyGTK version: 2.24.0
  w3af version:
    w3af - Web Application Attack and Audit Framework
    Version: 1.6
    Revision: 3ef1aa4e9e - 25 Sep 2013 13:10
    Author: Andres Riancho and the w3af team.

Traceback

An exception was found while running audit.audit.get_original_response() on "audit.get_original_response()". The exception was: "'latin-1' codec can't encode character u'\u2192' in position 5: ordinal not in range(256)" at encode_decode.py:urlencode():149.The full traceback is:
  File "/home/user/w3af/core/controllers/core_helpers/consumers/audit.py", line 77, in _consume
    orig_resp = self.get_original_response(fuzzable_request)
  File "/home/user/w3af/core/controllers/misc/decorators.py", line 73, in f_retry
    rv = f(*args, **kwargs)
  File "/home/user/w3af/core/controllers/core_helpers/consumers/audit.py", line 59, in get_original_response
    cache=False)
  File "/home/user/w3af/core/controllers/plugins/plugin.py", line 215, in meth
    return attr(*args, **kwargs)
  File "/home/user/w3af/core/data/url/extended_urllib.py", line 226, in send_mutant
    data = mutant.get_data()
  File "/home/user/w3af/core/data/request/HTTPPostDataRequest.py", line 68, in get_data
    return str(self._dc)
  File "/home/user/w3af/core/data/dc/form.py", line 159, in __str__
    return urlencode(d, encoding=self.encoding)
  File "/home/user/w3af/core/data/parsers/encode_decode.py", line 149, in urlencode
    ele = ele.encode(encoding) if is_unicode(ele) else str(ele)

Enabled Plugins

{'attack': {},
 'audit': {'sqli': {}, 'xss': {}},
 'auth': {},
 'bruteforce': {},
 'crawl': {'web_spider': {}},
 'evasion': {},
 'grep': {'ajax': {},
          'analyze_cookies': {},
          'blank_body': {},
          'click_jacking': {},
          'code_disclosure': {},
          'credit_cards': {},
          'directory_indexing': {},
          'dom_xss': {},
          'dot_net_event_validation': {},
          'error_500': {},
          'error_pages': {},
          'feeds': {},
          'file_upload': {},
          'form_autocomplete': {},
          'get_emails': {},
          'hash_analysis': {},
          'html_comments': {},
          'http_auth_detect': {},
          'http_in_body': {},
          'lang': {},
          'meta_tags': {},
          'motw': {},
          'objects': {},
          'oracle': {},
          'password_profiling': {},
          'path_disclosure': {},
          'private_ip': {},
          'ssn': {},
          'strange_headers': {},
          'strange_http_codes': {},
          'strange_parameters': {},
          'strange_reason': {},
          'svn_users': {},
          'symfony': {},
          'user_defined_regex': {},
          'wsdl_greper': {}},
 'infrastructure': {},
 'mangle': {},
 'output': {'console': {}}}
andresriancho commented 11 years ago

Will close for now, see comment in the commit.