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

Commit 92f0a93

Browse files
committed
Adding new test for 941330 based on XSS cheatsheet by portswigger
1 parent 021eaef commit 92f0a93

File tree

1 file changed

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

1 file changed

+17
-0
lines changed

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,20 @@
2121
version: HTTP/1.0
2222
output:
2323
log_contains: id "941330"
24+
-
25+
test_title: 941330-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+
uri: "/"
37+
version: HTTP/1.0
38+
data: "payload=<iframe srcdoc=\"<img src=1 onerror=alert(1)>\"></iframe></a>"
39+
output:
40+
log_contains: id "941330"

0 commit comments

Comments
 (0)