mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Fixes #6033
This commit is contained in:
parent
3fe094a4c3
commit
7ad4d6760b
3 changed files with 4 additions and 4 deletions
|
|
@ -153,7 +153,7 @@ class Takeover(Abstraction, Metasploit, ICMPsh, Registry):
|
|||
if os.path.exists(filename):
|
||||
try:
|
||||
with openFile(filename, "wb") as f:
|
||||
f.write("1")
|
||||
f.write(b"1")
|
||||
except IOError as ex:
|
||||
errMsg = "there has been a file opening/writing error "
|
||||
errMsg += "for filename '%s' ('%s')" % (filename, getSafeExString(ex))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue