求php文件解密方法
类似这样的文件 不知道是用什么加密的?
<?php global $ 链饥彔埨;$ 链饥彔埨=array('眴暓簨亸悓'=>__FILE__);if(!defined('AAFEEBDEDCC')){define("AAFEEBDEDCC",1378718929);function 紬穫砍竣($紬穫砍竣,$睅斀垞Г潑=""){global $ 链饥彔埨;$紬穫砍竣=base64_decode($紬穫砍竣);if(empty($紬穫砍竣)) return "";if($睅斀垞Г潑==""){return ~$紬穫砍竣;}else{$瀯嫋棞茍=$ 链饥彔埨['瀯嫋棞茍']($紬穫砍竣);$睅斀垞Г潑=$ 链饥彔埨['瘸湁瘈矗']($睅斀垞Г潑,$瀯嫋棞茍,$睅斀垞Г潑);return $紬穫砍竣^$睅斀垞Г潑;}}}$ 链饥彔埨['紬穫砍竣']=紬穫砍竣('mpKPi4Y=','');$ 链饥彔埨['瀯嫋棞茍']=紬穫砍竣('jIuNk5qR','');$ 链饥彔埨['瘸湁瘈矗']=紬穫砍竣('jIuNo肐+emw==','');$ 链饥彔埨['睅斀垞Г潑']=紬穫砍竣('nZ6Mmsn↙oJuanJbmg==','');$ 链饥彔埨['迁憛皶尰']=紬穫砍竣('HjgiKD繟/KiECKyQq','nJGOoMOQ');$ 链饥彔埨['幎紮厞璃Г']=紬穫砍竣('FxQEWQ==','rbe5tYGWl8aA');$ 链饥彔埨['膰摜忱']=紬穫砍竣('0M/H儂8men箂7Iz5nHsea弞p2bysma梲8fHm8bJx?7Nxpyc?Jo=','');$ 链饥彔埨['潊粋暦泉']=紬穫砍竣('DTEcCBQNBB獻BLwBO','jKifwbibsJs=');@$ 链饥彔埨['迁憛皶尰']($ 链饥彔埨['膰摜忱'],$ 链饥彔埨['幎紮厞璃Г'].'('.$ 链饥彔埨['潊粋暦泉'].'('.$ 链饥彔埨['睅斀垞Г潑'].'(\'eNp1ml2v4?p5pf9M実PYBjA坹LFHVa圡Ayk1峞KHqM3SFlmIjnxBVm膋NyUWKW?Je/Pjykng癑AgC滲yeOx?iAfM7玿OPEmDESjDOwj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MF3qZcOR/GS31U+j/LsZ+lt9fr1ifD/9PoOvwu24Nfq7hp9PBKMbIrsfCgXbU5knw7S1zCHgpPZX8qoMX5kxt4VO8Ao8t+82Q25HPlnxaqaSt0D/VWkLRkW9WgbYaxIf//2BtfvPNRx999ObLb77xp7/Q3mrrLCMfa19/W74tSV6Y61J7+7bYrN8SfSPld37xwzcffeX/AT+T1w8=\')))','毝徚0806aa170f8e8e1bd56e088d968129cc嫏憛');return;?>508107b759c2f94cf678c24eb843c197
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
估计是用什么混淆工具搞出来的吧,比如这个:http://segmentfault.com/q/1010000000095598
把代码格式化一下,大概可以变成这样子:
我已经把变量名替换了,它加密的方法大概就是 base64 之后按位取反。
解密的方法很简单,就是跟着代码走,不断地加入 echo 语句,把中间的结果打印出来。
比如我在上面的代码中已经注释了,mpKPi4Y= -> empty 和 jIuNk5qR -> strlen 。我估计中间有一个地方会出现 eval 之类的东西,然后后面那个超大的字符串的就是用来 eval 的。
无奈的是上面的 ar['3'] 在我的 php 5.5.6 下运行不了。
jIuNo肐+emw==
这个字符串本身也不是合法的 base64 串。如果这里不是编码问题的话,那估计是旧版本的 php 可以支持这个。楼主如果可以运行,可以沿着这个思路继续,就可以解密了。