From d612d2a04077fb13acd122f1b1ac7044d3ef8ed7 Mon Sep 17 00:00:00 2001 From: Tod Beardsley Date: Wed, 22 Aug 2012 16:20:27 -0500 Subject: [PATCH] Reapplying commit d266dc60 Somewhere along the way, commit d266dc60315d18a107a230c531e6047031dab2ea was dropped. Reimplementing. --- lib/msf/core/handler/reverse_https.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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