Update XSS_level4.php
This commit is contained in:
parent
89c561f881
commit
7cad7f76e4
|
@ -4,10 +4,17 @@
|
||||||
<title>XSS 4</title>
|
<title>XSS 4</title>
|
||||||
</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">
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
<?php
|
<?php
|
||||||
if (isset($_GET["username"])) {
|
if (isset($_GET["username"])) {
|
||||||
$values = array("script", "prompt", "alert", "h1");
|
$values = array("script", "prompt", "alert", "h1");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user