decoding eval(base64_decode))(解码评估(base64_decode)))
问题描述
我正在尝试解码此代码.我知道可以通过将 eval 更改为 echo 来完成.但在这种情况下,它不起作用.我有什么错误吗.这是我的encoded_file.php 代码:
我试图将 eval 更改为 echo,但它的文件不起作用.我也试过这个解码器:
这会给我们:
3. 现在我们可以删除第一个 echo/eval 并转到第二个:
这是第二行:
给我们:
4.我们可以删除它并进入最后一个评估:
这里是:
我们看到最终代码:
I am trying to decode this code. I know it can be done by changing eval to echo. But in this case its not working. Is i am making any mistake. This is my encoded_file.php code:
i have tried to change eval to echo but its not working file. I also tried this decoder:
but it also not working well. Any solution how to decode it or what's wrong in my decoder code.
Here are the steps which are needed to decode this (note - I've renamed variables/functions for clarity):
1. We see that this script reads content of itself, so we can assume - we cannot change this file
so lets create new file with this content and change this file:
2. Then we can change first eval to echo and all other evals should be commented:
here is first line:
this will give us:
3. Now we can remove first echo/eval and go to 2nd one:
here is 2nd line:
give us:
4. we can remove it and go to last eval:
here is it:
and we see final code:
这篇关于解码评估(base64_decode))的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!