Skip to content

Commit a54182a

Browse files
author
Brent Cook
committed
Land rapid7#5088: @rwhitcroft fix premature close on connect -i
2 parents 84411be + 8cbc98f commit a54182a

File tree

1 file changed

+2
-0
lines changed
  • lib/msf/ui/console/command_dispatcher

1 file changed

+2
-0
lines changed

lib/msf/ui/console/command_dispatcher/core.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,8 @@ def cmd_connect(*args)
629629
n2c.kill
630630
end
631631

632+
c2n.join
633+
n2c.join
632634

633635
sock.close rescue nil
634636
infile.close if infile

0 commit comments

Comments
 (0)