From 8e335f1cde1a9a63c4ac2008529aa6d3fc90b011 Mon Sep 17 00:00:00 2001 From: pussycat0x <65701233+pussycat0x@users.noreply.github.com> Date: Thu, 4 Jul 2024 00:09:29 +0530 Subject: [PATCH] matcher - update --- javascript/enumeration/ldap/ldap-get-ad-grp.yaml | 7 ++++++- javascript/enumeration/ldap/ldap-get-ad-users.yaml | 5 +++++ javascript/enumeration/ldap/ldap-metadata.yaml | 5 +++++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/javascript/enumeration/ldap/ldap-get-ad-grp.yaml b/javascript/enumeration/ldap/ldap-get-ad-grp.yaml index e789ad3345..89655a26ce 100644 --- a/javascript/enumeration/ldap/ldap-get-ad-grp.yaml +++ b/javascript/enumeration/ldap/ldap-get-ad-grp.yaml @@ -35,7 +35,12 @@ javascript: args: Host: "ldap://{{Host}}" Port: 389 - + + matchers: + - type: dsl + dsl: + - "success == true" + extractors: - type: dsl dsl: diff --git a/javascript/enumeration/ldap/ldap-get-ad-users.yaml b/javascript/enumeration/ldap/ldap-get-ad-users.yaml index 5bf762ea72..24fd3e0f86 100644 --- a/javascript/enumeration/ldap/ldap-get-ad-users.yaml +++ b/javascript/enumeration/ldap/ldap-get-ad-users.yaml @@ -35,6 +35,11 @@ javascript: Host: "ldap://{{Host}}" Port: 389 + matchers: + - type: dsl + dsl: + - "success == true" + extractors: - type: dsl dsl: diff --git a/javascript/enumeration/ldap/ldap-metadata.yaml b/javascript/enumeration/ldap/ldap-metadata.yaml index 87666e50b8..b49b21dc39 100644 --- a/javascript/enumeration/ldap/ldap-metadata.yaml +++ b/javascript/enumeration/ldap/ldap-metadata.yaml @@ -26,6 +26,11 @@ javascript: Host: "ldap://{{Host}}" Port: 389 + matchers: + - type: dsl + dsl: + - "success == true" + extractors: - type: json json: