Vulnerable-Web-Application/XSS/XSS_level1.php

17 lines
296 B
PHP
Raw Normal View History

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-27 20:35:39 +00:00
</head>
<body>
<form method="GET" action="" name="form">
<p>Adınız:<input type="text" name="username"></p>
<input type="submit" name="Gönder">
</form>
<?php
if(isset($_GET["username"]))
echo($_GET["username"])?>
</body>
</html>