Skip to content
This repository was archived by the owner on May 14, 2020. It is now read-only.

Commit c880b6c

Browse files
committed
Adding new test for 941220 based on XSS cheatsheet by portswigger
1 parent 92f0a93 commit c880b6c

File tree

1 file changed

+16
-0
lines changed
  • util/regression-tests/tests/REQUEST-941-APPLICATION-ATTACK-XSS

1 file changed

+16
-0
lines changed

util/regression-tests/tests/REQUEST-941-APPLICATION-ATTACK-XSS/941220.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,19 @@
2121
version: HTTP/1.0
2222
output:
2323
log_contains: id "941220"
24+
-
25+
test_title: 941220-2
26+
desc: "XSS test based on portswigger XSS cheatsheet"
27+
stages:
28+
-
29+
stage:
30+
input:
31+
dest_addr: 127.0.0.1
32+
headers:
33+
Host: localhost
34+
method: POST
35+
port: 80
36+
data: "payload=<a href=\"vbscript:MsgBox+1\">XSS</a>"
37+
version: HTTP/1.0
38+
output:
39+
log_contains: id "941220"

0 commit comments

Comments
 (0)