2018-11-27 20:35:39 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2018-11-27 20:52:20 +00:00
|
|
|
<title>XSS 1</title>
|
2018-11-29 16:59:31 +00:00
|
|
|
<link rel="shortcut icon" href="../Resources/hmbct.png" />
|
2018-11-27 20:35:39 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2018-11-29 23:42:17 +00:00
|
|
|
|
|
|
|
<div style="background-color:#c9c9c9;padding:15px;">
|
|
|
|
<button type="button" name="homeButton" onclick="location.href='../homepage.html';">Home Page</button>
|
2018-11-29 23:42:51 +00:00
|
|
|
<button type="button" name="mainButton" onclick="location.href='xssmainpage.html';">Main Page</button>
|
2018-11-29 23:42:17 +00:00
|
|
|
</div>
|
|
|
|
<div align="center">
|
2018-11-27 20:35:39 +00:00
|
|
|
<form method="GET" action="" name="form">
|
2018-11-29 22:06:53 +00:00
|
|
|
<p>Your name:<input type="text" name="username"></p>
|
2018-11-29 23:44:09 +00:00
|
|
|
<input type="submit" name="submit" value="Submit">
|
2018-11-27 20:35:39 +00:00
|
|
|
</form>
|
2018-11-29 23:44:09 +00:00
|
|
|
</div>
|
2018-11-27 20:35:39 +00:00
|
|
|
<?php
|
|
|
|
if(isset($_GET["username"]))
|
|
|
|
|
2018-11-29 22:06:53 +00:00
|
|
|
echo("Your name is ".$_GET["username"])?>
|
2018-11-27 20:35:39 +00:00
|
|
|
</body>
|
|
|
|
</html>
|