nuclei/integration_tests/http/default-matcher-condition.yaml
Ramana Reddy c9634fae72
Issue 3350 matcher condition or not work (#3397)
* fix or condition match even interactsh includes as matcher-part (#3350)

* add integration test

* add new template to integration test

* matcher-condtion: test case for both conditions

* fix lint errors

* upgrade dependencies

---------

Co-authored-by: Tarun Koyalwar <tarun@projectdiscovery.io>
2023-03-15 20:45:44 +05:30

23 lines
380 B
YAML

id: default-matcher-condition
info:
name: default-matcher-condition
author: pdteam
severity: info
requests:
- raw:
- |
GET /?action=curltest&url={{interactsh-url}} HTTP/1.1
Host: {{Hostname}}
matchers:
- type: word
part: interactsh_protocol
words:
- "http"
- type: status
status:
- 200