Skip to content

Commit ea622b8

Browse files
committed
Fixes latest CI/CD error
1 parent 503c7b6 commit ea622b8

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

data/txt/sha256sums.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ c4bfb493a03caf84dd362aec7c248097841de804b7413d0e1ecb8a90c8550bc0 lib/core/readl
188188
d1bd70c1a55858495c727fbec91e30af267459c8f64d50fabf9e4ee2c007e920 lib/core/replication.py
189189
1d0f80b0193ac5204527bfab4bde1a7aee0f693fd008e86b4b29f606d1ef94f3 lib/core/revision.py
190190
d2eb8e4b05ac93551272b3d4abfaf5b9f2d3ac92499a7704c16ed0b4f200db38 lib/core/session.py
191-
9ffdf1b4e618a2d335948321e592dbf02000e6bda5381bcfb96dba42142d08d1 lib/core/settings.py
191+
af73c025a795b39d4b48957422e2c6e73e3052f11fbab723ae6c03ec5c42e978 lib/core/settings.py
192192
1c5eab9494eb969bc9ce118a2ea6954690c6851cbe54c18373c723b99734bf09 lib/core/shell.py
193193
4eea6dcf023e41e3c64b210cb5c2efc7ca893b727f5e49d9c924f076bb224053 lib/core/subprocessng.py
194194
cdd352e1331c6b535e780f6edea79465cb55af53aa2114dcea0e8bf382e56d1a lib/core/target.py
@@ -247,7 +247,7 @@ af67d25e8c16b429a5b471d3c629dc1da262262320bf7cd68465d151c02def16 lib/utils/brut
247247
56b93ba38f127929346f54aa75af0db5f46f9502b16acfe0d674a209de6cad2d lib/utils/deps.py
248248
3aca7632d53ab2569ddef876a1b90f244640a53e19b304c77745f8ddb15e6437 lib/utils/getch.py
249249
4979120bbbc030eaef97147ee9d7d564d9683989059b59be317153cdaa23d85b lib/utils/har.py
250-
70231961e1d5888efa307552457fe3bc5fdc15e8c93206c1fa05f98e75e5ae5d lib/utils/hashdb.py
250+
656a716355c319b14eccbfc85cdeeda1ac89e713430c50f20e1502a688b4b1b6 lib/utils/hashdb.py
251251
8c9caffbd821ad9547c27095c8e55c398ea743b2e44d04b3572e2670389ccf5b lib/utils/hash.py
252252
ba862f0c96b1d39797fb21974599e09690d312b17a85e6639bee9d1db510f543 lib/utils/httpd.py
253253
4608f21a4333c162ab3c266c903fda4793cc5834de30d06affe9b7566dd09811 lib/utils/__init__.py

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from thirdparty import six
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.9.12.35"
22+
VERSION = "1.9.12.36"
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/hashdb.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
from lib.core.settings import HASHDB_FLUSH_THRESHOLD_TIME
2727
from lib.core.settings import HASHDB_RETRIEVE_RETRIES
2828
from lib.core.threads import getCurrentThreadData
29-
from lib.core.threads import getCurrentThreadName
3029
from thirdparty import six
3130

3231
class HashDB(object):
@@ -42,10 +41,9 @@ def _get_cursor(self):
4241

4342
if threadData.hashDBCursor is None:
4443
try:
45-
connection = sqlite3.connect(self.filepath, timeout=3, isolation_level=None, check_same_thread=False)
44+
connection = sqlite3.connect(self.filepath, timeout=10, isolation_level=None, check_same_thread=False)
4645
self._connections.append(connection)
4746
threadData.hashDBCursor = connection.cursor()
48-
threadData.hashDBCursor.execute("PRAGMA journal_mode=WAL")
4947
threadData.hashDBCursor.execute("CREATE TABLE IF NOT EXISTS storage (id INTEGER PRIMARY KEY, value TEXT)")
5048
connection.commit()
5149
except Exception as ex:

0 commit comments

Comments
 (0)