简体   繁体   English

有没有办法解码这个PHP代码?

[英]Is there a way to decode this PHP code?

I have this PHP code, and it appears to be obfuscated, instead of the massive line of code, I just substituted it with the word "code": 我有这个PHP代码,它似乎是混淆的,而不是大量的代码,我只是用“代码”一词替换它:

<?php
eval("?>".gzuncompress(base64_decode("code"))); ?>

Would there be any potential way of decoding said code? 是否有任何解码所述代码的潜在方法?

Sure, just replace the eval() with echo() . 当然,只需用echo()替换eval() echo() Based on experience, though, the code in there will probably be obfuscated as well. 但是,根据经验,那里的代码也可能会被混淆。

echo gzuncompress(base64_decode("code")));

然后,使用某些IDE的自动格式功能

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

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