mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
improving "boolean detection" by automatic recognition of convenient --string candidate
This commit is contained in:
@@ -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]):
|
||||
|
||||
Reference in New Issue
Block a user