mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
Minor bug fix
This commit is contained in:
parent
10521b68eb
commit
e811101dce
|
@ -55,6 +55,7 @@ from lib.core.data import paths
|
|||
from lib.core.data import queries
|
||||
from lib.core.data import temp
|
||||
from lib.core.convert import urlencode
|
||||
from lib.core.convert import utf8decode
|
||||
from lib.core.exception import sqlmapFilePathException
|
||||
from lib.core.exception import sqlmapNoneDataException
|
||||
from lib.core.exception import sqlmapMissingDependence
|
||||
|
@ -381,7 +382,7 @@ def dataToOutFile(data):
|
|||
rFilePath = "%s%s%s" % (conf.filePath, os.sep, rFile)
|
||||
rFileFP = codecs.open(rFilePath, "wb", conf.dataEncoding)
|
||||
|
||||
rFileFP.write(data)
|
||||
rFileFP.write(utf8decode(data))
|
||||
rFileFP.flush()
|
||||
rFileFP.close()
|
||||
|
||||
|
|
|
@ -97,7 +97,8 @@ class Connect:
|
|||
requestMsg += "?%s" % params
|
||||
|
||||
elif multipart:
|
||||
#needed in this form because of potential circle dependency problem (option -> update -> connect -> option)
|
||||
# Needed in this form because of potential circle dependency
|
||||
# problem (option -> update -> connect -> option)
|
||||
from lib.core.option import proxyHandler
|
||||
|
||||
multipartOpener = urllib2.build_opener(proxyHandler, multipartpost.MultipartPostHandler)
|
||||
|
|
Loading…
Reference in New Issue
Block a user