mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Minor patch related to the #3822
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user