ModSecurity/tests/op/detectXSS.t
Felipe Zimmerle 66939d059b Adds initial support to @detectXSS
Libinject was recently updated to support XSS detection. This commit adds
initial support to it.
2014-03-31 16:22:11 -07:00

19 lines
272 B
Perl

{
type => "op",
name => "detectXSS",
input => "",
ret => 0
},
{
type => "op",
name => "detectXSS",
input => "this is not an XSS",
ret => 0
},
{
type => "op",
name => "detectXSS",
input => "<a href=\"javascript:alert(1)\">)",
ret => 1
}