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

Commit 4b4bd45

Browse files
committed
Adding new test for 941340 based on XSS cheatsheet by portswigger
1 parent 021eaef commit 4b4bd45

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/941340.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 "941340"
24+
-
25+
test_title: 941340-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=# language=\"JScript.Encode\" onclick=\"#@~^CAAAAA==C^+.D`8#mgIAAA==^#~@\">XSS</a>"
37+
version: HTTP/1.0
38+
output:
39+
log_contains: id "941340"

0 commit comments

Comments
 (0)