Minor bug fix

This commit is contained in:
Bernardo Damele 2010-01-29 19:32:02 +00:00
parent 767c67e37a
commit e8b0fd90c8
2 changed files with 2 additions and 2 deletions

View File

@ -453,7 +453,7 @@ class Metasploit:
if conf.privEsc: if conf.privEsc:
print print
infoMsg = "trying to escalate privileges using Meterpreter" infoMsg = "trying to escalate privileges using Meterpreter "
infoMsg += "'getsystem' command which tries different " infoMsg += "'getsystem' command which tries different "
infoMsg += "techniques, including kitrap0d" infoMsg += "techniques, including kitrap0d"
logger.info(infoMsg) logger.info(infoMsg)

View File

@ -79,7 +79,7 @@ class UPX:
pollProcess(process) pollProcess(process)
upxStdout, upxStderr = process.communicate() upxStdout, upxStderr = process.communicate()
if (self, hasattr('__upxTempExe')): if hasattr(self, '__upxTempExe'):
os.remove(self.__upxTempExe.name) os.remove(self.__upxTempExe.name)
msg = "failed to compress the file" msg = "failed to compress the file"