解码加密的PHP文件协助 [英] Decode an Encrypted PHP File Assistance
问题描述
我有一个文件,我想要解码,但我不知道最好的方法去做。我已经尝试通过一些在线工具,但没有太多的运气...代码如下所示:
<?php
/ pre>
$ zAkSoSavjFOn ='jumbledcode inhere';
$ THkNltHSOjsXfQLzr =';))))aBSwinFbFxNm $(ireegf(rqbprq_46rfno(rgnysavmt(ynir';
$ DzbOntpeGhMcan = strrev($ THkNltHSOjsXfQLzr);
$ WnJYuMUwKmRxBh = str_rot13($ DzbOntpeGhMcan);
eval($ WnJYuMUwKmRxBh);
?&$
在我所有的演奏中,我用php脚本解压缩以下内容:
eval(gzinflate(base64_decode(strrev($ zAkSoSavjFOn))));
有人可以指出正确的方向去关于这个过程?任何帮助将不胜感激。:)
解决方案混乱的代码是gzipped,base64编码, PHP代码几乎肯定是恶意的。
将
eval
替换为echo
,看看它给了你什么,那就是试图运行的代码是。I have a file that I'm trying to decode but I'm not sure the best way to go about doing it. I've tried putting it through a few online tools but haven't had much luck...the code looks like this:
<?php $zAkSoSavjFOn='jumbledcodeinhere'; $THkNltHSOjsXfQLzr=';))))aBSwinFbFxNm$(ireegf(rqbprq_46rfno(rgnysavmt(ynir'; $DzbOntpeGhMcan=strrev($THkNltHSOjsXfQLzr); $WnJYuMUwKmRxBh=str_rot13($DzbOntpeGhMcan); eval($WnJYuMUwKmRxBh); ?>
In all my playing I managed to extract the following with a php script:
eval(gzinflate(base64_decode(strrev($zAkSoSavjFOn))));
Could someone point me in the right direction on going about this process? Any help would be appreciated. :)
解决方案The "jumbled code" is gzipped, base64-encoded, reversed PHP code that is almost certainly malicious.
Replace
eval
withecho
and see what it gives you, that's what the code that is trying to run is.这篇关于解码加密的PHP文件协助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!