403Webshell
Server IP : 104.21.14.103  /  Your IP : 13.58.26.185
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/giankuin/dietcontrungnhanh.com/wp-content/plugins/ithemes-security-pro/pro/recaptcha/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/giankuin/dietcontrungnhanh.com/wp-content/plugins/ithemes-security-pro/pro/recaptcha/js/turnstile.js
/* global turnstile */

window.itsecCloudFlareTurnstileLoad = () =>
	(function ( $, config ) {
		const submit = function ( $form, id ) {
			return function ( e ) {
				const token = turnstile.getResponse( id );

				if ( !token ) {
					e.preventDefault();
					return;
				}

				$form.off( 'submit.itsecRecaptcha' );
				$form.off( 'click.itsecRecaptcha' );

				const $input = $( ':input[name="cf-turnstile-response"]', $form );

				if ( $input.length ) {
					$input.val( token );
				} else {
					$( '<input type="hidden">' ).attr( {
						name : 'cf-turnstile-response',
						value: token,
					} ).appendTo( $form );
				}
			};
		};

		$( function () {
			$( '.itsec-cf-turnstile' ).each( function () {
				const $captcha = $( this );
				const $form = $captcha.parents( 'form' ),
					captchaId = $captcha.attr( 'id' );

				const clientId = turnstile.render( '#' + captchaId, {
					...config,
				} );

				$form.on( 'submit.itsecRecaptcha', submit( $form, clientId ) );
			} );
		} );
	})( jQuery, window.itsecRecaptcha.config );

Youez - 2016 - github.com/yon3zu
LinuXploit