Skip to content

Unhandled exception (#f8fc711f) #5242

Description

@sqlmapreporter
Running version: 1.6.11.7#dev
Python version: 3.12.0a2
Operating system: Windows-10-10.0.19041-SP0
Command line: sqlmap.py -u *********************************************** -p mfr --delay=0.5 --time-sec=2 --level 5 --risk 3 --random-agent --threads=3 --batch
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 1531, 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 "/Lib/urllib/request.py", line 215, in urlopen
    return opener.open(url, data, timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/urllib/request.py", line 518, in open
    response = self._open(req, data)
               ^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/urllib/request.py", line 535, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/urllib/request.py", line 495, in _call_chain
    result = func(*args)
             ^^^^^^^^^^^
  File "lib/request/httpshandler.py", line 133, in https_open
    return self.do_open(HTTPSConnection if ssl else _http_client.HTTPSConnection, req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/urllib/request.py", line 1347, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "/Lib/http/client.py", line 1296, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/Lib/http/client.py", line 1342, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/Lib/http/client.py", line 1291, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "lib/core/patch.py", line 61, in _send_output
    self.__send_output(*args, **kwargs)
  File "/Lib/http/client.py", line 1051, in _send_output
    self.send(msg)
  File "/Lib/http/client.py", line 989, in send
    self.connect()
  File "lib/request/httpshandler.py", line 72, in connect
    if getattr(self, "cert_file") and getattr(self, "key_file"):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'HTTPSConnection' object has no attribute 'cert_file'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions