mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 11:03:47 +03:00
Minor bug fix
This commit is contained in:
parent
374b9ba878
commit
f92b76a8b0
|
@ -1041,7 +1041,7 @@ class Enumeration:
|
|||
|
||||
def sqlQuery(self, query):
|
||||
output = None
|
||||
selectQuery = False
|
||||
selectQuery = True
|
||||
sqlType = None
|
||||
|
||||
for sqlTitle, sqlStatements in SQL_STATEMENTS.items():
|
||||
|
@ -1049,8 +1049,8 @@ class Enumeration:
|
|||
if query.lower().startswith(sqlStatement):
|
||||
sqlType = sqlTitle
|
||||
|
||||
if sqlTitle == "SQL SELECT statement":
|
||||
selectQuery = True
|
||||
if sqlTitle != "SQL SELECT statement":
|
||||
selectQuery = False
|
||||
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user