Skip to content

Unhandled exception (#795e2a48) #6068

@sqlmapreporter

Description

@sqlmapreporter
Running version: 1.10.6.34#dev
Python version: 3.11.0a7
Operating system: Windows-10-10.0.19045-SP0
Command line: sqlmap.py -r ******** --batch --dbs
Technique: None
Back-end DBMS: None
Traceback (most recent call last):
  File "lib/request/connect.py", line 673, in getPage
    conn = _urllib.request.urlopen(req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/ONE-FOX集成工具箱_V8公开版_by狐狸/Python311-32/Lib/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/ONE-FOX集成工具箱_V8公开版_by狐狸/Python311-32/Lib/urllib/request.py", line 525, in open
    response = meth(req, response)
               ^^^^^^^^^^^^^^^^^^^
  File "/ONE-FOX集成工具箱_V8公开版_by狐狸/Python311-32/Lib/urllib/request.py", line 634, in http_response
    response = self.parent.error(
               ^^^^^^^^^^^^^^^^^^
  File "/ONE-FOX集成工具箱_V8公开版_by狐狸/Python311-32/Lib/urllib/request.py", line 563, in error
    return self._call_chain(*args)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/ONE-FOX集成工具箱_V8公开版_by狐狸/Python311-32/Lib/urllib/request.py", line 496, in _call_chain
    result = func(*args)
             ^^^^^^^^^^^
  File "/ONE-FOX集成工具箱_V8公开版_by狐狸/Python311-32/Lib/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
urllib.error.HTTPError: HTTP Error 404: Not Found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "sqlmap.py", line 222, in main
    start()
    ^^^^^^^
  File "lib/core/decorators.py", line 99, 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 1501, in checkConnection
    page, headers, _ = Request.queryPage(content=True, noteResponseTime=False)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "lib/core/decorators.py", line 99, in _
    result = f(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^
  File "lib/request/connect.py", line 1603, 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 813, in getPage
    if conf.verbose <= 5:
       ^^^^^^^^^^^^^^^^^
TypeError: '<=' not supported between instances of 'NoneType' and 'int'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions