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

Skip to content

Commit db2e74a

Browse files
committed
Minor patch
1 parent 04708c6 commit db2e74a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/controller/checks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ def genCmpPayload():
600600
if candidates:
601601
candidates = sorted(candidates, key=len)
602602
for candidate in candidates:
603-
if re.match(r"\A\w+\Z", candidate):
603+
if re.match(r"\A\w{2,}\Z", candidate): # Note: length of 1 (e.g. --string=5) could cause trouble, especially in error message pages with partially reflected payload content
604604
break
605605

606606
conf.string = candidate

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.3.11.103"
21+
VERSION = "1.3.11.104"
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)

0 commit comments

Comments
 (0)