Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f92b76a

Browse files
committed
Minor bug fix
1 parent 374b9ba commit f92b76a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

plugins/generic/enumeration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,16 +1041,16 @@ def dumpAll(self):
10411041

10421042
def sqlQuery(self, query):
10431043
output = None
1044-
selectQuery = False
1044+
selectQuery = True
10451045
sqlType = None
10461046

10471047
for sqlTitle, sqlStatements in SQL_STATEMENTS.items():
10481048
for sqlStatement in sqlStatements:
10491049
if query.lower().startswith(sqlStatement):
10501050
sqlType = sqlTitle
10511051

1052-
if sqlTitle == "SQL SELECT statement":
1053-
selectQuery = True
1052+
if sqlTitle != "SQL SELECT statement":
1053+
selectQuery = False
10541054

10551055
break
10561056

0 commit comments

Comments
 (0)