im convert php-screw to windows dll

php.internals

Andrew

21 years ago
Hi.. I'm trying to get PHP Screw working on Windows thru Visual C++ compiling it as a windows DLL, everything works except it doesn't actually replace the fopen function, it seems to ignore that command. I would really like to get this working, I have a project that you can look at if you are interested: http://koula.co.za/screwdll.zip I am creating files in c:/ to check if a function runs, and only the pm9screw_open doesn't run, when replacing zend_open with it Thanks if you can help Regards Andrew

Wez Furlong

21 years ago
What is PHP Screw ? What are you trying to do? Let's have more detail and more incentive to actually download and look through the zip file. --Wez. On Mon, 13 Dec 2004 15:06:23 +0200, Andrew <andrew@webman.co.za> wrote:

Andrew van Dyk

21 years ago
Hi, Sorry... PHP Screw is a module to encrypt your PHP files so you don't distribute the source code. It works perfectly in UNIX, but im trying to convert it to windows. My conversion compiles etc fine, but it doesn't overwrite the zend_fopen function, so I havn't been able to get it to work properly yet.. http://freshmeat.net/projects/phpscrew/ ----- Original Message ----- From: "Wez Furlong" <kingwez@gmail.com> To: "Andrew" <andrew@webman.co.za> Cc: <php-windows@lists.php.net>; <internals@lists.php.net> Sent: Tuesday, December 14, 2004 17:18 PM Subject: Re: [PHP-DEV] im convert php-screw to windows dll
> What is PHP Screw ? > What are you trying to do? > Let's have more detail and more incentive to actually download and > look through the zip file. > > --Wez. > > On Mon, 13 Dec 2004 15:06:23 +0200, Andrew <andrew@webman.co.za> wrote: > > Hi.. > > > > I'm trying to get PHP Screw working on Windows thru Visual C++ compiling > > it as a windows DLL, everything works except it doesn't actually replace
the
> > fopen function, it seems to ignore that command. I would really like to
get
> > this working, I have a project that you can look at if you are
interested:

Christian Schneider

21 years ago
Andrew Van Dyk wrote:
> Sorry... PHP Screw is a module to encrypt your PHP files so you > don't distribute the source code. It works perfectly in UNIX, but
Just a quick note for people considering using PHP Screw: It is absolutely trivial to decrypt such a file as the encryption algorithm is datap[i] = (char)pm9screw_mycryptkey[(datalen - i) % cryptkey_len] ^ (~(datap[i])); See <http://www.schneier.com/crypto-gram-9902.html#snakeoil> for an essay by Bruce Schneier of what he thinks of home-grown crypto :-) Regards, - Chris