upgrade/fixes for direct DBMS access

This commit is contained in:
Miroslav Stampar
2012-02-07 10:46:55 +00:00
parent af71e3c563
commit f7bf1fbe94
9 changed files with 33 additions and 27 deletions

View File

@@ -29,6 +29,7 @@ from lib.core.enums import DBMS
from lib.core.exception import sqlmapValueException
from lib.core.replication import Replication
from lib.core.settings import BUFFERED_LOG_SIZE
from lib.core.settings import NULL
from lib.core.settings import TRIM_STDOUT_DUMP_SIZE
from lib.core.settings import UNICODE_ENCODING
@@ -455,7 +456,7 @@ class Dump:
value = getUnicode(info["values"][i])
if re.search("^[\ *]*$", value):
value = "NULL"
value = NULL
values.append(value)
maxlength = int(info["length"])