mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-11 19:13:12 +00:00
Add ncurses GUI support with command line integration (#5965)
This commit is contained in:
parent
66983d31d7
commit
ac2bd503d7
3 changed files with 781 additions and 1 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue