Skip to content

Unhandled exception (#0dda3510) #1893

@sqlmapreporter

Description

@sqlmapreporter
sqlmap version: 1.0-dev-nongit-201512140967
Python version: 2.7.11
Operating system: posix
Command line: sqlmap.py -u ****************************************************************************** --user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.1 Safari/537.36

Technique: None
Back-end DBMS: None (identified)
Traceback (most recent call last):
  File "sqlmap.py", line 110, in main
    start()
  File "lib/controller/controller.py", line 377, in start
    if not checkConnection(suppressOutput=conf.forms) or not checkString() or not checkRegexp():
  File "lib/controller/checks.py", line 1331, in checkConnection
    page, _ = Request.queryPage(content=True, noteResponseTime=False)
  File "lib/request/connect.py", line 1092, in queryPage
    page, headers, code = Connect.getPage(url=uri, get=get, post=post, method=method, cookie=cookie, ua=ua, referer=referer, host=host, silent=silent, auxHeaders=auxHeaders, response=response, raise404=raise404, ignoreTimeout=timeBasedCompare)
  File "lib/request/connect.py", line 460, in getPage
    conn = urllib2.urlopen(req)
  File "usr/lib/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "usr/lib/python2.7/urllib2.py", line 431, in open
    response = self._open(req, data)
  File "usr/lib/python2.7/urllib2.py", line 449, in _open
    '_open', req)
  File "usr/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "usr/lib/python2.7/urllib2.py", line 1227, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "usr/lib/python2.7/urllib2.py", line 1194, in do_open
    h.request(req.get_method(), req.get_selector(), req.data, headers)
  File "usr/lib/python2.7/httplib.py", line 1057, in request
    self._send_request(method, url, body, headers)
  File "usr/lib/python2.7/httplib.py", line 1096, in _send_request
    self.putheader(hdr, value)
  File "usr/lib/python2.7/httplib.py", line 1035, in putheader
    raise ValueError('Invalid header value %r' % (one_value,))
ValueError: Invalid header value 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.1 Safari/537.36\n'

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions