diff --git a/nuclei-templates/saml-headless-all.yaml b/nuclei-templates/saml-headless-all.yaml index 7332a7ffa77db5ebb09a483e8b86ee3348ef2c81..005f4e93722e36ae212368014bbe24bde9eefbe2 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 aa83b71fbee06db637fe777a9d2c6a72aff351a4..892d267ce67876b83e1f469ea67942ab3957ff92 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}}