Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1596b9e

Browse files
committed
revert
1 parent 98864e4 commit 1596b9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/takeover/metasploit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ def _controlMsfCmd(self, proc, func):
522522

523523
initialized = True
524524

525-
if time.time() - start_time > METASPLOIT_SESSION_TIMEOUT:
525+
elif time.time() - start_time > METASPLOIT_SESSION_TIMEOUT:
526526
proc.kill()
527527
errMsg = "timeout occurred while attempting "
528528
errMsg += "to open a remote session"

0 commit comments

Comments
 (0)