We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 30d5b22 + 63d13f0 commit 3afe153Copy full SHA for 3afe153
lib/msf/core/exploit/http/server.rb
@@ -73,7 +73,8 @@ def cli=(cli)
73
end
74
75
def print_prefix
76
- if cli && !(stance == Msf::Exploit::Stance::Aggressive || stance.include?(Msf::Exploit::Stance::Aggressive))
+ if cli && self.respond_to?(:stance) &&
77
+ !(stance == Msf::Exploit::Stance::Aggressive || stance.include?(Msf::Exploit::Stance::Aggressive))
78
super + "#{cli.peerhost.ljust(16)} #{self.shortname} - "
79
else
80
super
0 commit comments