directly check to match the former definition of aggressive?
parent
743bea912a
commit
006c749e6a
|
@ -73,7 +73,7 @@ module Exploit::Remote::HttpServer
|
||||||
end
|
end
|
||||||
|
|
||||||
def print_prefix
|
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} - "
|
super + "#{cli.peerhost.ljust(16)} #{self.shortname} - "
|
||||||
else
|
else
|
||||||
super
|
super
|
||||||
|
|
Loading…
Reference in New Issue