mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-08 13:41:29 +00:00
Fix for an Issue #154
This commit is contained in:
@@ -399,7 +399,8 @@ def __createTargetDirs():
|
|||||||
conf.outputPath = tempDir
|
conf.outputPath = tempDir
|
||||||
|
|
||||||
with open(os.path.join(conf.outputPath, "target.txt"), "w+") as f:
|
with open(os.path.join(conf.outputPath, "target.txt"), "w+") as f:
|
||||||
f.write(kb.originalUrls.get(conf.url) or conf.url or conf.hostname)
|
_ = kb.originalUrls.get(conf.url) or conf.url or conf.hostname
|
||||||
|
f.write(_.encode(UNICODE_ENCODING))
|
||||||
|
|
||||||
__createDumpDir()
|
__createDumpDir()
|
||||||
__createFilesDir()
|
__createFilesDir()
|
||||||
|
|||||||
Reference in New Issue
Block a user