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

Skip to content

Commit 98864e4

Browse files
committed
minor "fix"
1 parent 8b510c5 commit 98864e4

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-
elif time.time() - start_time > METASPLOIT_SESSION_TIMEOUT:
525+
if 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)