Minor patch related to the #3822

This commit is contained in:
Miroslav Stampar
2019-07-16 14:02:16 +02:00
parent 823119a247
commit 86392179c3
3 changed files with 6 additions and 3 deletions

View File

@@ -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