mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Minor bug fix
This commit is contained in:
parent
10521b68eb
commit
e811101dce
2 changed files with 4 additions and 2 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue