PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.php > Seeing encrypted code in php
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Seeing encrypted code in php

Réponse
 
LinkBack Outils de la discussion
Vieux 28/04/2008, 20h01   #1
Bacchus
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Seeing encrypted code in php

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

  Réponse avec citation
Vieux 28/04/2008, 20h14   #2
Ivan Marsh
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Seeing encrypted code in php

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!"

  Réponse avec citation
Vieux 28/04/2008, 22h41   #3
Piotr
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Seeing encrypted code in php

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
  Réponse avec citation
Vieux 29/04/2008, 01h11   #4
Twayne
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Seeing encrypted code in php

> 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



  Réponse avec citation
Vieux 29/04/2008, 13h44   #5
C. (http://symcbean.blogspot.com/)
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Seeing encrypted code in php

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.
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 07h52.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12633 seconds with 13 queries