403Webshell
Server IP : 31.214.179.3  /  Your IP : 216.73.216.231
Web Server : Apache
System : Linux hostingsrv125.dondominio.com 6.12.96+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.96-1 (2026-07-20) x86_64
User :  ( 1156851)
PHP Version : 8.5.8
Disable Function : system,passthru,popen,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,exec,ini_alter,show_source,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,mail,eval
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /hosting/www/thermatron.es/public/wp-content/plugins/complianz-gdpr/templates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /hosting/www/thermatron.es/public/wp-content/plugins/complianz-gdpr//templates/test-cookies.js
	console.log("running site scan");
	/**
	 * Script to test site for cookies. Never inserted for visitors, only for admin.
	 */
	document.addEventListener("cmplz_cookie_warning_loaded", function (consentData) {
		let acceptBtn = document.querySelector('.cmplz-accept');
		if ( acceptBtn ) {
			acceptBtn.click();
		}
	});
	let cmplz_cookies = get_cookies_array();
	let cmplz_lstorage = get_localstorage_array();
	let cmplz_request = new XMLHttpRequest();

	cmplz_request.open('POST', '{admin_url}' + 'store_cookies', true);
	cmplz_request.setRequestHeader('X-WP-Nonce', '{nonce}');

	var cmplz_data = {
		'cookies': cmplz_cookies,
		'lstorage': cmplz_lstorage,
		'token': '{token}',
		'complianz_id': '{id}'
	};

	cmplz_request.setRequestHeader('Content-type', 'application/json');
	cmplz_request.send(JSON.stringify(cmplz_data));

	function get_localstorage_array() {
		let lstorage = {};
		for (let i = 0; i < localStorage.length; i++) {
			lstorage[localStorage.key(i)] = localStorage.key(i);
		}
		for (let j = 0; j < sessionStorage.length; j++) {
			lstorage[sessionStorage.key(j)] = sessionStorage.key(j);
		}
		return lstorage;
	}

	function get_cookies_array() {
		let cookies = {};
		if ( document.cookie && document.cookie !== '' ) {
			let split = document.cookie.split(';');
			for (let i = 0; i < split.length; i++) {
				var name_value = split[i].split("=");
				name_value[0] = name_value[0].replace(/^ /, '');
				cookies[decodeURIComponent(name_value[0])] = decodeURIComponent(name_value[1]);
			}
		}
		return cookies;
	}

	function cmplz_function_exists(function_name) {
		if (typeof function_name == 'string') {
			return (typeof window[function_name] == 'function');
		} else {
			return (function_name instanceof Function);
		}
	}

	function deleteAllCookies() {
		document.cookie.split(";").forEach(function (c) {
			document.cookie = c.replace(/^ +/, "").replace(/=.*/, "=;expires=" + new Date().toUTCString() + ";path=/");
		});
	}

Youez - 2016 - github.com/yon3zu
LinuXploit