mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-05-06 16:53:44 +03:00
Fix for an Issue #154
This commit is contained in:
parent
4649450603
commit
59078bb1b8
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user