code refactoring

This commit is contained in:
Miroslav Stampar
2010-12-09 16:49:02 +00:00
parent 7e2984b4b6
commit 0eb2c408a9
11 changed files with 22 additions and 22 deletions

View File

@@ -7,6 +7,7 @@ Copyright (c) 2006-2010 sqlmap developers (http://sqlmap.sourceforge.net/)
See the file 'doc/COPYING' for copying permission
"""
from lib.core.enums import DBMS
from lib.core.settings import MYSQL_SYSTEM_DBS
from lib.core.unescaper import unescaper
@@ -38,4 +39,5 @@ class MySQLMap(Syntax, Fingerprint, Enumeration, Filesystem, Miscellaneous, Take
Miscellaneous.__init__(self)
Takeover.__init__(self)
unescaper[DBMS.MYSQL] = MySQLMap.unescape
unescaper.setUnescape(MySQLMap.unescape)