docker-vulnerable-dvwa/dvwa/vulnerabilities/xss_r/source/low.php
2018-10-12 15:49:58 +00:00

12 lines
229 B
PHP

<?php
header ("X-XSS-Protection: 0");
// Is there any input?
if( array_key_exists( "name", $_GET ) && $_GET[ 'name' ] != NULL ) {
// Feedback for end user
$html .= '<pre>Hello ' . $_GET[ 'name' ] . '</pre>';
}
?>