Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d431c7d

Browse files
committed
Fixes #2236
1 parent 5ab4d54 commit d431c7d

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.enums import OS
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.10.45"
22+
VERSION = "1.0.10.46"
2323
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2424
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2525
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/utils/api.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
from lib.core.data import paths
3030
from lib.core.data import logger
3131
from lib.core.datatype import AttribDict
32-
from lib.core.defaults import _defaults
3332
from lib.core.enums import CONTENT_STATUS
3433
from lib.core.enums import MKSTEMP_PREFIX
3534
from lib.core.enums import PART_RUN_CONTENT_TYPES
@@ -133,7 +132,7 @@ def initialize_options(self, taskid):
133132
for _ in optDict:
134133
for name, type_ in optDict[_].items():
135134
type_ = unArrayizeValue(type_)
136-
self.options[name] = _defaults.get(name, datatype[type_])
135+
self.options[name] = datatype[type_] # don't use _defaults here (breaking kb.explicitSettings logic)
137136

138137
# Let sqlmap engine knows it is getting called by the API,
139138
# the task ID and the file path of the IPC database

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ e60456db5380840a586654344003d4e6 lib/core/readlineng.py
4545
5ef56abb8671c2ca6ceecb208258e360 lib/core/replication.py
4646
99a2b496b9d5b546b335653ca801153f lib/core/revision.py
4747
7c15dd2777af4dac2c89cab6df17462e lib/core/session.py
48-
e29f050364158cf2093dc24e281b351b lib/core/settings.py
48+
94590a9ec85ca3c9f9bb04ee910db4e0 lib/core/settings.py
4949
7af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py
5050
23657cd7d924e3c6d225719865855827 lib/core/subprocessng.py
5151
c3ace7874a536d801f308cf1fd03df99 lib/core/target.py
@@ -99,7 +99,7 @@ cc9c82cfffd8ee9b25ba3af6284f057e lib/techniques/__init__.py
9999
cc9c82cfffd8ee9b25ba3af6284f057e lib/techniques/union/__init__.py
100100
f5d6884cdeed28281187c111d3e49e3b lib/techniques/union/test.py
101101
12ce1bb7ee5f1f23f58be12fe9fa8472 lib/techniques/union/use.py
102-
26c1babc6289fac9056f8b21d10f3bb1 lib/utils/api.py
102+
f48873f749b53a9e475292590ba7ed2e lib/utils/api.py
103103
8cdc8c1e663c3b92a756fb7b02cc3c02 lib/utils/crawler.py
104104
84604ae4cf0f31602b412036b51f5dae lib/utils/deps.py
105105
4dfd3a95e73e806f62372d63bc82511f lib/utils/getch.py

0 commit comments

Comments
 (0)