mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 21:24:13 +03:00
Fixes #3687
This commit is contained in:
parent
dd450b53f4
commit
23a7aea2db
|
@ -514,8 +514,8 @@ def checkSqlInjection(place, parameter, value):
|
||||||
seqMatcher = getCurrentThreadData().seqMatcher
|
seqMatcher = getCurrentThreadData().seqMatcher
|
||||||
|
|
||||||
for current in (kb.originalPage, kb.heuristicPage):
|
for current in (kb.originalPage, kb.heuristicPage):
|
||||||
seqMatcher.set_seq1(current)
|
seqMatcher.set_seq1(current or "")
|
||||||
seqMatcher.set_seq2(falsePage)
|
seqMatcher.set_seq2(falsePage or "")
|
||||||
ratio *= seqMatcher.quick_ratio()
|
ratio *= seqMatcher.quick_ratio()
|
||||||
|
|
||||||
if ratio == 1.0:
|
if ratio == 1.0:
|
||||||
|
|
|
@ -18,7 +18,7 @@ from lib.core.enums import OS
|
||||||
from thirdparty.six import unichr as _unichr
|
from thirdparty.six import unichr as _unichr
|
||||||
|
|
||||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||||
VERSION = "1.3.5.118"
|
VERSION = "1.3.5.119"
|
||||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
||||||
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user