From 07dd2d5c77d643b34f143d09328f6e307f53a236 Mon Sep 17 00:00:00 2001 From: pussycat0x <65701233+pussycat0x@users.noreply.github.com> Date: Thu, 14 Mar 2024 16:09:27 +0530 Subject: [PATCH] Update smb-version-detect.yaml --- javascript/enumeration/smb/smb-version-detect.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/javascript/enumeration/smb/smb-version-detect.yaml b/javascript/enumeration/smb/smb-version-detect.yaml index 6ffa6c420d..a9dcd34e00 100644 --- a/javascript/enumeration/smb/smb-version-detect.yaml +++ b/javascript/enumeration/smb/smb-version-detect.yaml @@ -17,15 +17,15 @@ javascript: let response = c.ConnectSMBInfoMode(Host, Port); Export(response); - matchers: - - type: dsl - dsl: - - "len(smb-version) != 0" - args: Host: "{{Host}}" Port: "445" + matchers: + - type: dsl + dsl: + - "len(smb-version) != 0" + extractors: - type: json name: smb-version