-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Closed
Labels
Description
Running version: 1.9.5.22#dev
Python version: 3.12.5
Operating system: Windows-11-10.0.26100-SP0
Command line: sqlmap.py -u ************************************************* --data=********************************************************************************************************************************** --cookie=***************************************************************** --headers=********************************** --method=POST \ --level=5 --risk=3 \ -p product_id \ --random-agent \ --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 1494, 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 1593, 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 664, in getPage
conn = _urllib.request.urlopen(req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/AppData/Local/Programs/Python/Python312/Lib/urllib/request.py", line 215, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/AppData/Local/Programs/Python/Python312/Lib/urllib/request.py", line 515, in open
response = self._open(req, data)
^^^^^^^^^^^^^^^^^^^^^
File "/AppData/Local/Programs/Python/Python312/Lib/urllib/request.py", line 532, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/AppData/Local/Programs/Python/Python312/Lib/urllib/request.py", line 492, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/AppData/Local/Programs/Python/Python312/Lib/urllib/request.py", line 1373, in http_open
return self.do_open(http.client.HTTPConnection, req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/AppData/Local/Programs/Python/Python312/Lib/urllib/request.py", line 1344, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/AppData/Local/Programs/Python/Python312/Lib/http/client.py", line 1334, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/AppData/Local/Programs/Python/Python312/Lib/http/client.py", line 1380, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/AppData/Local/Programs/Python/Python312/Lib/http/client.py", line 1329, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "lib/core/patch.py", line 67, in _send_output
self.__send_output(*args, **kwargs)
File "/AppData/Local/Programs/Python/Python312/Lib/http/client.py", line 1089, in _send_output
self.send(msg)
File "/AppData/Local/Programs/Python/Python312/Lib/http/client.py", line 1033, in send
self.connect()
File "/AppData/Local/Programs/Python/Python312/Lib/http/client.py", line 1003, in connect
self.sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)
^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'setsockopt'
Reactions are currently unavailable