Skip to content

Commit 0167565

Browse files
authored
Create 9524170.yaml
1 parent 5de0677 commit 0167565

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
meta:
3+
author: "azurit"
4+
description: "Referer Hardening Plugin"
5+
enabled: true
6+
name: 9524120.yaml
7+
tests:
8+
- test_title: 9524170-1
9+
desc: "Valid domain"
10+
stages:
11+
- stage:
12+
input:
13+
dest_addr: 127.0.0.1
14+
headers:
15+
Host: localhost
16+
User-Agent: OWASP CRS test agent
17+
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
18+
Referer: "http://example.com/"
19+
port: 80
20+
method: "GET"
21+
uri: "/get"
22+
version: "HTTP/1.1"
23+
output:
24+
no_log_contains: id "9524170"
25+
- test_title: 9524170-2
26+
desc: "Invalid domain"
27+
stages:
28+
- stage:
29+
input:
30+
dest_addr: 127.0.0.1
31+
headers:
32+
Host: localhost
33+
User-Agent: OWASP CRS test agent
34+
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
35+
Referer: "http://exa*mple.com/"
36+
port: 80
37+
method: "GET"
38+
uri: "/get"
39+
version: "HTTP/1.1"
40+
output:
41+
no_log_contains: id "9524170"
42+

0 commit comments

Comments
 (0)