mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
minor bug fix
This commit is contained in:
parent
63bc4ce116
commit
94d43a4135
|
@ -411,7 +411,7 @@ def checkSqlInjection(place, parameter, value):
|
|||
if not Backend.getIdentifiedDbms():
|
||||
warnMsg = "using unescaped version of the test "
|
||||
warnMsg += "because of zero knowledge of the "
|
||||
warnMsg += "back-end DBMS. you can try to "
|
||||
warnMsg += "back-end DBMS. You can try to "
|
||||
warnMsg += "explicitly set it using the --dbms "
|
||||
warnMsg += "option"
|
||||
singleTimeWarnMessage(warnMsg)
|
||||
|
|
|
@ -8,9 +8,9 @@ See the file 'doc/COPYING' for copying permission
|
|||
"""
|
||||
|
||||
import codecs
|
||||
import cStringIO
|
||||
import re
|
||||
import os
|
||||
import StringIO
|
||||
import threading
|
||||
|
||||
from lib.core.common import Backend
|
||||
|
@ -75,7 +75,7 @@ class Dump:
|
|||
def setOutputFile(self):
|
||||
self.__outputFile = "%s%slog" % (conf.outputPath, os.sep)
|
||||
self.__outputFP = codecs.open(self.__outputFile, "ab", UNICODE_ENCODING)
|
||||
self.__outputBP = cStringIO.StringIO()
|
||||
self.__outputBP = StringIO.StringIO()
|
||||
|
||||
def getOutputFile(self):
|
||||
return self.__outputFile
|
||||
|
|
Loading…
Reference in New Issue
Block a user