mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Potential patch for #3192
This commit is contained in:
parent
741ce9e3f0
commit
6bb486c1bf
3 changed files with 5 additions and 3 deletions
|
|
@ -671,6 +671,8 @@ def _createTargetDirs():
|
|||
|
||||
conf.outputPath = tempDir
|
||||
|
||||
conf.outputPath = getUnicode(conf.outputPath)
|
||||
|
||||
try:
|
||||
with codecs.open(os.path.join(conf.outputPath, "target.txt"), "w+", UNICODE_ENCODING) as f:
|
||||
f.write(kb.originalUrls.get(conf.url) or conf.url or conf.hostname)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue