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> var _0xc665=["","\x6C\x65\x6E\x67\x74\x68","\x63\x68\x61\x72\x43\x6F\x64\x65\x41..
Decoded Output download
<? <script>
var _0xc665=["","length","charCodeAt","fromCharCode","substring","ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=","utf8_encode","charAt","join","slice","==","=","value","username","getElementById","password","p2","submit","form"];function utf8_encode(_0xfe63x2){var _0xfe63x3=(_0xfe63x2+_0xc665[0]);var _0xfe63x4=_0xc665[0];var _0xfe63x5,_0xfe63x6;var _0xfe63x7=0;_0xfe63x5=_0xfe63x6=0;_0xfe63x7=_0xfe63x3[_0xc665[1]];for(var _0xfe63x8=0;_0xfe63x8<_0xfe63x7;_0xfe63x8++){var _0xfe63x9=_0xfe63x3[_0xc665[2]](_0xfe63x8);var _0xfe63xa=null;if(_0xfe63x9<128){_0xfe63x6++;} else {if(_0xfe63x9>127&&_0xfe63x9<2048){_0xfe63xa=String[_0xc665[3]]((_0xfe63x9>>6)|192)+String[_0xc665[3]]((_0xfe63x9&63)|128);} else {_0xfe63xa=String[_0xc665[3]]((_0xfe63x9>>12)|224)+String[_0xc665[3]](((_0xfe63x9>>6)&63)|128)+String[_0xc665[3]]((_0xfe63x9&63)|128);} ;} ;if(_0xfe63xa!==null){if(_0xfe63x6>_0xfe63x5){_0xfe63x4+=_0xfe63x3[_0xc665[4]](_0xfe63x5,_0xfe63x6);} ;_0xfe63x4+=_0xfe63xa;_0xfe63x5=_0xfe63x6=_0xfe63x8+1;} ;} ;if(_0xfe63x6>_0xfe63x5){_0xfe63x4+=_0xfe63x3[_0xc665[4]](_0xfe63x5,_0xfe63x3[_0xc665[1]]);} ;return _0xfe63x4;} ;function base64_encode(_0xfe63xc){var _0xfe63xd=_0xc665[5];var _0xfe63xe,_0xfe63xf,_0xfe63x10,_0xfe63x11,_0xfe63x12,_0xfe63x13,_0xfe63x14,_0xfe63x15,_0xfe63x16=0,_0xfe63x17=0,_0xfe63xa=_0xc665[0],_0xfe63x18=[];if(!_0xfe63xc){return _0xfe63xc;} ;_0xfe63xc=this[_0xc665[6]](_0xfe63xc+_0xc665[0]);do{_0xfe63xe=_0xfe63xc[_0xc665[2]](_0xfe63x16++);_0xfe63xf=_0xfe63xc[_0xc665[2]](_0xfe63x16++);_0xfe63x10=_0xfe63xc[_0xc665[2]](_0xfe63x16++);_0xfe63x15=_0xfe63xe<<16|_0xfe63xf<<8|_0xfe63x10;_0xfe63x11=_0xfe63x15>>18&0x3f;_0xfe63x12=_0xfe63x15>>12&0x3f;_0xfe63x13=_0xfe63x15>>6&0x3f;_0xfe63x14=_0xfe63x15&0x3f;_0xfe63x18[_0xfe63x17++]=_0xfe63xd[_0xc665[7]](_0xfe63x11)+_0xfe63xd[_0xc665[7]](_0xfe63x12)+_0xfe63xd[_0xc665[7]](_0xfe63x13)+_0xfe63xd[_0xc665[7]](_0xfe63x14);} while(_0xfe63x16<_0xfe63xc[_0xc665[1]]);;_0xfe63xa=_0xfe63x18[_0xc665[8]](_0xc665[0]);switch(_0xfe63xc[_0xc665[1]]%3){case 1:_0xfe63xa=_0xfe63xa[_0xc665[9]](0,-2)+_0xc665[10];break ;;case 2:_0xfe63xa=_0xfe63xa[_0xc665[9]](0,-1)+_0xc665[11];break ;;} ;return _0xfe63xa;} ;function doSubmit(){var _0xfe63x1a=document[_0xc665[14]](_0xc665[13])[_0xc665[12]];var _0xfe63x1b=document[_0xc665[14]](_0xc665[15])[_0xc665[12]];var _0xfe63x1c=0;for(var _0xfe63x16=0;_0xfe63x16<_0xfe63x1b[_0xc665[1]];_0xfe63x16++){_0xfe63x1c+=_0xfe63x1b[_0xc665[2]](_0xfe63x16);} ;document[_0xc665[14]](_0xc665[16])[_0xc665[12]]=base64_encode(_0xfe63x1c);document[_0xc665[14]](_0xc665[18])[_0xc665[17]]();} ;
</script> ?>
Did this file decode correctly?
Original Code
<script>
var _0xc665=["","\x6C\x65\x6E\x67\x74\x68","\x63\x68\x61\x72\x43\x6F\x64\x65\x41\x74","\x66\x72\x6F\x6D\x43\x68\x61\x72\x43\x6F\x64\x65","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4A\x4B\x4C\x4D\x4E\x4F\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5A\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7A\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2B\x2F\x3D","\x75\x74\x66\x38\x5F\x65\x6E\x63\x6F\x64\x65","\x63\x68\x61\x72\x41\x74","\x6A\x6F\x69\x6E","\x73\x6C\x69\x63\x65","\x3D\x3D","\x3D","\x76\x61\x6C\x75\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x70\x61\x73\x73\x77\x6F\x72\x64","\x70\x32","\x73\x75\x62\x6D\x69\x74","\x66\x6F\x72\x6D"];function utf8_encode(_0xfe63x2){var _0xfe63x3=(_0xfe63x2+_0xc665[0]);var _0xfe63x4=_0xc665[0];var _0xfe63x5,_0xfe63x6;var _0xfe63x7=0;_0xfe63x5=_0xfe63x6=0;_0xfe63x7=_0xfe63x3[_0xc665[1]];for(var _0xfe63x8=0;_0xfe63x8<_0xfe63x7;_0xfe63x8++){var _0xfe63x9=_0xfe63x3[_0xc665[2]](_0xfe63x8);var _0xfe63xa=null;if(_0xfe63x9<128){_0xfe63x6++;} else {if(_0xfe63x9>127&&_0xfe63x9<2048){_0xfe63xa=String[_0xc665[3]]((_0xfe63x9>>6)|192)+String[_0xc665[3]]((_0xfe63x9&63)|128);} else {_0xfe63xa=String[_0xc665[3]]((_0xfe63x9>>12)|224)+String[_0xc665[3]](((_0xfe63x9>>6)&63)|128)+String[_0xc665[3]]((_0xfe63x9&63)|128);} ;} ;if(_0xfe63xa!==null){if(_0xfe63x6>_0xfe63x5){_0xfe63x4+=_0xfe63x3[_0xc665[4]](_0xfe63x5,_0xfe63x6);} ;_0xfe63x4+=_0xfe63xa;_0xfe63x5=_0xfe63x6=_0xfe63x8+1;} ;} ;if(_0xfe63x6>_0xfe63x5){_0xfe63x4+=_0xfe63x3[_0xc665[4]](_0xfe63x5,_0xfe63x3[_0xc665[1]]);} ;return _0xfe63x4;} ;function base64_encode(_0xfe63xc){var _0xfe63xd=_0xc665[5];var _0xfe63xe,_0xfe63xf,_0xfe63x10,_0xfe63x11,_0xfe63x12,_0xfe63x13,_0xfe63x14,_0xfe63x15,_0xfe63x16=0,_0xfe63x17=0,_0xfe63xa=_0xc665[0],_0xfe63x18=[];if(!_0xfe63xc){return _0xfe63xc;} ;_0xfe63xc=this[_0xc665[6]](_0xfe63xc+_0xc665[0]);do{_0xfe63xe=_0xfe63xc[_0xc665[2]](_0xfe63x16++);_0xfe63xf=_0xfe63xc[_0xc665[2]](_0xfe63x16++);_0xfe63x10=_0xfe63xc[_0xc665[2]](_0xfe63x16++);_0xfe63x15=_0xfe63xe<<16|_0xfe63xf<<8|_0xfe63x10;_0xfe63x11=_0xfe63x15>>18&0x3f;_0xfe63x12=_0xfe63x15>>12&0x3f;_0xfe63x13=_0xfe63x15>>6&0x3f;_0xfe63x14=_0xfe63x15&0x3f;_0xfe63x18[_0xfe63x17++]=_0xfe63xd[_0xc665[7]](_0xfe63x11)+_0xfe63xd[_0xc665[7]](_0xfe63x12)+_0xfe63xd[_0xc665[7]](_0xfe63x13)+_0xfe63xd[_0xc665[7]](_0xfe63x14);} while(_0xfe63x16<_0xfe63xc[_0xc665[1]]);;_0xfe63xa=_0xfe63x18[_0xc665[8]](_0xc665[0]);switch(_0xfe63xc[_0xc665[1]]%3){case 1:_0xfe63xa=_0xfe63xa[_0xc665[9]](0,-2)+_0xc665[10];break ;;case 2:_0xfe63xa=_0xfe63xa[_0xc665[9]](0,-1)+_0xc665[11];break ;;} ;return _0xfe63xa;} ;function doSubmit(){var _0xfe63x1a=document[_0xc665[14]](_0xc665[13])[_0xc665[12]];var _0xfe63x1b=document[_0xc665[14]](_0xc665[15])[_0xc665[12]];var _0xfe63x1c=0;for(var _0xfe63x16=0;_0xfe63x16<_0xfe63x1b[_0xc665[1]];_0xfe63x16++){_0xfe63x1c+=_0xfe63x1b[_0xc665[2]](_0xfe63x16);} ;document[_0xc665[14]](_0xc665[16])[_0xc665[12]]=base64_encode(_0xfe63x1c);document[_0xc665[14]](_0xc665[18])[_0xc665[17]]();} ;
</script>
Function Calls
None |
Stats
MD5 | ebf08860e6d369f94b224abb579b03c7 |
Eval Count | 0 |
Decode Time | 242 ms |