cosmetics

This commit is contained in:
Miroslav Stampar 2010-12-08 14:29:09 +00:00
parent ed09c53ee4
commit 95b48746a6

View File

@ -1540,7 +1540,7 @@ def wasLastRequestDelayed():
""" """
# 99.9999999997440% of all non time-based sql injection # 99.9999999997440% of all non time-based sql injection
# affected durations should be inside +-7*stdev(durations) # affected response times should be inside +-7*stdev([normal response times])
# (Math reference: http://www.answers.com/topic/standard-deviation) # (Math reference: http://www.answers.com/topic/standard-deviation)
return (kb.lastQueryDuration >= average(kb.responseTimes) + 7 * stdev(kb.responseTimes)) return (kb.lastQueryDuration >= average(kb.responseTimes) + 7 * stdev(kb.responseTimes))