mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-03 11:45:46 +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
|
||||
|
||||
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 New Issue
Block a user