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
Post
by /usr/local/ » Thu Feb 17, 2005 8:07 pm
Hi,
Is it possible to decode a php file encoded with Zend?
patrikG
DevNet Master
Posts: 4235 Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK
Post
by patrikG » Fri Feb 18, 2005 11:57 am
why?
/usr/local/
Forum Newbie
Posts: 9 Joined: Fri Mar 12, 2004 6:16 pm
Post
by /usr/local/ » Fri Feb 18, 2005 1:20 pm
because i have just encoded php code. I found my old code. And I need to decode it..
Is it possible?
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Fri Feb 18, 2005 3:43 pm
should be possible. Fun? not likely.
mudkicker
Forum Contributor
Posts: 479 Joined: Wed Jul 09, 2003 6:11 pm
Location: Istanbul, TR
Contact:
Post
by mudkicker » Fri Feb 18, 2005 6:09 pm
Fun? not likely.
timvw
DevNet Master
Posts: 4897 Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium
Post
by timvw » Fri Feb 18, 2005 6:45 pm
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/ » Sat Feb 19, 2005 8:32 pm
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
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Sat Feb 19, 2005 8:36 pm
if it can be run, then it can be decoded. Whether it can be decoded to anything really useful, is unlikely.
patrikG
DevNet Master
Posts: 4235 Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK
Post
by patrikG » Sun Feb 20, 2005 2:39 am
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 » Sun Feb 20, 2005 6:41 am
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/ » Sun Feb 20, 2005 8:44 am
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!
mudkicker
Forum Contributor
Posts: 479 Joined: Wed Jul 09, 2003 6:11 pm
Location: Istanbul, TR
Contact:
Post
by mudkicker » Sun Feb 20, 2005 8:47 am
Ithink you have to get the program which he/she used to encode the script and decode it with that program for yourself...
John Cartwright
Site Admin
Posts: 11470 Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:
Post
by John Cartwright » Sun Feb 20, 2005 9:11 am
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 » Mon Mar 07, 2005 4:08 pm
/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.