From 006c749e6a3be5692a3fca2e76796645b786dd03 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Sun, 25 Sep 2016 23:57:13 -0400 Subject: [PATCH] directly check to match the former definition of aggressive? --- lib/msf/core/exploit/http/server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/msf/core/exploit/http/server.rb b/lib/msf/core/exploit/http/server.rb index 06346e6224..7cdcce6559 100644 --- a/lib/msf/core/exploit/http/server.rb +++ b/lib/msf/core/exploit/http/server.rb @@ -73,7 +73,7 @@ module Exploit::Remote::HttpServer end def print_prefix - if cli && (respond_to?(:aggressive) && !aggressive?) + if cli && !(stance == Stance::Aggressive || stance.include?(Stance::Aggressive)) super + "#{cli.peerhost.ljust(16)} #{self.shortname} - " else super