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 e7ed432 commit 62b8dedCopy full SHA for 62b8ded
modules/auxiliary/gather/ldap_esc_vulnerable_cert_finder.rb
@@ -453,7 +453,8 @@ def find_esc13_vuln_cert_templates
453
groups = []
454
entry['mspki-certificate-policy'].each do |certificate_policy_oid|
455
policy = get_pki_object_by_oid(certificate_policy_oid)
456
- next if policy['msds-oidtogrouplink'].blank?
+
457
+ next if policy&.[]('msds-oidtogrouplink').blank?
458
459
# get the group and check it for two conditions
460
group = get_group_by_dn(policy['msds-oidtogrouplink'].first)
0 commit comments