andresriancho / w3af

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

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

Closed 1d3df9903ad closed 10 years ago

1d3df9903ad commented 10 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 crawl.web_spider on "http://domain/page/submit | Method: POST | Parameters: (name="", mail="", message="")". 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/crawl_infrastructure.py", line 389, in _discover_worker
    result = plugin.discover_wrapper(fuzzable_request)
  File "/home/user/w3af/core/controllers/plugins/crawl_plugin.py", line 47, in crawl_wrapper
    return self.crawl(fuzzable_request_copy)
  File "/home/user/w3af/plugins/crawl/web_spider.py", line 108, in crawl
    resp = self._uri_opener.send_mutant(fuzzable_req)
  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 10 years ago

Duplicates #679