Skip to content

Unhandled exception (#36c3b2aa) #6106

Description

@sqlmapreporter
Running version: 1.10.9.2#dev
Python version: 3.13.5
Operating system: Linux-6.12.107+deb13-amd64-x86_64-with-glibc2.41
Command line: /usr/local/bin/sqlmap --risk=3 --level=5 --random-agent --tor --tor-type=SOCKS5 --time-sec=10 --threads=3 --tamper=json_unicode_escape,math_exp_obfuscator,nested_versioned_comments,random_chunk_splitter --preprocess=/home/*************/Desktop/PythonTools/SQLMap_Tampers/hooks.py --postprocess=/home/*************/Desktop/PythonTools/SQLMap_Tampers/hooks.py --dbs --technique=BEUSTQ --url ************************************************************************************************************************ --batch
Technique: None
Back-end DBMS: None
Traceback (most recent call last):
  File "sqlmap", line 254, in main
    start()
    ~~~~~^^
  File "/home/*************/sqlmap/lib/core/decorators.py", line 108, in _
    result = f(*args, **kwargs)
  File "/home/*************/sqlmap/lib/controller/controller.py", line 520, in start
    if not any((conf.graphql,)) and not checkConnection(suppressOutput=conf.forms):
                                        ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/*************/sqlmap/lib/controller/checks.py", line 1779, in checkConnection
    page, headers, _ = Request.queryPage(content=True, noteResponseTime=False)
                       ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/*************/sqlmap/lib/core/decorators.py", line 108, in _
    result = f(*args, **kwargs)
  File "/home/*************/sqlmap/lib/request/connect.py", line 1783, 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 "/home/*************/sqlmap/lib/request/connect.py", line 1106, in getPage
    processResponse(page, responseHeaders, code, status)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/*************/sqlmap/lib/request/basic.py", line 442, in processResponse
    rawResponse = "%s %s %s\n%s\n%s" % (_http_client.HTTPConnection._http_vsn_str, code or "", status or "", "".join(getUnicode(responseHeaders.headers if responseHeaders else [])), page[:IDENTYWAF_PARSE_PAGE_LIMIT] if not kb.checkWafMode else page[:HEURISTIC_PAGE_SIZE_THRESHOLD])
                                                                                                                                ^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'dict' object has no attribute 'headers'

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions