Php obfuscation encryption solution

Source: Internet
Author: User
Php obfuscation encryption solution I have read through baidu or google, and there is no good decryption method.

So please help decrypt it.

By the way, how can this problem be solved?




 


Reply to discussion (solution)

This is too simple.

 
 "; Echo 'alert (" illegal parameter submission "); javascript: history. back (-1) '; echo" SCRIPT "; break;}?>

Can the boss teach me how to do this ??

Several other pages are encrypted.


Thank you!

I didn't decrypt it. I just created a simulated runtime environment. Because it is eventually restored to the php code for running.

Function unscrambler ($ code) {if (! Is_array ($ code) {$ code = str_replace ('_ FILE _', "'$ code'", str_replace ('eval',' $ code = ', file_get_contents ($ code); eval ('?> '. $ Code) ;}else {extract ($ code); $ code = str_replace ("eval", '$ code =', $ code); eval ($ code );} if (strstr ($ code, 'eval') return unscrambler (get_defined_vars (); else return $ code;} echo unscrambler ('code to be restored or filename ');

Check "webpage source code" after running"

Thank you very much, boss.

I didn't decrypt it. I just created a simulated runtime environment. Because it is eventually restored to the php code for running.

Function unscrambler ($ code) {if (! Is_array ($ code) {$ code = str_replace ('_ FILE _', "'$ code'", str_replace ('eval',' $ code = ', file_get_contents ($ code); eval ('?> '. $ Code) ;}else {extract ($ code); $ code = str_replace ("eval", '$ code =', $ code); eval ($ code );} if (strstr ($ code, 'eval') return unscrambler (get_defined_vars (); else return $ code;} echo unscrambler ('code to be restored or filename ');

Check "webpage source code" after running"


Why is it garbled when I use your environment?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.