sqlmapproject/sqlmap · error · SqlmapUserQuitException

user aborted (Ctrl+C was pressed multiple times)

Error message

user aborted (Ctrl+C was pressed multiple times)

What it means

Terminal abort state reached in the controller's top-level start loop: repeated SIGINT (Ctrl+C) arrived while exploitation/action logic was still running, so the run is stopped as a deliberate user termination rather than treated as a scan or target failure.

Solutions

  1. Press Ctrl+C once to abort the current test; press it repeatedly only to abort the whole session
  2. Re-run sqlmap and let it resume from the stored session via --flush-session=false behavior if partial results exist
Defensive patterns

Strategy: try-catch

When it happens

Trigger: Thrown at lib/controller/controller.py:903 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of sqlmapproject/sqlmap@0a35b20e39 (2026-08-26). Data as JSON: /api/errors/b3fd1784390b9c6f. Report an issue: GitHub.

Appendix: source

Thrown at lib/controller/controller.py:903

            if kb.injection.place is not None and kb.injection.parameter is not None:
                if conf.multipleTargets:
                    message = "do you want to exploit this SQL injection? [Y/n] "
                    condition = readInput(message, default='Y', boolean=True)
                else:
                    condition = True

                if condition:
                    try:
                        action()
                    finally:
                        if conf.proof:
                            from lib.utils.prove import proveExploitation
                            proveExploitation()

        except KeyboardInterrupt:
            if kb.lastCtrlCTime and (time.time() - kb.lastCtrlCTime < 1):
                kb.multipleCtrlC = True
                raise SqlmapUserQuitException("user aborted (Ctrl+C was pressed multiple times)")

            kb.lastCtrlCTime = time.time()

            if conf.multipleTargets:
                warnMsg = "user aborted in multiple target mode"
                logger.warning(warnMsg)

                message = "do you want to skip to the next target in list? [Y/n/q]"
                choice = readInput(message, default='Y').upper()

                if choice == 'N':
                    return False
                elif choice == 'Q':
                    raise SqlmapUserQuitException
            else:
                raise

        except SqlmapSkipTargetException:

View on GitHub (pinned to 0a35b20e39)