Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e623ee6 commit c5f3c0cCopy full SHA for c5f3c0c
1 file changed
lib/takeover/web.py
@@ -263,8 +263,8 @@ def webInit(self):
263
264
with open(filename, "w+") as f:
265
_ = decloak(os.path.join(paths.SQLMAP_SHELL_PATH, "stager.%s_" % self.webApi))
266
- _ = _.replace("WRITABLE_DIR", directory.replace('/', '\\\\') if Backend.isOs(OS.WINDOWS) else directory)
267
- f.write(utf8encode(_))
+ _ = _.replace("WRITABLE_DIR", utf8encode(directory.replace('/', '\\\\') if Backend.isOs(OS.WINDOWS) else directory))
+ f.write(_)
268
269
self.unionWriteFile(filename, self.webStagerFilePath, "text", forceCheck=True)
270
0 commit comments