Running version: 1.4.9.5#dev
Python version: 3.8.4
Operating system: Windows-10-10.0.18362-SP0
Command line: sqlmap.py -r ./request.txt --auth-type **** --auth-cred ********************* -p id --dbs --random-agent --dump --level=5 --risk=3
Technique: None
Back-end DBMS: None
Traceback (most recent call last):
File "sqlmap.py", line 215, in main
start()
File "lib/core/decorators.py", line 78, in _
result = f(*args, **kwargs)
File "lib/controller/controller.py", line 437, in start
if not checkConnection(suppressOutput=conf.forms) or not checkString() or not checkRegexp():
File "lib/controller/checks.py", line 1526, in checkConnection
Request.queryPage(content=True, noteResponseTime=False)
File "lib/core/decorators.py", line 78, in _
result = f(*args, **kwargs)
File "lib/request/connect.py", line 1372, 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 539, in getPage
conn = _urllib.request.urlopen(req)
File "C:/Users/********/AppData/Local/Programs/Python/Python38-32/lib/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "C:/Users/********/AppData/Local/Programs/Python/Python38-32/lib/urllib/request.py", line 531, in open
response = meth(req, response)
File "C:/Users/********/AppData/Local/Programs/Python/Python38-32/lib/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "C:/Users/********/AppData/Local/Programs/Python/Python38-32/lib/urllib/request.py", line 563, in error
result = self._call_chain(*args)
File "C:/Users/********/AppData/Local/Programs/Python/Python38-32/lib/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "C:/Users/********/AppData/Local/Programs/Python/Python38-32/lib/ntlm/HTTPNtlmAuthHandler.py", line 116, in http_error_401
return self.http_error_authentication_required('www-authenticate', req, fp, headers)
File "C:/Users/********/AppData/Local/Programs/Python/Python38-32/lib/ntlm/HTTPNtlmAuthHandler.py", line 36, in http_error_authentication_required
return self.retry_using_http_NTLM_auth(req, auth_header_field, None, headers)
File "C:/Users/********/AppData/Local/Programs/Python/Python38-32/lib/ntlm/HTTPNtlmAuthHandler.py", line 53, in retry_using_http_NTLM_auth
auth = 'NTLM %s' % ntlm.create_NTLM_NEGOTIATE_MESSAGE(
AttributeError: 'str' object has no attribute 'decode'