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

Skip to content

Commit e2d3187

Browse files
committed
Fixes #2576
1 parent b498077 commit e2d3187

3 files changed

Lines changed: 4 additions & 4 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.1.6.12"
22+
VERSION = "1.1.6.13"
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def __init__(self, database=None):
7070
self.cursor = None
7171

7272
def connect(self, who="server"):
73-
self.connection = sqlite3.connect(self.database, timeout=3, isolation_level=None)
73+
self.connection = sqlite3.connect(self.database, timeout=3, isolation_level=None, check_same_thread=False)
7474
self.cursor = self.connection.cursor()
7575
logger.debug("REST-JSON API %s connected to IPC database" % who)
7676

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ f1531be15ed98555a9010e2db3c9da75 lib/core/optiondict.py
4646
d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
4747
785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
4848
40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
49-
52466f71e47a7aa9e94d05790b148c03 lib/core/settings.py
49+
d01b255e9b1e3005ad02d9c7d4cf2fe5 lib/core/settings.py
5050
d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
5151
2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
5252
04cca8a05faef752c98d1a775d98a0e6 lib/core/target.py
@@ -98,7 +98,7 @@ d3da4c7ceaf57c4687a052d58722f6bb lib/techniques/dns/use.py
9898
310efc965c862cfbd7b0da5150a5ad36 lib/techniques/union/__init__.py
9999
d71e48e6fd08f75cc612bf8b260994ce lib/techniques/union/test.py
100100
db3090ff9a740ba096ba676fcf44ebfc lib/techniques/union/use.py
101-
1f4c7000cc2a4e75a53c5f39c1a5f8b5 lib/utils/api.py
101+
a73c3ddd0de359507a8ad59b363aa963 lib/utils/api.py
102102
7d10ba0851da8ee9cd3c140dcd18798e lib/utils/brute.py
103103
ed70f1ca9113664043ec9e6778e48078 lib/utils/crawler.py
104104
ba12c69a90061aa14d848b8396e79191 lib/utils/deps.py

0 commit comments

Comments
 (0)