简体   繁体   English

解码加密的PHP文件协助

[英]Decode an Encrypted PHP File Assistance

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: 在我的所有演奏中,我设法用php脚本提取了以下内容:

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. “混乱的代码”经过压缩,base64编码的反向PHP代码,几乎可以肯定是恶意的。

Replace eval with echo and see what it gives you, that's what the code that is trying to run is. echo替换eval ,看看它能给您带来什么,这就是试图运行的代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM