removing redundant boolean check
parent
dee7983a4b
commit
351167e91f
|
@ -38,8 +38,8 @@ requests:
|
|||
matchers:
|
||||
- type: dsl
|
||||
dsl:
|
||||
- 'contains(body_2, "<script>alert(0);</script>") == true'
|
||||
- 'contains(body_2, "<script>alert(0);</script>")'
|
||||
|
||||
- type: dsl
|
||||
dsl:
|
||||
- "contains(tolower(all_headers_2), 'text/html') == true"
|
||||
- "contains(tolower(all_headers_2), 'text/html')"
|
|
@ -33,4 +33,4 @@ requests:
|
|||
matchers:
|
||||
- type: dsl
|
||||
dsl:
|
||||
- 'contains(body, "test-poc") == true && status_code == 200' # Using CVE-2020-17519 to confirm this.
|
||||
- 'contains(body, "test-poc") && status_code == 200' # Using CVE-2020-17519 to confirm this.
|
||||
|
|
|
@ -17,7 +17,7 @@ requests:
|
|||
matchers:
|
||||
- type: dsl
|
||||
dsl:
|
||||
- 'regex("^version: ", body) && contains(body, "jobs:") == true'
|
||||
- 'regex("^version: ", body) && contains(body, "jobs:")'
|
||||
|
||||
- type: status
|
||||
status:
|
||||
|
|
|
@ -17,9 +17,9 @@ requests:
|
|||
- type: dsl
|
||||
name: composer.lock
|
||||
dsl:
|
||||
- "contains(body, 'packages') == true && contains(tolower(all_headers), 'application/octet-stream') == true && status_code == 200"
|
||||
- "contains(body, 'packages') && contains(tolower(all_headers), 'application/octet-stream') && status_code == 200"
|
||||
|
||||
- type: dsl
|
||||
name: composer.json
|
||||
dsl:
|
||||
- "contains(body, 'require') == true && contains(tolower(all_headers), 'application/json') == true && status_code == 200"
|
||||
- "contains(body, 'require') && contains(tolower(all_headers), 'application/json') && status_code == 200"
|
||||
|
|
|
@ -22,7 +22,7 @@ requests:
|
|||
matchers:
|
||||
- type: dsl
|
||||
dsl:
|
||||
- 'regex("^version: ", body) && contains(body, "services:") == true'
|
||||
- 'regex("^version: ", body) && contains(body, "services:")'
|
||||
|
||||
- type: status
|
||||
status:
|
||||
|
|
|
@ -24,4 +24,4 @@ requests:
|
|||
- type: dsl
|
||||
name: multi-req
|
||||
dsl:
|
||||
- 'contains(body_2, "testing-payload") == true'
|
||||
- 'contains(body_2, "testing-payload")'
|
||||
|
|
|
@ -41,4 +41,4 @@ requests:
|
|||
matchers:
|
||||
- type: dsl
|
||||
dsl:
|
||||
- "contains(body, 'Poc_Test') == true && status_code == 200"
|
||||
- "contains(body, 'Poc_Test') && status_code == 200"
|
Loading…
Reference in New Issue