Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 398b826

Browse files
committed
little explanation
1 parent dc651d5 commit 398b826

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/controller/checks.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,9 @@ def checkSqlInjection(place, parameter, value):
356356
_ = Request.queryPage(reqPayload, place, noteResponseTime = False)
357357
duration = calculateDeltaSeconds(start)
358358

359-
# Reference: http://www.answers.com/topic/standard-deviation
359+
# 99.9999999997440% of all non-time affected durations
360+
# should be inside 7*stdev(durations)
361+
# (Reference: http://www.answers.com/topic/standard-deviation)
360362
trueResult = (duration >= 7 * stdev(kb.responseTimes))
361363

362364
if trueResult:

0 commit comments

Comments
 (0)