diff --git a/lib/core/dicts.py b/lib/core/dicts.py
new file mode 100644
index 000000000..92367c5dc
--- /dev/null
+++ b/lib/core/dicts.py
@@ -0,0 +1,56 @@
+#!/usr/bin/env python
+
+"""
+$Id$
+
+Copyright (c) 2006-2010 sqlmap developers (http://sqlmap.sourceforge.net/)
+See the file 'doc/COPYING' for copying permission
+"""
+
+firebirdTypes = {
+ "261":"BLOB",
+ "14":"CHAR",
+ "40":"CSTRING",
+ "11":"D_FLOAT",
+ "27":"DOUBLE",
+ "10":"FLOAT",
+ "16":"INT64",
+ "8":"INTEGER",
+ "9":"QUAD",
+ "7":"SMALLINT",
+ "12":"DATE",
+ "13":"TIME",
+ "35":"TIMESTAMP",
+ "37":"VARCHAR"
+ }
+
+sybaseTypes = {
+ "14","floatn"
+ "8","float"
+ "15","datetimn"
+ "12","datetime"
+ "23","real"
+ "28","numericn"
+ "10","numeric"
+ "27","decimaln"
+ "26","decimal"
+ "17","moneyn"
+ "11","money"
+ "21","smallmoney"
+ "22","smalldatetime"
+ "13","intn"
+ "7","int"
+ "6","smallint"
+ "5","tinyint"
+ "16","bit"
+ "2","varchar"
+ "18","sysname"
+ "25","nvarchar"
+ "1","char"
+ "24","nchar"
+ "4","varbinary"
+ "80","timestamp"
+ "3","binary"
+ "19","text"
+ "20","image"
+ }
diff --git a/plugins/generic/enumeration.py b/plugins/generic/enumeration.py
index 5f5dba868..c61e4997e 100644
--- a/plugins/generic/enumeration.py
+++ b/plugins/generic/enumeration.py
@@ -36,6 +36,8 @@ from lib.core.data import kb
from lib.core.data import logger
from lib.core.data import paths
from lib.core.data import queries
+from lib.core.dicts import firebirdTypes
+from lib.core.dicts import sybaseTypes
from lib.core.enums import DBMS
from lib.core.enums import EXPECTED
from lib.core.enums import PAYLOAD
@@ -957,23 +959,6 @@ class Enumeration:
else:
return columnExists(paths.COMMON_COLUMNS)
- firebirdTypes = {
- "261":"BLOB",
- "14":"CHAR",
- "40":"CSTRING",
- "11":"D_FLOAT",
- "27":"DOUBLE",
- "10":"FLOAT",
- "16":"INT64",
- "8":"INTEGER",
- "9":"QUAD",
- "7":"SMALLINT",
- "12":"DATE",
- "13":"TIME",
- "35":"TIMESTAMP",
- "37":"VARCHAR"
- }
-
rootQuery = queries[Backend.getIdentifiedDbms()].columns
condition = rootQuery.blind.condition if 'condition' in rootQuery.blind else None
diff --git a/xml/queries.xml b/xml/queries.xml
index 0387e6420..4a90a5b71 100644
--- a/xml/queries.xml
+++ b/xml/queries.xml
@@ -507,8 +507,8 @@
-
-
+
+