Class: Msf::Exploit::Remote::LDAP::ActiveDirectory::SecurityDescriptorMatcher::MultipleAll

Inherits:
MultipleAny
  • Object
show all
Defined in:
lib/msf/core/exploit/remote/ldap/active_directory/security_descriptor_matcher.rb

Overview

A compound matcher that will match when all of the sub-matchers match.

Instance Attribute Summary

Attributes inherited from MultipleAny

#matchers

Instance Method Summary collapse

Methods inherited from MultipleAny

#apply_ace!, #ignore_ace?, #initialize

Methods inherited from Base

#apply_ace!, #ignore_ace?

Constructor Details

This class inherits a constructor from Msf::Exploit::Remote::LDAP::ActiveDirectory::SecurityDescriptorMatcher::MultipleAny

Instance Method Details

#matches?Boolean

Returns:

  • (Boolean)


173
174
175
# File 'lib/msf/core/exploit/remote/ldap/active_directory/security_descriptor_matcher.rb', line 173

def matches?
  @matchers.all? { |matcher| matcher.matches? }
end

#satisfied?Boolean

Returns:

  • (Boolean)


169
170
171
# File 'lib/msf/core/exploit/remote/ldap/active_directory/security_descriptor_matcher.rb', line 169

def satisfied?
  @matchers.all? { |matcher| matcher.satisfied? }
end