reCAPTCHA API key missing from config file: " . realpath( dirname( dirname( getcwd() ) ) . "/config/config.inc.php" ) . ""; $html = "Please register for a key from reCAPTCHA: " . dvwaExternalLinkUrlGet('https://www.google.com/recaptcha/admin/create'); $hide_form = true; } $page[ 'body' ] .= "

Vulnerability: Insecure CAPTCHA

{$WarningHtml}
\n"; if( $vulnerabilityFile == 'impossible.php' ) { $page[ 'body' ] .= " Current password:

"; } $page[ 'body' ] .= " New password:

Confirm new password:

" . recaptcha_get_html( $_DVWA[ 'recaptcha_public_key' ] ); if( $vulnerabilityFile == 'high.php' ) $page[ 'body' ] .= "\n\n \n"; if( $vulnerabilityFile == 'high.php' || $vulnerabilityFile == 'impossible.php' ) $page[ 'body' ] .= "\n " . tokenField(); $page[ 'body' ] .= "
{$html}

More Information

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