mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
minor fix
This commit is contained in:
@@ -75,13 +75,13 @@ class UPX:
|
||||
logger.debug("executing local command: %s" % self.__upxCmd)
|
||||
process = execute(self.__upxCmd, shell=True, stdout=PIPE, stderr=STDOUT)
|
||||
|
||||
if (self, hasattr('__upxTempExe')):
|
||||
os.remove(self.__upxTempExe.name)
|
||||
|
||||
dataToStdout("\r[%s] [INFO] compression in progress " % time.strftime("%X"))
|
||||
pollProcess(process)
|
||||
upxStdout, upxStderr = process.communicate()
|
||||
|
||||
if (self, hasattr('__upxTempExe')):
|
||||
os.remove(self.__upxTempExe.name)
|
||||
|
||||
msg = "failed to compress the file"
|
||||
|
||||
if "NotCompressibleException" in upxStdout:
|
||||
|
||||
Reference in New Issue
Block a user