This is a discussion on Seeing encrypted code in php within the PHP Language forums, part of the PHP Programming Forums category; I have some files with encrypted code. I am trying to edit the pages and believe the encrypted portion has ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I have some files with encrypted code.
I am trying to edit the pages and believe the encrypted portion has some code I need to edit. Is there a way to print out the code to see the raw code without the encryption or any other way to view the code?? thanks |
|
|||
|
On Mon, 28 Apr 2008 19:01:39 +0000, Bacchus wrote:
> I have some files with encrypted code. > I am trying to edit the pages and believe > the encrypted portion has some code I need to edit. > > Is there a way to print out the code to see the > raw code without the encryption or any other way to > view the code?? Forgive me for thinking that if the code is encrypted, keeping you from editing it is exactly why it's encrypted... and I'm guessing encrypting it from the original source code is how it got that way. If there's some easy way to decrypt it and edit it I'd be surprised. -- "Remain calm, we're here to protect you!" |
|
|||
|
Bacchus wrote:
> I have some files with encrypted code. > I am trying to edit the pages and believe > the encrypted portion has some code I need to edit. > > Is there a way to print out the code to see the > raw code without the encryption or any other way to > view the code?? It depends on the way it's coded. If it's coded with IonCube encoder, then it's not possible to convert it back to PHP. You should contact original developer of the code and ask him to change it or you could write your own code (or ask someone to) that would suit your needs. ionCube 'compiles' PHP scripts to intermediate state (called 'opcode') and then encrypts it. There is no easy way to revert the process. best regards Piotr N |
|
|||
|
> I have some files with encrypted code.
> I am trying to edit the pages and believe > the encrypted portion has some code I need to edit. > > Is there a way to print out the code to see the > raw code without the encryption or any other way to > view the code?? > > thanks Unencrypt it. But unless you encrypted it, you're not likelyh to be able to. That's why it's encrypted; duhh! -- Regards, Twayne Open Office isn't just for wimps anymore; OOo is a GREAT MS Office replacement www.openoffice.org |
|
|||
|
On 29 Apr, 01:11, "Twayne" <nob...@devnull.spamcop.net> wrote:
> > I have some files with encrypted code. > > I am trying to edit the pages and believe > > the encrypted portion has some code I need to edit. > > > Is there a way to print out the code to see the > > raw code without the encryption or any other way to > > view the code?? > > > thanks > > Unencrypt it. But unless you encrypted it, you're not likelyh to be > able to. That's why it's encrypted; duhh! > -- > Regards, A client asked me to install some code he had purchased - I said I would if it met our security guidelines after a code examinition at £1/ source line. He agreed. The code arrived - it was encrypted - which meant ti immediately failed. But it included the PHP decryptor: eval(str_rot13(base64_decode("................ Once our 1337 team of uber-hackers (;) reverse-engineered this we found the PHP source code reflected the quality of the encryption algorithm. But like Piotr said - if the encryption has been done properly then its not worth the effort. C. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|