' . ((is_object($GLOBALS["___mysqli_ston"])) ? mysqli_error($GLOBALS["___mysqli_ston"]) : (($___mysqli_res = mysqli_connect_error()) ? $___mysqli_res : false)) . '' ); } $vulnerabilityFile = ''; switch( $_COOKIE[ 'security' ] ) { case 'low': $vulnerabilityFile = 'low.php'; break; case 'medium': $vulnerabilityFile = 'medium.php'; break; case 'high': $vulnerabilityFile = 'high.php'; break; default: $vulnerabilityFile = 'impossible.php'; break; } require_once DVWA_WEB_PAGE_TO_ROOT . "vulnerabilities/xss_s/source/{$vulnerabilityFile}"; $page[ 'body' ] .= "

Vulnerability: Stored Cross Site Scripting (XSS)

Name *
Message *
 
\n"; if( $vulnerabilityFile == 'impossible.php' ) $page[ 'body' ] .= " " . tokenField(); $page[ 'body' ] .= "
{$html}

" . dvwaGuestbook() . "

More Information

\n"; dvwaHtmlEcho( $page ); ?>