Skip to content

Commit 63977eb

Browse files
committed
Minor update
1 parent e393e1b commit 63977eb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/core/common.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3079,6 +3079,8 @@ def extractRegexResult(regex, content, flags=0):
30793079
30803080
>>> extractRegexResult(r'a(?P<result>[^g]+)g', 'abcdefg')
30813081
'bcdef'
3082+
>>> extractRegexResult(r'a(?P<result>[^g]+)g', 'ABCDEFG', re.I)
3083+
'BCDEF'
30823084
"""
30833085

30843086
retVal = None

lib/core/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from thirdparty.six import unichr as _unichr
2121

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.6.2.5"
23+
VERSION = "1.6.2.6"
2424
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2525
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2626
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
@@ -592,7 +592,7 @@
592592
REFLECTIVE_MISS_THRESHOLD = 20
593593

594594
# Regular expression used for extracting HTML title
595-
HTML_TITLE_REGEX = r"<title>(?P<result>[^<]+)</title>"
595+
HTML_TITLE_REGEX = r"(?i)<title>(?P<result>[^<]+)</title>"
596596

597597
# Table used for Base64 conversion in WordPress hash cracking routine
598598
ITOA64 = "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"

0 commit comments

Comments
 (0)