pk-fr / yakpro-po

YAK Pro - Php Obfuscator
http://www.php-obfuscator.com
Other
1.27k stars 354 forks source link

PHP file not usable anymore after obfuscation #42

Closed jiahao42 closed 5 years ago

jiahao42 commented 5 years ago

Hello, thank you so much for your amazing tool.

I met a problem with your tool: I am trying to obfuscate some php webshell using your tool for research purpose. I tried to obfuscate this file using the default setting of your tool, and then the obfuscated file is not working. Do you have any idea why?

Thanks a lot.

pk-fr commented 5 years ago

Hi jiahao42,

Your file does not start by <?php

but by <?

you have also html within the file, it works better to have a full php script and the tailing html winthin a

echo <<<END
xxx
END;

block