mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +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():
|
if not Backend.getIdentifiedDbms():
|
||||||
warnMsg = "using unescaped version of the test "
|
warnMsg = "using unescaped version of the test "
|
||||||
warnMsg += "because of zero knowledge of the "
|
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 += "explicitly set it using the --dbms "
|
||||||
warnMsg += "option"
|
warnMsg += "option"
|
||||||
singleTimeWarnMessage(warnMsg)
|
singleTimeWarnMessage(warnMsg)
|
||||||
|
|
|
@ -8,9 +8,9 @@ See the file 'doc/COPYING' for copying permission
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import codecs
|
import codecs
|
||||||
import cStringIO
|
|
||||||
import re
|
import re
|
||||||
import os
|
import os
|
||||||
|
import StringIO
|
||||||
import threading
|
import threading
|
||||||
|
|
||||||
from lib.core.common import Backend
|
from lib.core.common import Backend
|
||||||
|
@ -75,7 +75,7 @@ class Dump:
|
||||||
def setOutputFile(self):
|
def setOutputFile(self):
|
||||||
self.__outputFile = "%s%slog" % (conf.outputPath, os.sep)
|
self.__outputFile = "%s%slog" % (conf.outputPath, os.sep)
|
||||||
self.__outputFP = codecs.open(self.__outputFile, "ab", UNICODE_ENCODING)
|
self.__outputFP = codecs.open(self.__outputFile, "ab", UNICODE_ENCODING)
|
||||||
self.__outputBP = cStringIO.StringIO()
|
self.__outputBP = StringIO.StringIO()
|
||||||
|
|
||||||
def getOutputFile(self):
|
def getOutputFile(self):
|
||||||
return self.__outputFile
|
return self.__outputFile
|
||||||
|
|
Loading…
Reference in New Issue
Block a user