Skip to content

Commit 006c749

Browse files
author
Brent Cook
committed
directly check to match the former definition of aggressive?
1 parent 743bea9 commit 006c749

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/exploit/http/server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def cli=(cli)
7373
end
7474

7575
def print_prefix
76-
if cli && (respond_to?(:aggressive) && !aggressive?)
76+
if cli && !(stance == Stance::Aggressive || stance.include?(Stance::Aggressive))
7777
super + "#{cli.peerhost.ljust(16)} #{self.shortname} - "
7878
else
7979
super

0 commit comments

Comments
 (0)