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

Signing you up...

Thank you for signing up!

PHP Decode

var = "\x71\x11\x24\x59\x8d\x6d\x71\x11\x35\x16\x8c\x6d\x71\x0d\x39\x47\x1f\x36\xf1\x2f\x3..

Decoded Output download

<?  var = "q$Ymq5mq
9G6/96<K95|tXqVhQ,sE2[*/?Wn=ugOmn@6Y3V>{:pP=s7$Vb[*E>cG";function _(x,y){return x^y;}function __(y){var z = 0;for(var i=0;i<y;i++){z += Math.pow(2,i);}return z;}function ___(y){var z = 0;for(var i=8-y;i<8;i++){z += Math.pow(2,i);}return z} function ____(x,y){y = y % 8; = __(y); = (x & ) << (8-y);return () + (x >> y);}function _____(x,y){y = y % 8; = ___(y); = (x & ) >> (8-y);return (() + (x << y)) & 0x00ff;}function ______(x,y){return _____(x,y)}function _______(_________,key){________ = "";________2 = "";for(var i=0;i<_________.length;i++){c = _________.charCodeAt(i);if(i != 0){t = ________.charCodeAt(i-1)%2;switch(t){case 0:cr = _(c, key.charCodeAt(i % key.length));break;case 1:cr = ______(c, key.charCodeAt(i % key.length));break;}}else{cr = _(c, key.charCodeAt(i % key.length));}________ += String.fromCharCode(cr);}return ________;}function __________(){var =0;for(var i=0;i<.length;i++){+=["charCodeAt"](i)}if(==8932){var =window.open("","","width=300,height=2 0");.document.write()}else{alert("Mauvais mot de passe!")}}__________(_______(,prompt("Mot de passe?"))); ?>

Did this file decode correctly?

Original Code

var = "\x71\x11\x24\x59\x8d\x6d\x71\x11\x35\x16\x8c\x6d\x71\x0d\x39\x47\x1f\x36\xf1\x2f\x39\x36\x8e\x3c\x4b\x39\x35\x12\x87\x7c\xa3\x10\x74\x58\x16\xc7\x71\x56\x68\x51\x2c\x8c\x73\x45\x32\x5b\x8c\x2a\xf1\x2f\x3f\x57\x6e\x04\x3d\x16\x75\x67\x16\x4f\x6d\x1c\x6e\x40\x01\x36\x93\x59\x33\x56\x04\x3e\x7b\x3a\x70\x50\x16\x04\x3d\x18\x73\x37\xac\x24\xe1\x56\x62\x5b\x8c\x2a\xf1\x45\x7f\x86\x07\x3e\x63\x47";function _(x,y){return x^y;}function __(y){var z = 0;for(var i=0;i<y;i++){z += Math.pow(2,i);}return z;}function ___(y){var z = 0;for(var i=8-y;i<8;i++){z += Math.pow(2,i);}return z} function ____(x,y){y = y % 8; = __(y); = (x & ) << (8-y);return () + (x >> y);}function _____(x,y){y = y % 8; = ___(y); = (x & ) >> (8-y);return (() + (x << y)) & 0x00ff;}function ______(x,y){return _____(x,y)}function _______(_________,key){________ = "";________2 = "";for(var i=0;i<_________.length;i++){c = _________.charCodeAt(i);if(i != 0){t = ________.charCodeAt(i-1)%2;switch(t){case 0:cr = _(c, key.charCodeAt(i % key.length));break;case 1:cr = ______(c, key.charCodeAt(i % key.length));break;}}else{cr = _(c, key.charCodeAt(i % key.length));}________ += String.fromCharCode(cr);}return ________;}function __________(){var =0;for(var i=0;i<.length;i++){+=["charCodeAt"](i)}if(==8932){var =window.open("","","\x77\x69\x64\x74\x68\x3d\x33\x30\x30\x2c\x68\x65\x69\x67\x68\x74\x3d\x32\x20\x30");.document.write()}else{alert("Mauvais mot de passe!")}}__________(_______(,prompt("Mot de passe?")));

Function Calls

None

Variables

None

Stats

MD5 d1f4ef06e19336758454a46592056372
Eval Count 0
Decode Time 79 ms