mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
prioritization of tests based on DBMS error messages and some comments in common.py
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user