403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.33
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/home/d2m/sofident_cz/wp-content/plugins/contact-form-7/modules/recaptcha/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/home/d2m/sofident_cz/wp-content/plugins/contact-form-7/modules/recaptcha/script.js
( function() {
	document.addEventListener( 'DOMContentLoaded', function( event ) {

		wpcf7_recaptcha.execute = function( action ) {
			grecaptcha.execute(
				wpcf7_recaptcha.sitekey,
				{ action: action }
			).then( function( token ) {
				var event = new CustomEvent( 'wpcf7grecaptchaexecuted', {
					detail: {
						action: action,
						token: token,
					},
				} );

				document.dispatchEvent( event );
			} );
		};

		wpcf7_recaptcha.execute_on_homepage = function() {
			wpcf7_recaptcha.execute( wpcf7_recaptcha.actions[ 'homepage' ] );
		};

		wpcf7_recaptcha.execute_on_contactform = function() {
			wpcf7_recaptcha.execute( wpcf7_recaptcha.actions[ 'contactform' ] );
		};

		grecaptcha.ready(
			wpcf7_recaptcha.execute_on_homepage
		);

		document.addEventListener( 'change',
			wpcf7_recaptcha.execute_on_contactform
		);

		document.addEventListener( 'wpcf7submit',
			wpcf7_recaptcha.execute_on_homepage
		);

	} );

	document.addEventListener( 'wpcf7grecaptchaexecuted', function( event ) {
		var fields = document.querySelectorAll(
			"form.wpcf7-form input[name='_wpcf7_recaptcha_response']"
		);

		for ( var i = 0; i < fields.length; i++ ) {
			var field = fields[ i ];
			field.setAttribute( 'value', event.detail.token );
		}
	} );

} )();

Youez - 2016 - github.com/yon3zu
LinuXploit