From 15387030004a86d44d9edb1672625c694fe3dd52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20B=C5=99ou=C5=A1ek?= <brousek@ics.muni.cz> Date: Tue, 19 Mar 2024 21:10:36 +0100 Subject: [PATCH] life check in raw HTTP test --- nuclei-templates/saml-headless-all.yaml | 2 -- nuclei-templates/saml-raw-all.yaml | 8 ++++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/nuclei-templates/saml-headless-all.yaml b/nuclei-templates/saml-headless-all.yaml index 7332a7f..005f4e9 100644 --- a/nuclei-templates/saml-headless-all.yaml +++ b/nuclei-templates/saml-headless-all.yaml @@ -17,8 +17,6 @@ variables: # first test standard response, then each test case flow: | headless(); - set("VALID_STATUS_CODE", template["http_status_code"]); - set("VALID_BODY", template["http_body"]); for (let testcase of iterate(template["TEST_CASES"])) { set("TEST_CASE", testcase); headless(); diff --git a/nuclei-templates/saml-raw-all.yaml b/nuclei-templates/saml-raw-all.yaml index aa83b71..892d267 100644 --- a/nuclei-templates/saml-raw-all.yaml +++ b/nuclei-templates/saml-raw-all.yaml @@ -16,14 +16,18 @@ variables: flow: | set("TEST_CASE", "standardResponse"); http(); - set("VALID_STATUS_CODE", template["http_status_code"]); - set("VALID_BODY", template["http_body"]); for (let testcase of iterate(template["TEST_CASES"])) { set("TEST_CASE", testcase); http(); } http: + - raw: + - | + @Host: https://{{Hostname}} + GET {{Path}}/{{File}} HTTP/1.1 + Host: {{Hostname}} + disable-path-automerge: true - raw: - | @Host: https://{{CONFORMANCE_IDP_HOSTNAME}} -- GitLab