mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
improving "boolean detection" by automatic recognition of convenient --string candidate
This commit is contained in:
parent
698b7a15d9
commit
119eec3598
5 changed files with 32 additions and 3 deletions
|
|
@ -45,10 +45,15 @@ def _adjust(condition, getRatioValue):
|
|||
return retVal
|
||||
|
||||
def _comparison(page, headers, code, getRatioValue, pageLength):
|
||||
threadData = getCurrentThreadData()
|
||||
|
||||
if kb.testMode:
|
||||
threadData.lastComparisonPage = page
|
||||
|
||||
if page is None and pageLength is None:
|
||||
return None
|
||||
|
||||
seqMatcher = getCurrentThreadData().seqMatcher
|
||||
seqMatcher = threadData.seqMatcher
|
||||
seqMatcher.set_seq1(kb.pageTemplate)
|
||||
|
||||
if any([conf.string, conf.regexp]):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue