prioritization of tests based on DBMS error messages and some comments in common.py

This commit is contained in:
Miroslav Stampar
2010-12-24 10:55:41 +00:00
parent a09716a701
commit 23dc408901
2 changed files with 49 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ from lib.core.agent import agent
from lib.core.common import beep
from lib.core.common import extractRegexResult
from lib.core.common import getCompiledRegex
from lib.core.common import getInjectionTests
from lib.core.common import getUnicode
from lib.core.common import popValue
from lib.core.common import pushValue
@@ -77,7 +78,7 @@ def checkSqlInjection(place, parameter, value):
# Set the flag for sql injection test mode
kb.testMode = True
for test in conf.tests:
for test in getInjectionTests():
try:
title = test.title
stype = test.stype