code cleanup

This commit is contained in:
Bernardo Damele
2014-07-01 00:58:49 +01:00
parent b38bd1e7fd
commit 4e909a2a05
2 changed files with 2 additions and 1 deletions

View File

@@ -519,7 +519,7 @@ class Metasploit:
timeout = time.time() - start_time > METASPLOIT_SESSION_TIMEOUT
if not initialized:
match = re.search("session ([\d]+) opened", out)
match = re.search("Meterpreter session ([\d]+) opened", out)
if match:
self._loadMetExtensions(proc, match.group(1))