Skip to content

Unhandled exception (#b07e2857) #5402

@sqlmapreporter

Description

@sqlmapreporter
Running version: 1.7.4.8#dev
Python version: 2.7.18
Operating system: Linux-6.1.0-kali5-amd64-x86_64-with-debian-kali-rolling
Command line: sqlmap.py -r /home/****/sql --auth-type=**** --auth-cred=**********************
Technique: None
Back-end DBMS: None
Traceback (most recent call last):
  File "sqlmap.py", line 222, in main
    start()
  File "lib/core/decorators.py", line 80, in _
    result = f(*args, **kwargs)
  File "lib/controller/controller.py", line 436, in start
    if not checkConnection(suppressOutput=conf.forms):
  File "lib/controller/checks.py", line 1489, in checkConnection
    page, headers, _ = Request.queryPage(content=True, noteResponseTime=False)
  File "lib/core/decorators.py", line 80, in _
    result = f(*args, **kwargs)
  File "lib/request/connect.py", line 1542, 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 622, in getPage
    conn = _urllib.request.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 435, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 467, in error
    result = self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python2.7/dist-packages/ntlm/HTTPNtlmAuthHandler.py", line 121, in http_error_401
    return self.http_error_authentication_required('www-authenticate', req, fp, headers)
  File "/usr/local/lib/python2.7/dist-packages/ntlm/HTTPNtlmAuthHandler.py", line 44, in http_error_authentication_required
    return self.retry_using_http_NTLM_auth(req, auth_header_field, None, headers)
  File "/usr/local/lib/python2.7/dist-packages/ntlm/HTTPNtlmAuthHandler.py", line 94, in retry_using_http_NTLM_auth
    (ServerChallenge, NegotiateFlags) = ntlm.parse_NTLM_CHALLENGE_MESSAGE(auth_header_value[5:])
  File "/usr/local/lib/python2.7/dist-packages/ntlm/ntlm.py", line 222, in parse_NTLM_CHALLENGE_MESSAGE
    assert(msg_type==2)
AssertionError

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions