Skip to content

Unhandled exception (#d7daae60) #5481

@sqlmapreporter

Description

@sqlmapreporter
Running version: 1.7.7.2#dev
Python version: 3.7.4
Operating system: Windows-10-10.0.19041-SP0
Command line: sqlmap.py -u ********************************************************************** -p type_id -D **** -T leadership --dump-all --batch
Technique: ERROR
Back-end DBMS: MySQL (fingerprinted)
Traceback (most recent call last):
  File "lib/utils/hashdb.py", line 182, in beginTransaction
    self.cursor.execute("BEGIN TRANSACTION")
sqlite3.ProgrammingError: Cannot operate on a closed cursor.

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 80, in _
    result = f(*args, **kwargs)
  File "lib/controller/controller.py", line 732, in start
    action()
  File "lib/controller/action.py", line 171, in action
    conf.dbmsHandler.dumpAll()
  File "plugins/generic/entries.py", line 513, in dumpAll
    self.dumpTable()
  File "plugins/generic/entries.py", line 251, in dumpTable
    entries = inject.getValue(query, blind=False, time=False, dump=True)
  File "lib/core/decorators.py", line 96, in _
    result = f(*args, **kwargs)
  File "lib/core/decorators.py", line 80, in _
    result = f(*args, **kwargs)
  File "lib/request/inject.py", line 451, in getValue
    value = errorUse(forgeCaseExpression if expected == EXPECTED.BOOL else query, dump)
  File "lib/techniques/error/use.py", line 442, in errorUse
    runThreads(numThreads, errorThread)
  File "lib/core/threads.py", line 259, in runThreads
    conf.hashDB.flush(True)
  File "lib/utils/hashdb.py", line 146, in flush
    self.beginTransaction()
  File "lib/utils/hashdb.py", line 185, in beginTransaction
    self.cursor.close()
sqlite3.ProgrammingError: Cannot operate on a closed database.

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