Major bug fix to sql-query/sql-shell functionalities

This commit is contained in:
Bernardo Damele 2009-05-20 10:19:19 +00:00
parent 37d3b3adda
commit 440a52b84d

View File

@ -1098,8 +1098,6 @@ class Enumeration:
output = None output = None
sqlType = None sqlType = None
query = urlencode(query, convall=True)
for sqlTitle, sqlStatements in SQL_STATEMENTS.items(): for sqlTitle, sqlStatements in SQL_STATEMENTS.items():
for sqlStatement in sqlStatements: for sqlStatement in sqlStatements:
if query.lower().startswith(sqlStatement): if query.lower().startswith(sqlStatement):
@ -1119,6 +1117,8 @@ class Enumeration:
return output return output
else: else:
query = urlencode(query, convall=True)
if kb.stackedTest == None: if kb.stackedTest == None:
stackedTest() stackedTest()