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

Skip to content

Commit 3af15fe

Browse files
committed
Trivial update
1 parent 7a6e2df commit 3af15fe

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/core/option.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ def _setCrawler():
348348
try:
349349
target = targets[i]
350350

351-
if not re.search(r"\Ahttp[s]*://", target):
351+
if not re.search(r"(?i)\Ahttp[s]*://", target):
352352
target = "http://%s" % target
353353

354354
crawl(target)
@@ -490,7 +490,7 @@ def _findPageForms():
490490
try:
491491
target = targets[i].strip()
492492

493-
if not re.search(r"\Ahttp[s]*://", target):
493+
if not re.search(r"(?i)\Ahttp[s]*://", target):
494494
target = "http://%s" % target
495495

496496
page, _, _ = Request.getPage(url=target.strip(), cookie=conf.cookie, crawling=True, raise404=False)
@@ -1167,7 +1167,7 @@ def _setSafeVisit():
11671167
errMsg = "invalid format of a safe request file"
11681168
raise SqlmapSyntaxException(errMsg)
11691169
else:
1170-
if not re.search(r"\Ahttp[s]*://", conf.safeUrl):
1170+
if not re.search(r"(?i)\Ahttp[s]*://", conf.safeUrl):
11711171
if ":443/" in conf.safeUrl:
11721172
conf.safeUrl = "https://%s" % conf.safeUrl
11731173
else:

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.10.34"
21+
VERSION = "1.3.10.35"
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)