mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-05-27 17:23:18 +03:00
minor fix
This commit is contained in:
parent
92817159dc
commit
061794650f
|
@ -75,13 +75,13 @@ class UPX:
|
||||||
logger.debug("executing local command: %s" % self.__upxCmd)
|
logger.debug("executing local command: %s" % self.__upxCmd)
|
||||||
process = execute(self.__upxCmd, shell=True, stdout=PIPE, stderr=STDOUT)
|
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"))
|
dataToStdout("\r[%s] [INFO] compression in progress " % time.strftime("%X"))
|
||||||
pollProcess(process)
|
pollProcess(process)
|
||||||
upxStdout, upxStderr = process.communicate()
|
upxStdout, upxStderr = process.communicate()
|
||||||
|
|
||||||
|
if (self, hasattr('__upxTempExe')):
|
||||||
|
os.remove(self.__upxTempExe.name)
|
||||||
|
|
||||||
msg = "failed to compress the file"
|
msg = "failed to compress the file"
|
||||||
|
|
||||||
if "NotCompressibleException" in upxStdout:
|
if "NotCompressibleException" in upxStdout:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user