diff --git a/lib/msf/core/exploit/http/server.rb b/lib/msf/core/exploit/http/server.rb index d500a1b336..6a101b9316 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 && !aggressive? + if cli && (respond_to?(:aggressive) && !aggressive?) super + "#{cli.peerhost.ljust(16)} #{self.shortname} - " else super