HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.30
System: Linux iZj6c1151k3ad370bosnmsZ 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64
User: root (0)
PHP: 7.4.30
Disabled: NONE
Upload Files
File: /var/www/html/breadsecret.com/wp-content/plugins/wp-captcha-booster_/includes/captcha-frontend.php
<?php
/**
 * This file contains frontend code.
 *
 * @author  Tech Banker
 * @package wp-captcha-booster/includes
 * @version 1.0.0
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
} //exit if accessed directly
global $captcha_array;
$border_style = explode( ',', $captcha_array['border_style'] );
$captcha_url  = admin_url( 'admin-ajax.php' ) . '?captcha_code=';
?>
<p class="captcha-title">
	<?php echo esc_attr( __( 'Enter Captcha Here', 'wp-captcha-booster' ) ); ?> :
	<span class="error" style="color:red">*</span>
</p>
<input type="text" name="ux_txt_captcha_challenge_field" id="ux_txt_captcha_challenge_field" style="display:block;"/>
<img src="<?php echo esc_attr( $captcha_url . rand( 111, 99999 ) ); ?>" class="captcha_code_img"  id="captcha_code_img" style= "margin-top:10px; cursor:pointer; border:<?php echo intval( $border_style[0] ); ?>px <?php echo esc_attr( $border_style[1] ); ?> <?php echo esc_attr( $border_style[2] ); ?>" />
<img class="refresh-img" style = "cursor:pointer;margin-top:9px;vertical-align:top;" onclick="refresh();"  alt="Reload Image" height="16" width="16" src="<?php echo esc_attr( plugins_url( '/assets/global/img/refresh-icon.png', ( dirname( __FILE__ ) ) ) ); ?>"/>

<script type="text/javascript">
	function refresh()
	{
		var randNum = Math.floor((Math.random() * 99999) + 1);
		jQuery("#captcha_code_img").attr("src", "<?php echo esc_attr( $captcha_url ); ?>" + randNum);
		return true;
	}
</script>