Merge pull request #7720 from projectdiscovery/helper_fix
updated templates with outdated syntaxpatch-1
commit
cd6a7babe5
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue