Vulnerable-Web-Application/XSS/XSS_level1.php
Ömer Faruk Şenyayla 7d9a8d2b3c
Update XSS_level1.php
2018-11-30 02:33:58 +03:00

18 lines
386 B
PHP

<!DOCTYPE html>
<html>
<head>
<title>XSS 1</title>
<link rel="shortcut icon" href="../Resources/hmbct.png" />
</head>
<body>
<form method="GET" action="" name="form">
<p>Your name:<input type="text" name="username"></p>
<input type="submit" name="submit" value="Submit">
</form>
<?php
if(isset($_GET["username"]))
echo("Your name is ".$_GET["username"])?>
</body>
</html>