mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-01-01 20:39:03 +00:00
Add ncurses GUI support with command line integration (#5965)
This commit is contained in:
@@ -860,6 +860,9 @@ def cmdLineParser(argv=None):
|
||||
parser.add_argument("--gui", dest="gui", action="store_true",
|
||||
help=SUPPRESS)
|
||||
|
||||
parser.add_argument("--ncgui", dest="ncgui", action="store_true",
|
||||
help=SUPPRESS)
|
||||
|
||||
parser.add_argument("--smoke-test", dest="smokeTest", action="store_true",
|
||||
help=SUPPRESS)
|
||||
|
||||
@@ -939,6 +942,13 @@ def cmdLineParser(argv=None):
|
||||
|
||||
raise SqlmapSilentQuitException
|
||||
|
||||
elif "--ncgui" in argv:
|
||||
from lib.core.ncgui import runNcGui
|
||||
|
||||
runNcGui(parser)
|
||||
|
||||
raise SqlmapSilentQuitException
|
||||
|
||||
elif "--shell" in argv:
|
||||
_createHomeDirectories()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user