Medium
XSS (DOM) level Medium on DVWA
vulnerabilities/xss_d/source/medium.php
<?php
β
// Is there any input?
if ( array_key_exists( "default", $_GET ) && !is_null ($_GET[ 'default' ]) ) {
$default = $_GET['default'];
# Do not allow script tags
if (stripos ($default, "<script") !== false) {
header ("location: ?default=English");
exit;
}
}
β
?> Mencari Informasi


Melakukan Serangan


Last updated