diff --git a/plugins/generic/enumeration.py b/plugins/generic/enumeration.py
index 11edac152..269dc5ff1 100644
--- a/plugins/generic/enumeration.py
+++ b/plugins/generic/enumeration.py
@@ -944,18 +944,16 @@ class Enumeration:
if kb.dbms in ( "MySQL", "PostgreSQL" ):
query = rootQuery["blind"]["query"] % (column, conf.db,
- conf.tbl, colList[0],
- index)
+ conf.tbl, index)
elif kb.dbms == "Oracle":
query = rootQuery["blind"]["query"] % (column, column,
conf.tbl.upper(),
- colList[0], index)
+ index)
elif kb.dbms == "Microsoft SQL Server":
query = rootQuery["blind"]["query"] % (column, conf.db,
conf.tbl, column,
index, column,
- conf.db, conf.tbl,
- colList[0], colList[0])
+ conf.db, conf.tbl)
value = inject.getValue(query, inband=False)
diff --git a/xml/queries.xml b/xml/queries.xml
index ff0970b47..6cb4474c2 100644
--- a/xml/queries.xml
+++ b/xml/queries.xml
@@ -46,7 +46,7 @@
-
+
@@ -93,7 +93,7 @@
-
+
@@ -141,7 +141,7 @@
-
+
@@ -165,29 +165,29 @@
-
+
-
+
-
+
-
+
-
+
-
+