Decode Zend?

Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.

Moderator: General Moderators

/usr/local/
Forum Newbie
Posts: 9
Joined: Fri Mar 12, 2004 6:16 pm

Decode Zend?

Post by /usr/local/ »

Hi,

Is it possible to decode a php file encoded with Zend?
/usr/local/
Forum Newbie
Posts: 9
Joined: Fri Mar 12, 2004 6:16 pm

Post by /usr/local/ »

impossible? :?
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

why?
/usr/local/
Forum Newbie
Posts: 9
Joined: Fri Mar 12, 2004 6:16 pm

Post by /usr/local/ »

because i have just encoded php code. I found my old code. And I need to decode it..

Is it possible?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

should be possible. Fun? not likely.
User avatar
mudkicker
Forum Contributor
Posts: 479
Joined: Wed Jul 09, 2003 6:11 pm
Location: Istanbul, TR
Contact:

Post by mudkicker »

Fun? not likely.
:D :D
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

decode to what? i'm pretty sure it decodes to zend vm bytecode...

if the code is yours, you should be able to write the code again... and might want to spend some time on a source management system...
/usr/local/
Forum Newbie
Posts: 9
Joined: Fri Mar 12, 2004 6:16 pm

Post by /usr/local/ »

no i cant write again because it wasnt my code.
my friend gave me decodede.

i just wanted to know how to decode it.

is it possible?

thanks
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

if it can be run, then it can be decoded. Whether it can be decoded to anything really useful, is unlikely.
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

first it's's your code, now it's your friend's code, /usr/local/. Which one is it?
d3ad1ysp0rk
Forum Donator
Posts: 1661
Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA

Post by d3ad1ysp0rk »

patrikG wrote:first it's's your code, now it's your friend's code, /usr/local/. Which one is it?
His "friends" code which he "happened" to get off his server "by accident". :)
/usr/local/
Forum Newbie
Posts: 9
Joined: Fri Mar 12, 2004 6:16 pm

Post by /usr/local/ »

My friend give me some code decoded and i added more modules to it. It's now half encoded half decoded. My friends told me that he has no decoded codes.

I need to decode all the codes.

But I don't know how? Please help me!
User avatar
mudkicker
Forum Contributor
Posts: 479
Joined: Wed Jul 09, 2003 6:11 pm
Location: Istanbul, TR
Contact:

Post by mudkicker »

Ithink you have to get the program which he/she used to encode the script and decode it with that program for yourself...
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Im pretty sure if you are able to decode it easily, it would defy its purpose of ever existing. It is encoded to protect its content.
php_hacker
Forum Newbie
Posts: 7
Joined: Mon Mar 07, 2005 3:44 pm

Post by php_hacker »

/usr/local/ wrote:impossible? :?
I cant call anything impossible.
You know, when SourceGuardianII was launched, everyone said that its impossible to decode scripts which are encoded using it. But now its possible to decode those files.

Maybe someone can do Zend also.
Locked