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

Skip to content

Commit fced29a

Browse files
committed
Fixes #4285
1 parent 2e5e958 commit fced29a

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

lib/core/common.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
from lib.core.convert import getUnicode
5959
from lib.core.convert import htmlUnescape
6060
from lib.core.convert import stdoutEncode
61+
from lib.core.data import cmdLineOptions
6162
from lib.core.data import conf
6263
from lib.core.data import kb
6364
from lib.core.data import logger
@@ -3391,7 +3392,7 @@ def setOptimize():
33913392

33923393
# conf.predictOutput = True
33933394
conf.keepAlive = True
3394-
conf.threads = 3 if conf.threads < 3 else conf.threads
3395+
conf.threads = 3 if conf.threads < 3 and cmdLineOptions.threads is None else conf.threads
33953396
conf.nullConnection = not any((conf.data, conf.textOnly, conf.titles, conf.string, conf.notString, conf.regexp, conf.tor))
33963397

33973398
if not conf.nullConnection:

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.4.7.22"
21+
VERSION = "1.4.7.23"
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)