Update XSS_level4.php

This commit is contained in:
Ömer Faruk Şenyayla 2018-12-09 01:57:34 +03:00 committed by GitHub
parent b5bd0c6189
commit 2d95f44e19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,7 @@ if (isset($_GET["username"])) {
$values = array("script", "prompt", "alert", "h1");
$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";
}