This commit is contained in:
Miroslav Stampar
2016-09-28 09:55:14 +02:00
parent 617509869d
commit e5a758bdf4
3 changed files with 4 additions and 4 deletions

View File

@@ -214,7 +214,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
if result and timeBasedCompare:
result = threadData.lastCode == kb.injection.data[kb.technique].trueCode
if not result:
warnMsg = "detected HTTP code '%d' in validation phase is differing from expected '%d'" % (threadData.lastCode, kb.injection.data[kb.technique].trueCode)
warnMsg = "detected HTTP code '%s' in validation phase is differing from expected '%s'" % (threadData.lastCode, kb.injection.data[kb.technique].trueCode)
singleTimeWarnMessage(warnMsg)
incrementCounter(kb.technique)