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

Skip to content

Commit 3b36992

Browse files
committed
Minor patch related to the #3257
1 parent 68a8309 commit 3b36992

3 files changed

Lines changed: 5 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.2.9.39"
22+
VERSION = "1.2.9.40"
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/core/threads.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def exceptionHandledFunction(threadFunction, silent=False):
9595
if not silent:
9696
logger.error("thread %s: %s" % (threading.currentThread().getName(), ex.message))
9797

98-
if conf.verbose > 1:
98+
if conf.get("verbose") > 1:
9999
traceback.print_exc()
100100

101101
def setDaemon(thread):
@@ -189,7 +189,7 @@ def runThreads(numThreads, threadFunction, cleanupFunction=None, forwardExceptio
189189
kb.threadException = True
190190
logger.error("thread %s: %s" % (threading.currentThread().getName(), ex.message))
191191

192-
if conf.verbose > 1:
192+
if conf.get("verbose") > 1:
193193
traceback.print_exc()
194194

195195
except:

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py
5050
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
5151
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
5252
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
53-
bae340b4a0f79271c0690deff7d849a1 lib/core/settings.py
53+
495854418b62c5ad47ae1eb0ac891976 lib/core/settings.py
5454
dd68a9d02fccb4fa1428b20e15b0db5d lib/core/shell.py
5555
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5656
62bc180e3e828949ffb342a8f756c183 lib/core/target.py
5757
72d499ca8d792e90a1ebfb2ad2341a51 lib/core/testing.py
58-
e896992e4db26605ab1e73615b1f9434 lib/core/threads.py
58+
29efb66f3c444c09d29925cf552851cd lib/core/threads.py
5959
c40758411bb0bd68764d78e0bb72bd0f lib/core/unescaper.py
6060
b35636650cfe721f5cc47fb91737c061 lib/core/update.py
6161
e772deb63270375e685fa5a7b775c382 lib/core/wordlist.py

0 commit comments

Comments
 (0)