diff --git a/lib/msf/core/handler/reverse_https.rb b/lib/msf/core/handler/reverse_https.rb index fa64753c62..e3a6711c8b 100644 --- a/lib/msf/core/handler/reverse_https.rb +++ b/lib/msf/core/handler/reverse_https.rb @@ -302,7 +302,7 @@ protected resp.body = "" conn_id = $1 - if true # if not self.conn_ids.include?(conn_id) + if not self.conn_ids.include?(conn_id) print_status("Incoming orphaned session #{conn_id}, reattaching...") conn_ids << conn_id