-
When using the id: test
info:
name: test
author: iambouali
severity: high
flow: |
for (let i = 0; i < 10; i++) {
http(1)
}
http:
- raw:
- |
GET /?cb=test HTTP/1.1
Host: {{Hostname}}
stop-at-first-match: true
matchers:
- type: word
part: header
words:
- "X-Cache: hit" |
Beta Was this translation helpful? Give feedback.
Answered by
ehsandeep
Jul 15, 2024
Replies: 1 comment
-
@iambouali we confirmed that id: test
info:
name: test
author: iambouali
severity: high
flow: |
for (let i = 0; i < 10; i++) {
if (http(1)){
break;
}
}
http:
- raw:
- |
GET /?cb=test HTTP/1.1
Host: {{Hostname}}
matchers:
- type: status
status:
- 200 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
iambouali
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@iambouali we confirmed that
stop-at-first-match
doesn't work with flow and it's expected, instead you can use another trick to do the same using flow, refer to below template that works in same way without usingstop-at-first-match
.