Update XSS_level3.php
This commit is contained in:
parent
cdc2d2a969
commit
1310ec3301
|
@ -6,13 +6,13 @@
|
|||
</head>
|
||||
<body>
|
||||
<form method="GET" action="" name="form">
|
||||
<p>Adınız:<input type="text" name="username"></p>
|
||||
<p>Your name:<input type="text" name="username"></p>
|
||||
<input type="submit" name="Gönder">
|
||||
</form>
|
||||
<?php
|
||||
if (isset($_GET["username"])) {
|
||||
$user = preg_replace("/<(.*)[S,s](.*)[C,c](.*)[R,r](.*)[I,i](.*)[P,p](.*)[T,t]>/i", "", $_GET["username"]);
|
||||
echo "$user";
|
||||
echo "Your name is "."$user";
|
||||
}
|
||||
?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user