Skip to content

Commit 56fed01

Browse files
committed
Land rapid7#6599, fix silent failures in aux HttpServers
2 parents b868f7c + d7ba37d commit 56fed01

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 && !aggressive?
76+
if cli && (respond_to?(:aggressive) && !aggressive?)
7777
super + "#{cli.peerhost.ljust(16)} #{self.shortname} - "
7878
else
7979
super

0 commit comments

Comments
 (0)