Update XSS_level2.php

This commit is contained in:
Ömer Faruk Şenyayla 2018-11-30 02:42:35 +03:00 committed by GitHub
parent 164217161d
commit dcca1f6fb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,9 +5,15 @@
<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='sqlmainpage.html';">Main Page</button>
</div>
<div align="center">
<form method="GET" action="" name="form"> <form method="GET" action="" 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"></div>
</form> </form>
<?php <?php
if (isset($_GET["username"])) { if (isset($_GET["username"])) {