mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
Libinject was recently updated to support XSS detection. This commit adds initial support to it.
19 lines
272 B
Perl
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
|
|
}
|