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

Signing you up...

Thank you for signing up!

PHP Decode

if(empty(constant(base64_decode('cmVkYWN0aW9u')))){throw new CHttpException(404,Yii::t(bas..

Decoded Output download

<?  if(empty(constant(base64_decode('cmVkYWN0aW9u')))){throw new CHttpException(404,Yii::t(base64_decode('bWFpbi11aQ=='),base64_decode('PHN0cm9uZz5XYXJuaW5nITwvc3Ryb25nPiBZb3VyIGxpY2Vuc2UgaGFzIGV4cGlyZWQsIHNlbmQgZW1haWwgdG8gc2FsZXNAdnNkZXNrLnJ1IGZvciBsaWNlbnNlIHJlbmV3YWwh')));}if((constant(base64_decode('cmVkYWN0aW9u'))!==base64_decode('REVNTw=='))AND!empty(constant(base64_decode('bGljZW5zZV9kYXRl')))){$d018e77635d40=constant(base64_decode('bGljZW5zZV9kYXRl'));$r5fc732311905=strtotime(base64_decode('LTIwIGRheXM='),strtotime($d018e77635d40));$a44fdec47036f=date(base64_decode('ZA=='),(strtotime($d018e77635d40)-strtotime(date(base64_decode('ZC5tLlk=')))));if(strtotime(date(base64_decode('ZC5tLlk=')))>=strtotime($d018e77635d40)){Yii::app()->$u9df1c16e8235->setFlash(base64_decode('ZGFuZ2Vy'),Yii::t(base64_decode('bWFpbi11aQ=='),base64_decode('PHN0cm9uZz5XYXJuaW5nITwvc3Ryb25nPiBZb3VyIGxpY2Vuc2UgaGFzIGV4cGlyZWQsIHNlbmQgZW1haWwgdG8gc2FsZXNAdnNkZXNrLnJ1IGZvciBsaWNlbnNlIHJlbmV3YWwh')));}if(strtotime(date(base64_decode('ZC5tLlk=')))>=strtotime(base64_decode('LTEgZGF5'),$r5fc732311905)AND strtotime(date(base64_decode('ZC5tLlk=')))<strtotime($d018e77635d40)){Yii::app()->$u9df1c16e8235->setFlash(base64_decode('d2FybmluZw=='),Yii::t(base64_decode('bWFpbi11aQ=='),base64_decode('PHN0cm9uZz5XYXJuaW5nITwvc3Ryb25nPiBZb3VyIGxpY2Vuc2Ugd2lsbCBleHBpcmUgaW4g')).($a44fdec47036f-1).Yii::t(base64_decode('bWFpbi11aQ=='),base64_decode('IGRheXMsIHNlbmQgZW1haWwgdG8gc2FsZXNAdnNkZXNrLnJ1IGZvciBsaWNlbnNlIHJlbmV3YWwh')));}if(strtotime(date(base64_decode('ZC5tLlk=')))>strtotime(base64_decode('KzEwIGRheQ=='),strtotime($d018e77635d40))){throw new CHttpException(404,Yii::t(base64_decode('bWFpbi11aQ=='),base64_decode('PHN0cm9uZz5XYXJuaW5nITwvc3Ryb25nPiBZb3VyIGxpY2Vuc2UgaGFzIGV4cGlyZWQsIHNlbmQgZW1haWwgdG8gc2FsZXNAdnNkZXNrLnJ1IGZvciBsaWNlbnNlIHJlbmV3YWwh')));}} ?>

Did this file decode correctly?

Original Code

if(empty(constant(base64_decode('cmVkYWN0aW9u')))){throw new CHttpException(404,Yii::t(base64_decode('bWFpbi11aQ=='),base64_decode('PHN0cm9uZz5XYXJuaW5nITwvc3Ryb25nPiBZb3VyIGxpY2Vuc2UgaGFzIGV4cGlyZWQsIHNlbmQgZW1haWwgdG8gc2FsZXNAdnNkZXNrLnJ1IGZvciBsaWNlbnNlIHJlbmV3YWwh')));}if((constant(base64_decode('cmVkYWN0aW9u'))!==base64_decode('REVNTw=='))AND!empty(constant(base64_decode('bGljZW5zZV9kYXRl')))){$d018e77635d40=constant(base64_decode('bGljZW5zZV9kYXRl'));$r5fc732311905=strtotime(base64_decode('LTIwIGRheXM='),strtotime($d018e77635d40));$a44fdec47036f=date(base64_decode('ZA=='),(strtotime($d018e77635d40)-strtotime(date(base64_decode('ZC5tLlk=')))));if(strtotime(date(base64_decode('ZC5tLlk=')))>=strtotime($d018e77635d40)){Yii::app()->$u9df1c16e8235->setFlash(base64_decode('ZGFuZ2Vy'),Yii::t(base64_decode('bWFpbi11aQ=='),base64_decode('PHN0cm9uZz5XYXJuaW5nITwvc3Ryb25nPiBZb3VyIGxpY2Vuc2UgaGFzIGV4cGlyZWQsIHNlbmQgZW1haWwgdG8gc2FsZXNAdnNkZXNrLnJ1IGZvciBsaWNlbnNlIHJlbmV3YWwh')));}if(strtotime(date(base64_decode('ZC5tLlk=')))>=strtotime(base64_decode('LTEgZGF5'),$r5fc732311905)AND strtotime(date(base64_decode('ZC5tLlk=')))<strtotime($d018e77635d40)){Yii::app()->$u9df1c16e8235->setFlash(base64_decode('d2FybmluZw=='),Yii::t(base64_decode('bWFpbi11aQ=='),base64_decode('PHN0cm9uZz5XYXJuaW5nITwvc3Ryb25nPiBZb3VyIGxpY2Vuc2Ugd2lsbCBleHBpcmUgaW4g')).($a44fdec47036f-1).Yii::t(base64_decode('bWFpbi11aQ=='),base64_decode('IGRheXMsIHNlbmQgZW1haWwgdG8gc2FsZXNAdnNkZXNrLnJ1IGZvciBsaWNlbnNlIHJlbmV3YWwh')));}if(strtotime(date(base64_decode('ZC5tLlk=')))>strtotime(base64_decode('KzEwIGRheQ=='),strtotime($d018e77635d40))){throw new CHttpException(404,Yii::t(base64_decode('bWFpbi11aQ=='),base64_decode('PHN0cm9uZz5XYXJuaW5nITwvc3Ryb25nPiBZb3VyIGxpY2Vuc2UgaGFzIGV4cGlyZWQsIHNlbmQgZW1haWwgdG8gc2FsZXNAdnNkZXNrLnJ1IGZvciBsaWNlbnNlIHJlbmV3YWwh')));}}

Function Calls

constant 1
base64_decode 1

Variables

None

Stats

MD5 1d17078e382410f00d8ceb3e3696bc73
Eval Count 0
Decode Time 53 ms