Skip to content

Commit d6a263d

Browse files
author
HD Moore
committed
Identify the hung host in the thread info
1 parent 538a520 commit d6a263d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/handler/reverse_tcp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def start_handler
162162
client = self.handler_queue.pop
163163
begin
164164
if datastore['ReverseListenerThreaded']
165-
self.conn_threads << framework.threads.spawn("ReverseTcpHandlerSession", false, client) { | client_copy|
165+
self.conn_threads << framework.threads.spawn("ReverseTcpHandlerSession-#{local_port}-#{client.peerhost}", false, client) { | client_copy|
166166
handle_connection(wrap_aes_socket(client_copy))
167167
}
168168
else

0 commit comments

Comments
 (0)