mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-12 02:22:55 +00:00
Fixes #6033
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user