X Tutup
The Wayback Machine - https://web.archive.org/web/20201118083746/https://github.com/sqlmapproject/sqlmap/issues/4337
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled exception (#a1d5ea7b) #4337

Closed
sqlmapreporter opened this issue Sep 9, 2020 · 1 comment
Closed

Unhandled exception (#a1d5ea7b) #4337

sqlmapreporter opened this issue Sep 9, 2020 · 1 comment
Assignees
Labels
Milestone

Comments

@sqlmapreporter
Copy link

@sqlmapreporter sqlmapreporter commented Sep 9, 2020

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'
@stamparm
Copy link
Member

@stamparm stamparm commented Sep 9, 2020

stamparm added a commit that referenced this issue Sep 9, 2020
@stamparm stamparm self-assigned this Sep 9, 2020
@stamparm stamparm closed this Sep 9, 2020
@stamparm stamparm added the support label Sep 9, 2020
@stamparm stamparm added this to the 1.5 milestone Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.
X Tutup