little explanation

This commit is contained in:
Miroslav Stampar 2010-12-07 19:25:26 +00:00
parent dc651d59ec
commit 398b82644a

View File

@ -356,7 +356,9 @@ def checkSqlInjection(place, parameter, value):
_ = Request.queryPage(reqPayload, place, noteResponseTime = False) _ = Request.queryPage(reqPayload, place, noteResponseTime = False)
duration = calculateDeltaSeconds(start) duration = calculateDeltaSeconds(start)
# Reference: http://www.answers.com/topic/standard-deviation # 99.9999999997440% of all non-time affected durations
# should be inside 7*stdev(durations)
# (Reference: http://www.answers.com/topic/standard-deviation)
trueResult = (duration >= 7 * stdev(kb.responseTimes)) trueResult = (duration >= 7 * stdev(kb.responseTimes))
if trueResult: if trueResult: