mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
more on issue #742
This commit is contained in:
parent
8ce98ae22c
commit
1218e694ef
|
@ -181,7 +181,7 @@ class Filesystem(GenericFilesystem):
|
||||||
logger.debug("executing the PowerShell script to write the %s file" % dFile)
|
logger.debug("executing the PowerShell script to write the %s file" % dFile)
|
||||||
|
|
||||||
commands = ("powershell -ExecutionPolicy ByPass -File \"%s\"" % randPSScriptPath,
|
commands = ("powershell -ExecutionPolicy ByPass -File \"%s\"" % randPSScriptPath,
|
||||||
"del /F /Q \"%s\"" % (randPSScriptPath, randPSScriptPath))
|
"del /F /Q \"%s\"" % randPSScriptPath)
|
||||||
complComm = " & ".join(command for command in commands)
|
complComm = " & ".join(command for command in commands)
|
||||||
|
|
||||||
self.execCmd(complComm)
|
self.execCmd(complComm)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user