Decoded Output
Download<?php
/*
encode
-- EnPHP v2: http://enphp.djunny.com/
*/namespace appdmin\model;error_reporting(0);function (){$=func_get_args();$=0x066d;}function (){goto ;::goto ;:$=func_get_args();goto ;:if(!($[0x001]==$+0x00007b))goto ;goto ;::goto ;::goto ;:return(($=gzinflate(substr(base64_decode('H4sIAAAAAAAAA4tJLCiISUzJzcyLyc1PSc2JCSjKTylNLnFOLEkFAI7FgVgcAAAA'),10,-8)))?$:$);goto ;:if(!($[0x0002]==$+0x0000116))goto ;goto ;::goto ;:return base64_decode(join("",array('Y','2','F','0','Z','V','9','p','Z','A')));goto ;:return gzinflate(' ');goto ;:return base64_decode(str_rot13('Kj'));goto ;:$=0x00a24;goto ;:return((parse_str("bWVtYmVyLmlk",$)||$)?base64_decode(key($)):"");goto ;:if(!($[0x0002]==$+0x016d))goto ;goto ;::goto ;:if(!($[0x001]==$+0x000030))goto ;goto ;:if(!($[0x0002]==$+0x00000b3))goto ;goto ;:}use app\common\model\TimeModel;class ProductLists extends TimeModel{protected $name="product_lists";protected $deleteTime="delete_time";public function onAfterRead($){goto ;::goto ;:foreach($ as $=>$){goto ;:$->{$}=$;goto ;:if(!empty($))goto ;goto ;::goto ;::goto ;:goto ;goto ;:}goto ;::goto ;:$=cache($->title.(0x0aaa,0x00000a9f,$).$);goto ;:if(!($&&!empty($)))goto ;goto ;:if(!$)goto ;goto ;::goto ;:$=session((0x0000a71,0x00000a54));goto ;:}public function productCate(){return $this->belongsTo((0x0afa,0x0000b11,0x0ad7),(0x00000b6c,0x00000b85,0x00000b3a),(0x0000b9d,0x0000bbb,0x00b91));}} ?>
Did this file decode correctly?
How would you describe this file?
Thank you for your feedback! This will help us detect malicious PHP files more accurately in the future.
Function Calls
None
Variables
None
Stats
| MD5 | faf271795c10f01b |
|---|---|
| Eval Count | 0 |
| Decode Time | 35 ms |
Original Code
<?php
/*
encode
-- EnPHP v2: http://enphp.djunny.com/
*/namespace app\admin\model;error_reporting(0);function (){$=func_get_args();$=0x066d;}function (){goto ;::goto ;:$=func_get_args();goto ;:if(!($[0x001]==$+0x00007b))goto ;goto ;::goto ;::goto ;:return(($=gzinflate(substr(base64_decode('H4sIAAAAAAAAA4tJLCiISUzJzcyLyc1PSc2JCSjKTylNLnFOLEkFAI7FgVgcAAAA'),10,-8)))?$:$);goto ;:if(!($[0x0002]==$+0x0000116))goto ;goto ;::goto ;:return base64_decode(join("",array('Y','2','F','0','Z','V','9','p','Z','A')));goto ;:return gzinflate(' ');goto ;:return base64_decode(str_rot13('Kj'));goto ;:$=0x00a24;goto ;:return((parse_str("bWVtYmVyLmlk",$)||$)?base64_decode(key($)):"");goto ;:if(!($[0x0002]==$+0x016d))goto ;goto ;::goto ;:if(!($[0x001]==$+0x000030))goto ;goto ;:if(!($[0x0002]==$+0x00000b3))goto ;goto ;:}use app\common\model\TimeModel;class ProductLists extends TimeModel{protected $name="\160\162\157\x64\x75\143\x74\137\154\x69\163\x74\163";protected $deleteTime="\x64\145\154\145\x74\145\137\164\x69\x6d\x65";public function onAfterRead($){goto ;::goto ;:foreach($ as $=>$){goto ;:$->{$}=$;goto ;:if(!empty($))goto ;goto ;::goto ;::goto ;:goto ;goto ;:}goto ;::goto ;:$=cache($->title.(0x0aaa,0x00000a9f,$).$);goto ;:if(!($&&!empty($)))goto ;goto ;:if(!$)goto ;goto ;::goto ;:$=session((0x0000a71,0x00000a54));goto ;:}public function productCate(){return $this->belongsTo((0x0afa,0x0000b11,0x0ad7),(0x00000b6c,0x00000b85,0x00000b3a),(0x0000b9d,0x0000bbb,0x00b91));}}