From 398b82644a0eee33a28679a04c0fc808fa8038ff Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 7 Dec 2010 19:25:26 +0000 Subject: [PATCH] little explanation --- lib/controller/checks.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index f5420207f..61e5acc99 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -356,7 +356,9 @@ def checkSqlInjection(place, parameter, value): _ = Request.queryPage(reqPayload, place, noteResponseTime = False) 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)) if trueResult: