From 8413c702c56b62c4c7ff1f77b64f469ff55ffbf9 Mon Sep 17 00:00:00 2001 From: mastercho Date: Sat, 16 Mar 2024 19:42:53 +0200 Subject: [PATCH] yaml fix --- http/cves/2015/CVE-2015-4455.yaml | 8 ++++---- http/cves/2019/CVE-2019-7139.yaml | 24 ++++++++++++------------ 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/http/cves/2015/CVE-2015-4455.yaml b/http/cves/2015/CVE-2015-4455.yaml index 249258d551..a91002e7e8 100644 --- a/http/cves/2015/CVE-2015-4455.yaml +++ b/http/cves/2015/CVE-2015-4455.yaml @@ -45,13 +45,13 @@ http: Content-Disposition: form-data; name="file"; filename="{{filename}}.jpg" Content-Type: text/html - {{randstr}} + {{randstr}} --a54906fe12c504cb01ca836d062f82fa-- matchers: - type: dsl dsl: - - 'contains(body_1, "Failed to upload file")' - - 'status_code_2 == 200' - - 'contains(body_2, "uploaded_filename\":\"{{filename}}.jpg")' + - 'contains(body_1, "Failed to upload file")' + - 'status_code_2 == 200' + - 'contains(body_2, "uploaded_filename\":\"{{filename}}.jpg")' condition: and \ No newline at end of file diff --git a/http/cves/2019/CVE-2019-7139.yaml b/http/cves/2019/CVE-2019-7139.yaml index 23f951d9cb..05a19e4e75 100644 --- a/http/cves/2019/CVE-2019-7139.yaml +++ b/http/cves/2019/CVE-2019-7139.yaml @@ -34,20 +34,20 @@ http: - type: dsl name: Blind dsl: - - 'contains(body_1, "text/x-magento-init")' - - 'status_code_2 == 200' - - 'status_code_3 == 400' - - 'contains(content_type_2, "application/json")' - - 'contains(content_type_3, "application/json")' - - 'len(body_2) == 2' - - 'len(body_3) == 2' + - 'contains(body_1, "text/x-magento-init")' + - 'status_code_2 == 200' + - 'status_code_3 == 400' + - 'contains(content_type_2, "application/json")' + - 'contains(content_type_3, "application/json")' + - 'len(body_2) == 2' + - 'len(body_3) == 2' condition: and - type: dsl name: Time dsl: - - 'contains(body_1, "text/x-magento-init")' - - 'duration_4>=6' - - 'contains(content_type_4, "application/json")' - - 'len(body_4) == 2' - condition: and \ No newline at end of file + - 'contains(body_1, "text/x-magento-init")' + - 'duration_4>=6' + - 'contains(content_type_4, "application/json")' + - 'len(body_4) == 2' + condition: and \ No newline at end of file