Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
projectdiscovery
GitHub Repository: projectdiscovery/nuclei
Path: blob/dev/integration_tests/protocols/http/http-matcher-extractor-dy-extractor.yaml
2070 views
1
id: http-matcher-extractor-dy-extractor
2
info:
3
name: HTTP matcher and extractor & dynamic extractor
4
description: >
5
Edgecase to test for a combination of matchers , extractors and dynamic extractors
6
author: pdteam
7
severity: info
8
9
http:
10
- raw:
11
- |
12
GET {{BaseURL}} HTTP/1.1
13
- |
14
GET {{absolutePath}} HTTP/1.1
15
16
req-condition: true
17
extractors:
18
- type: regex
19
internal: true
20
part: body_1
21
name: absolutePath
22
regex:
23
- '<a href="(/domains)">'
24
group: 1
25
- type: regex
26
internal: false
27
part: body_2
28
name: title
29
regex:
30
- '<title[^>]*>([^<]+)</title>'
31
group: 1
32
matchers:
33
- type: regex
34
part: body_2
35
regex:
36
- '<title[^>]*>([^<]+)</title>'
37