This commit is contained in:
Miroslav Stampar
2017-03-24 14:20:18 +01:00
parent 4aae5d9a9d
commit 715763885d
3 changed files with 4 additions and 4 deletions

View File

@@ -620,7 +620,7 @@ class Metasploit:
pollProcess(process)
payloadStderr = process.communicate()[1]
match = re.search("(Total size:|Length:|succeeded with size) ([\d]+)", payloadStderr)
match = re.search("(Total size:|Length:|succeeded with size|Final size of exe file:) ([\d]+)", payloadStderr)
if match:
payloadSize = int(match.group(2))