Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ed2b0e commit 8f36f92Copy full SHA for 8f36f92
1 file changed
lib/core/testing.py
@@ -29,6 +29,7 @@
29
from lib.core.exception import SqlmapNotVulnerableException
30
from lib.core.log import LOGGER_HANDLER
31
from lib.core.option import init
32
+from lib.core.option import initOptions
33
from lib.core.optiondict import optDict
34
from lib.core.settings import UNICODE_ENCODING
35
from lib.parse.cmdline import cmdLineParser
@@ -243,7 +244,8 @@ def initCase(switches=None):
243
244
if key in cmdLineOptions.__dict__:
245
cmdLineOptions.__dict__[key] = value
246
- init(cmdLineOptions, True)
247
+ initOptions(cmdLineOptions, True)
248
+ init()
249
250
def cleanCase():
251
shutil.rmtree(paths.SQLMAP_OUTPUT_PATH, True)
0 commit comments