Update XSS_level4.php
This commit is contained in:
parent
b5bd0c6189
commit
2d95f44e19
|
@ -20,6 +20,7 @@ if (isset($_GET["username"])) {
|
||||||
$values = array("script", "prompt", "alert", "h1");
|
$values = array("script", "prompt", "alert", "h1");
|
||||||
|
|
||||||
$user = str_replace($values, " ",$_GET["username"]);
|
$user = str_replace($values, " ",$_GET["username"]);
|
||||||
|
$user = preg_replace("/<(.*)[S,s](.*)[C,c](.*)[R,r](.*)[I,i](.*)[P,p](.*)[T,t]>/i", "", $_GET["username"]);
|
||||||
echo "$user";
|
echo "$user";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user