mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Proper fix for #2236
This commit is contained in:
parent
d431c7d155
commit
1db6953f08
4 changed files with 10 additions and 8 deletions
|
|
@ -29,6 +29,7 @@ from lib.core.data import kb
|
|||
from lib.core.data import paths
|
||||
from lib.core.data import logger
|
||||
from lib.core.datatype import AttribDict
|
||||
from lib.core.defaults import _defaults
|
||||
from lib.core.enums import CONTENT_STATUS
|
||||
from lib.core.enums import MKSTEMP_PREFIX
|
||||
from lib.core.enums import PART_RUN_CONTENT_TYPES
|
||||
|
|
@ -132,7 +133,7 @@ class Task(object):
|
|||
for _ in optDict:
|
||||
for name, type_ in optDict[_].items():
|
||||
type_ = unArrayizeValue(type_)
|
||||
self.options[name] = datatype[type_] # don't use _defaults here (breaking kb.explicitSettings logic)
|
||||
self.options[name] = _defaults.get(name, datatype[type_])
|
||||
|
||||
# Let sqlmap engine knows it is getting called by the API,
|
||||
# the task ID and the file path of the IPC database
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue