Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0e59d9 commit 5aaf7f1Copy full SHA for 5aaf7f1
1 file changed
lib/takeover/metasploit.py
@@ -515,6 +515,7 @@ def _controlMsfCmd(self, proc, func):
515
if "shell" in self.payloadStr:
516
send_all(proc, "whoami\n" if Backend.isOs(OS.WINDOWS) else "uname -a ; id\n")
517
if conf.liveTest:
518
+ time.sleep(2)
519
send_all(proc, "exit\n")
520
elif time.time() - start_time > METASPLOIT_SESSION_TIMEOUT:
521
proc.kill()
0 commit comments