diff --git a/lib/techniques/blind/inference.py b/lib/techniques/blind/inference.py
index cdd1196f3..07b568726 100644
--- a/lib/techniques/blind/inference.py
+++ b/lib/techniques/blind/inference.py
@@ -135,7 +135,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
hintlock.release()
if hintValue is not None and len(hintValue) >= idx:
- if Backend.getIdentifiedDbms() in (DBMS.SQLITE, DBMS.ACCESS, DBMS.MAXDB):
+ if Backend.getIdentifiedDbms() in (DBMS.SQLITE, DBMS.ACCESS, DBMS.MAXDB, DBMS.DB2):
posValue = hintValue[idx-1]
else:
posValue = ord(hintValue[idx-1])
diff --git a/xml/queries.xml b/xml/queries.xml
index bd7c5772c..eaeb00438 100644
--- a/xml/queries.xml
+++ b/xml/queries.xml
@@ -564,8 +564,7 @@
-
-
+
@@ -602,7 +601,7 @@
-
+