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 eb73612 commit ac8b483Copy full SHA for ac8b483
lib/msf/core/handler/reverse_tcp.rb
@@ -91,11 +91,10 @@ def start_handler
91
client = self.listener_sock.accept
92
if ! client
93
wlog("ReverseTcpHandlerListener-#{local_port}: No client received in call to accept, exiting...")
94
- break
+ else
95
+ self.pending_connections += 1
96
+ lqueue.push(client)
97
end
-
- self.pending_connections += 1
98
- lqueue.push(client)
99
rescue ::Exception
100
wlog("ReverseTcpHandlerListener-#{local_port}: Exception raised during listener accept: #{$!}\n\n#{$@.join("\n")}")
101
break
0 commit comments