attempt to handle standard input from --live-test

This commit is contained in:
Bernardo Damele
2012-12-20 09:30:48 +00:00
parent 2b6ee06de0
commit ac77724970
2 changed files with 5 additions and 2 deletions

View File

@@ -486,6 +486,9 @@ class Metasploit:
else:
proc.stdin.write("uname -a ; id\n")
if conf.liveTest:
proc.stdin.write("exit\n")
metSess = re.search("Meterpreter session ([\d]+) opened", out)
if metSess: