403Webshell
Server IP : 66.29.153.156  /  Your IP : 216.73.216.226
Web Server : LiteSpeed
System : Linux premium322.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User : lastyfjz ( 1521)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/lastyfjz/./werepaircomputer.co.uk/wp-content/plugins/cookieadmin-pro/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/lastyfjz/./werepaircomputer.co.uk/wp-content/plugins/cookieadmin-pro/assets/js/consent.js
function cookieadmin_pro_set_consent(prefrenc, days){
	
	const xhttp = new XMLHttpRequest();
	var data = 'action=cookieadmin_pro_ajax_handler&cookieadmin_act=save_consent&cookieadmin_pro_security=' + cookieadmin_pro_vars.nonce + '&cookieadmin_preference=' + encodeURIComponent(JSON.stringify(Object.keys(prefrenc)));
	if(cookieadmin_is_obj(cookieadmin_is_consent) && !!cookieadmin_is_consent.consent){
		data += '&cookieadmin_consent_id=' + cookieadmin_is_consent.consent;
	}
	
	var consent_id = "";
	
	xhttp.open("POST", cookieadmin_pro_vars.ajax_url, false);
	xhttp.onload = function() {
		parsed = JSON.parse(this.responseText);
		if(parsed.success){
			consent_id = parsed.data.response;
		}
		
	}
	
	xhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
	xhttp.send(data);
	
	if(consent_id){
		return consent_id;
	}
	
	return false;
	
}

Youez - 2016 - github.com/yon3zu
LinuXploit