We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5bd0c6 commit 2d95f44Copy full SHA for 2d95f44
XSS/XSS_level4.php
@@ -20,6 +20,7 @@
20
$values = array("script", "prompt", "alert", "h1");
21
22
$user = str_replace($values, " ",$_GET["username"]);
23
+ $user = preg_replace("/<(.*)[S,s](.*)[C,c](.*)[R,r](.*)[I,i](.*)[P,p](.*)[T,t]>/i", "", $_GET["username"]);
24
echo "$user";
25
}
26
0 commit comments