-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Description
Running version: 1.7.4.7#dev
Python version: 3.11.3
Operating system: Windows-10-10.0.14393-SP0
Command line: sqlmap.py -m 2-jpurls.txt --batch --threads=10 --level=2 --risk=2 --dbs --dump-all --forms --skip-waf --skip-heur
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 607, in start
injection = checkSqlInjection(place, parameter, value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "lib/controller/checks.py", line 662, in checkSqlInjection
trueResult = Request.queryPage(reqPayload, place, timeBasedCompare=True, raise404=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 "/AppData/Local/Programs/Python/Python311/Lib/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/AppData/Local/Programs/Python/Python311/Lib/urllib/request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/AppData/Local/Programs/Python/Python311/Lib/urllib/request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/AppData/Local/Programs/Python/Python311/Lib/urllib/request.py", line 557, in error
result = self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/AppData/Local/Programs/Python/Python311/Lib/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/AppData/Local/Programs/Python/Python311/Lib/urllib/request.py", line 728, in http_error_302
new = self.redirect_request(req, fp, code, msg, headers, newurl)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "lib/request/redirecthandler.py", line 69, in _redirect_request
return _urllib.request.Request(newurl.replace(' ', '%20'), data=req.data, headers=req.headers, origin_req_host=req.get_origin_req_host())
^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Request' object has no attribute 'get_origin_req_host'
Metadata
Metadata
Assignees
Labels
No labels