Some more dict refactorings

This commit is contained in:
Miroslav Stampar
2012-08-21 11:30:01 +02:00
parent 01f481c332
commit 1bcf5a6b88
6 changed files with 25 additions and 25 deletions

View File

@@ -24,7 +24,7 @@ from lib.core.common import unsafeSQLIdentificatorNaming
from lib.core.data import conf
from lib.core.data import kb
from lib.core.data import logger
from lib.core.dicts import dumpReplacements
from lib.core.dicts import DUMP_REPLACEMENTS
from lib.core.enums import DBMS
from lib.core.exception import sqlmapGenericException
from lib.core.exception import sqlmapValueException
@@ -444,7 +444,7 @@ class Dump:
value = u''
else:
value = getUnicode(info["values"][i])
value = dumpReplacements.get(value, value)
value = DUMP_REPLACEMENTS.get(value, value)
values.append(value)
maxlength = int(info["length"])