Merge pull request #7720 from projectdiscovery/helper_fix

updated templates with outdated syntax
patch-1
Dhiyaneshwaran 2023-07-18 14:59:52 +05:30 committed by GitHub
commit cd6a7babe5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View File

@ -27,7 +27,7 @@ http:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(all_headers, "text/html")'
- 'contains(header, "text/html")'
- 'contains(body, "><svg onload=alert(document.domain)>")'
- 'contains(body, "params\":{\"action")'
condition: and

View File

@ -27,7 +27,7 @@ http:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(all_headers, "text/html")'
- 'contains(header, "text/html")'
- 'contains(body, "<script>alert(document.domain)</script>")'
- 'contains(body, "qem_calendar")'
condition: and

View File

@ -35,7 +35,7 @@ http:
- type: dsl
dsl:
- 'status_code_2 == 200'
- 'contains(all_headers_2, "text/html")'
- 'contains(header_2, "text/html")'
- 'contains(body_2, "<svg onload=alert(document.domain)>")'
- 'contains(body_2, "pagination\":")'
condition: and

View File

@ -26,7 +26,7 @@ http:
matchers:
- type: dsl
dsl:
- "contains(tolower(all_headers), 'www-authenticate: negotiate')"
- "contains(tolower(header), 'www-authenticate: negotiate')"
extractors:
- type: kval

View File

@ -76,7 +76,7 @@ http:
- type: dsl
dsl:
- "status_code == 200"
- "contains_any(all_headers, 'X-Graylog-Node-Id', 'Graylog', 'graylog')"
- "contains_any(header, 'X-Graylog-Node-Id', 'Graylog', 'graylog')"
- "contains_any(body, 'X-Graylog-Node-Id', 'Graylog', 'graylog')"
- "contains_any(body, 'swagger')"
condition: and
@ -85,5 +85,5 @@ http:
name: unauthorized-graylog-header
dsl:
- "status_code == 401"
- "contains(all_headers, 'X-Graylog-Node-Id') || contains(all_headers, 'Graylog Server')"
- "contains(header, 'X-Graylog-Node-Id') || contains(header, 'Graylog Server')"
condition: and