Update and rename XSS_level4.php to XSS_level5.php
This commit is contained in:
parent
3aa27eb47a
commit
8fe4c54f81
|
@ -1,19 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>REFLECTED XSS 5</title>
|
||||
<title>XSS 5</title>
|
||||
<link rel="shortcut icon" href="../Resources/hmbct.png" />
|
||||
</head>
|
||||
<body>
|
||||
<form method="GET" action="<?php echo $_SERVER['PHP_SELF']; ?>" 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 = str_replace("<", "", $_GET["username"]);
|
||||
echo "$user";
|
||||
echo "Your name is "."$user";
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user