mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Fix for an Issue #154
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user