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.
1 parent a13e83a commit 743bea9Copy full SHA for 743bea9
lib/msf/core/exploit.rb
@@ -649,14 +649,14 @@ def stance
649
# Returns true if the exploit has an aggressive stance.
650
#
651
def aggressive?
652
- (stance == Stance::Aggressive || stance.include?(Stance::Aggressive))
+ (stance == Stance::Aggressive)
653
end
654
655
656
# Returns if the exploit has a passive stance.
657
658
def passive?
659
- (stance == Stance::Passive || stance.include?(Stance::Passive))
+ (stance == Stance::Passive)
660
661
662
0 commit comments