Path: blob/dev/integration_tests/protocols/http/raw-dynamic-extractor.yaml
2070 views
id: dynamic-extractor-raw-example12info:3name: Test Dynamic Extractor RAW Template4author: pdteam5severity: info67http:8- raw:9- |10POST / HTTP/1.111Host: {{Hostname}}12Origin: {{BaseURL}}13Connection: close14Content-Type: application/x-www-form-urlencoded15Content-Length: 116User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko)17Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.818Accept-Language: en-US,en;q=0.91920testing=parameter21- |22GET /?username={{randkey}} HTTP/1.123Host: {{Hostname}}24Origin: {{BaseURL}}25Connection: close26User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko)27Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.828Accept-Language: en-US,en;q=0.929extractors:30- type: regex31name: randkey32part: body33group: 134internal: true35regex:36- "Token: '([A-Za-z0-9]+)'"3738matchers:39- type: word40words:41- "Test is test-dynamic-extractor-raw matcher text"4243