Update XSS_level5.php
This commit is contained in:
parent
9823021d83
commit
e503fc88f8
|
@ -5,10 +5,17 @@
|
||||||
<link rel="shortcut icon" href="../Resources/hmbct.png" />
|
<link rel="shortcut icon" href="../Resources/hmbct.png" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
<div style="background-color:#c9c9c9;padding:15px;">
|
||||||
|
<button type="button" name="homeButton" onclick="location.href='../homepage.html';">Home Page</button>
|
||||||
|
<button type="button" name="mainButton" onclick="location.href='xssmainpage.html';">Main Page</button>
|
||||||
|
</div>
|
||||||
|
<div align="center">
|
||||||
<form method="GET" action="<?php echo $_SERVER['PHP_SELF']; ?>" name="form">
|
<form method="GET" action="<?php echo $_SERVER['PHP_SELF']; ?>" name="form">
|
||||||
<p>Your name:<input type="text" name="username"></p>
|
<p>Your name:<input type="text" name="username"></p>
|
||||||
<input type="submit" name="submit" value="Submit">
|
<input type="submit" name="submit" value="Submit">
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if (isset($_GET["username"])) {
|
if (isset($_GET["username"])) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user