sqlmap icon indicating copy to clipboard operation
sqlmap copied to clipboard

Add user-configurable verbosity levels to wizard interface

Open mai0li opened this issue 4 months ago • 1 comments

Summary

Enhanced the SQLMap wizard interface to allow users to select their preferred verbosity level (0-6), providing better control over output detail while maintaining backward compatibility.

Motivation

The wizard currently hard-codes verbosity to level 0 (minimal output). While this works well for automation, beginners often need more detailed output to understand what SQLMap is doing. This change allows users to choose the appropriate verbosity level for their needs.

Changes

  • Enhanced _useWizardInterface() function in lib/core/option.py
  • Replaced hardcoded conf.verbose = 0 with interactive selection menu
  • Added support for all verbosity levels (0-6) with clear descriptions
  • Maintains backward compatibility with level 0 as default
  • Follows existing wizard UI patterns for consistency

Features

  • Complete coverage: All SQLMap verbosity levels (0-6) supported
  • Clear labeling: Distinguishes wizard default (0) vs application default (1)
  • Robust validation: Invalid inputs default safely to level 0
  • Backward compatible: Preserves original minimal output behavior
  • Consistent UI: Matches existing wizard prompt patterns

Testing

  • ✅ Manual testing of all verbosity levels
  • ✅ Input validation with edge cases and invalid inputs
  • ✅ Security testing with malicious payloads
  • ✅ Integration testing with existing wizard flow
  • ✅ Confirmed no crashes or unexpected behavior

Example Usage

mai0li avatar Aug 22 '25 05:08 mai0li