Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 374b9ba commit f92b76aCopy full SHA for f92b76a
1 file changed
plugins/generic/enumeration.py
@@ -1041,16 +1041,16 @@ def dumpAll(self):
1041
1042
def sqlQuery(self, query):
1043
output = None
1044
- selectQuery = False
+ selectQuery = True
1045
sqlType = None
1046
1047
for sqlTitle, sqlStatements in SQL_STATEMENTS.items():
1048
for sqlStatement in sqlStatements:
1049
if query.lower().startswith(sqlStatement):
1050
sqlType = sqlTitle
1051
1052
- if sqlTitle == "SQL SELECT statement":
1053
- selectQuery = True
+ if sqlTitle != "SQL SELECT statement":
+ selectQuery = False
1054
1055
break
1056
0 commit comments