Skip to content

Commit 1218e69

Browse files
committed
more on issue sqlmapproject#742
1 parent 8ce98ae commit 1218e69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/dbms/mssqlserver/filesystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def _stackedWriteFilePS(self, tmpPath, wFileContent, dFile, fileType):
181181
logger.debug("executing the PowerShell script to write the %s file" % dFile)
182182

183183
commands = ("powershell -ExecutionPolicy ByPass -File \"%s\"" % randPSScriptPath,
184-
"del /F /Q \"%s\"" % (randPSScriptPath, randPSScriptPath))
184+
"del /F /Q \"%s\"" % randPSScriptPath)
185185
complComm = " & ".join(command for command in commands)
186186

187187
self.execCmd(complComm)

0 commit comments

Comments
 (0)