directly check to match the former definition of aggressive?
parent
743bea912a
commit
006c749e6a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue