Skip to content

Commit 914b449

Browse files
committed
Fixing CI/CD issues
1 parent 00ca27c commit 914b449

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

data/txt/sha256sums.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ c1cb56f2a43e9f2f6b25d5f3d504e856ea21df6fc14af5e37b1000feef2bdb5a lib/core/optio
188188
48797d6c34dd9bb8a53f7f3794c85f4288d82a9a1d6be7fcf317d388cb20d4b3 lib/core/replication.py
189189
0b8c38a01bb01f843d94a6c5f2075ee47520d0c4aa799cecea9c3e2c5a4a23a6 lib/core/revision.py
190190
888daba83fd4a34e9503fe21f01fef4cc730e5cde871b1d40e15d4cbc847d56c lib/core/session.py
191-
fa159923f1de01903b0c2f20f735a5fbf747a0d9a9c133a9ed7bab6106cc171c lib/core/settings.py
191+
610650be1f560c70944d801a355330c9315ab218e1ded611a054d907d6c05a87 lib/core/settings.py
192192
cd5a66deee8963ba8e7e9af3dd36eb5e8127d4d68698811c29e789655f507f82 lib/core/shell.py
193193
bcb5d8090d5e3e0ef2a586ba09ba80eef0c6d51feb0f611ed25299fbb254f725 lib/core/subprocessng.py
194194
d35650179816193164a5f177102f18379dfbe6bb6d40fbb67b78d907b41c8038 lib/core/target.py
@@ -248,7 +248,7 @@ a94958be0ec3e9d28d8171813a6a90655a9ad7e6aa33c661e8d8ebbfcf208dbb lib/utils/deps
248248
51cfab194cd5b6b24d62706fb79db86c852b9e593f4c55c15b35f175e70c9d75 lib/utils/getch.py
249249
853c3595e1d2efc54b8bfb6ab12c55d1efc1603be266978e3a7d96d553d91a52 lib/utils/gui.py
250250
366e6fd5356fae7e3f2467c070d064b6695be80b50f1530ea3c01e86569b58b2 lib/utils/har.py
251-
1b6a477b9fe4b2c4efdc2b6aa18503bb92210854f3bac81f6494d5adedc68141 lib/utils/hashdb.py
251+
a1a1ccd5ec29a6a884cfa8264d4e0f7e0b6a0760c692eb402805f926da41e6ee lib/utils/hashdb.py
252252
84bf572a9e7915e91dbffea996e1a7b749392725f1ad7f412d0ff48c636a2896 lib/utils/hash.py
253253
1966ca704961fb987ab757f0a4afddbf841d1a880631b701487c75cef63d60c3 lib/utils/__init__.py
254254
22ba65391b0a73b1925e5becf8ddab6ba73a196d86e351a2263509aad6676bd7 lib/utils/pivotdumptable.py

lib/core/settings.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
import codecs
99
import os
10+
import platform
1011
import random
1112
import re
1213
import string
@@ -19,7 +20,7 @@
1920
from thirdparty import six
2021

2122
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.10.1.83"
23+
VERSION = "1.10.1.84"
2324
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2425
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2526
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
@@ -259,6 +260,7 @@
259260
PLATFORM = os.name
260261
PYVERSION = sys.version.split()[0]
261262
IS_WIN = PLATFORM == "nt"
263+
IS_PYPY = platform.python_implementation() == "PyPy"
262264

263265
# Check if running in terminal
264266
IS_TTY = hasattr(sys.stdout, "fileno") and os.isatty(sys.stdout.fileno())

lib/utils/hashdb.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
from lib.core.settings import HASHDB_FLUSH_THRESHOLD_ITEMS
2828
from lib.core.settings import HASHDB_FLUSH_THRESHOLD_TIME
2929
from lib.core.settings import HASHDB_RETRIEVE_RETRIES
30+
from lib.core.settings import IS_PYPY
3031
from lib.core.threads import getCurrentThreadData
3132
from thirdparty import six
3233

@@ -45,7 +46,8 @@ def _get_cursor(self):
4546
if threadData.hashDBCursor is None:
4647
try:
4748
connection = sqlite3.connect(self.filepath, timeout=10, isolation_level=None, check_same_thread=False)
48-
connection.execute("PRAGMA journal_mode=WAL")
49+
if not IS_PYPY:
50+
connection.execute("PRAGMA journal_mode=WAL")
4951
connection.execute("PRAGMA synchronous=NORMAL")
5052
connection.execute("PRAGMA busy_timeout=10000")
5153
self._connections.append(connection)

0 commit comments

Comments
 (0)