Skip to content

Commit cadbf17

Browse files
committed
1 parent fc486c8 commit cadbf17

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

lib/core/dump.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@
1616
from lib.core.common import checkFile
1717
from lib.core.common import dataToDumpFile
1818
from lib.core.common import dataToStdout
19+
from lib.core.common import filterNone
1920
from lib.core.common import getSafeExString
2021
from lib.core.common import isListLike
2122
from lib.core.common import isMultiThreadMode
23+
from lib.core.common import isNoneValue
2224
from lib.core.common import normalizeUnicode
2325
from lib.core.common import openFile
2426
from lib.core.common import prioritySortColumns
@@ -200,9 +202,9 @@ def userSettings(self, header, userSettings, subHeader, content_type=None):
200202
self._write("%s:" % header)
201203

202204
for user in users:
203-
settings = userSettings[user]
205+
settings = filterNone(userSettings[user])
204206

205-
if settings is None:
207+
if isNoneValue(settings):
206208
stringSettings = ""
207209
else:
208210
stringSettings = " [%d]:" % len(settings)

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty.six import unichr as _unichr
1919

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

0 commit comments

Comments
 (0)