解码加密的PHP文件协助 [英] Decode an Encrypted PHP File Assistance

查看:130
本文介绍了解码加密的PHP文件协助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个文件,我想要解码,但我不知道最好的方法去做。我已经尝试通过一些在线工具,但没有太多的运气...代码如下所示:

 <?php 

$ zAkSoSavjFOn ='jumbledcode inhere';

$ THkNltHSOjsXfQLzr =';))))aBSwinFbFxNm $(ireegf(rqbprq_46rfno(rgnysavmt(ynir';

$ DzbOntpeGhMcan = strrev($ THkNltHSOjsXfQLzr);

$ WnJYuMUwKmRxBh = str_rot13($ DzbOntpeGhMcan);

eval($ WnJYuMUwKmRxBh);

?&$
/ pre>

在我所有的演奏中,我用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 with echo and see what it gives you, that's what the code that is trying to run is.

这篇关于解码加密的PHP文件协助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆