mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-07 17:02:39 +01:00
Fix for an Issue #154
This commit is contained in:
parent
4649450603
commit
59078bb1b8
1 changed files with 2 additions and 1 deletions
|
|
@ -399,7 +399,8 @@ def __createTargetDirs():
|
|||
conf.outputPath = tempDir
|
||||
|
||||
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()
|
||||
__createFilesDir()
|
||||
|
|
|
|||
Loading…
Reference in a new issue