mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Minor patch related to the #3822
This commit is contained in:
parent
823119a247
commit
86392179c3
3 changed files with 6 additions and 3 deletions
|
|
@ -59,6 +59,7 @@ from lib.core.dicts import DEPRECATED_OPTIONS
|
|||
from lib.core.enums import AUTOCOMPLETE_TYPE
|
||||
from lib.core.exception import SqlmapShellQuitException
|
||||
from lib.core.exception import SqlmapSyntaxException
|
||||
from lib.core.option import _createHomeDirectories
|
||||
from lib.core.settings import BASIC_HELP_ITEMS
|
||||
from lib.core.settings import DUMMY_URL
|
||||
from lib.core.settings import INFERENCE_UNKNOWN_CHAR
|
||||
|
|
@ -829,6 +830,8 @@ def cmdLineParser(argv=None):
|
|||
prompt = "--sqlmap-shell" in argv
|
||||
|
||||
if prompt:
|
||||
_createHomeDirectories()
|
||||
|
||||
parser.usage = ""
|
||||
cmdLineOptions.sqlmapShell = True
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue