Accidentally Decryption: SHORT OPEN TAG for the rescue
Encrypted Code Decrypt In Browser
One of my friend working on customization of a CMS application developed by some other company, a friend of mine got stuck with few encrypted PHP files in the source code. Being related to core functionality of CMS like registration and activation of application, he was unable make changes to these files and hit a dead end in customization. Application provider also failed to provide support on this.
Along came the blessed option of short_open_tag in PHP.ini. Luckily the developers who developed this CMS, placed short tags “<?†instead of “<?php†in the encrypted pages. Since by default the PHP setting for short_open_tag is set to OFF, the web server failed to interpret this PHP code, instead, it spelled out the decrypted code in the browser window.
It only took viewing the source code in the browser and copy pasting this decrypted code into a new file and using this new file instead of encrypted one to make things moving again.
Decrypted Code Explore In Development Mode
Encrypted PHP Code
So let’s get started and don’t forget to subscribe to our RSS-Feed and visit my twitter page : 2experts if you want to follow to keep track on our next post.
Related posts:














Discussion
Wow! This is incredible. You’ve shared million dollars info without getting too deep & difficult. This is really help full info for developers like me & many others. I must mark this post as REMARKABLE job done by you. God bless you.
I don’t know..
but keep going…
Yeah…
that’s right..
Trackbacks and Pingbacks
Leave a Reply