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

Skip to content

Commit 133e2c8

Browse files
committed
Trivial update
1 parent 38c3410 commit 133e2c8

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

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.5.3.13"
21+
VERSION = "1.5.3.14"
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)

lib/core/testing.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,11 +208,15 @@ def _thread():
208208
if any(_ in lines[j] for _ in ("googleDork",)):
209209
continue
210210

211+
if re.search(r"= (True|False)", lines[j]):
212+
lines[j] = lines[j].replace(" = False", " = True")
213+
continue
214+
211215
if lines[j].strip().endswith('='):
212216
lines[j] += random.sample(("True", "False", randomStr(), str(randomInt())), 1)[0]
213217

214218
k = random.randint(0, len(lines) - 1)
215-
if '=' in lines[k]:
219+
if '=' in lines[k] and not re.search(r"= (True|False)", lines[k]):
216220
lines[k] += chr(random.randint(0, 255))
217221

218222
open(config, "w+").write("\n".join(lines))

0 commit comments

Comments
 (0)