directly check to match the former definition of aggressive?

bug/bundler_fix
Brent Cook 2016-09-25 23:57:13 -04:00
parent 743bea912a
commit 006c749e6a
1 changed files with 1 additions and 1 deletions

View File

@ -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