Click to See Complete Forum and Search --> : Does anybody want a *FREE* PHP Encoder?


silent
06-23-2004, 06:50 AM
I am working on a system called "FreeLock" that will use the same basic methodology as CodeLock, but obviously be free.

For those of you not familiar with CodeLock, it encodes your PHP file, then includes codelock.php (also encoded) which then decodes and runs your script (with the option of using gzip style compression on it)

I am just wondering if anybody here is interested in something like that... let me know. The encoding/decoding works fine (with some varying scrambling methods of the end-result base64 code).

I plan on having it ready within a month or so.
Let me know if you are interested, and what features you want from it.

silent
06-23-2004, 07:03 AM
This is a script that was encoded by FreeLock

<?php $script_name='test.php'; include('freelock.php'); exit;?>
---B---s03oYfDq8SHukmLiluPvSGya

silent
06-27-2004, 03:09 AM
Nobody seems very interested, but here's the link to the project
on SourceForge

http://freelock.sourceforge.net

Check it out (note - it's definately not ready for real use, but I want some input if you test it)

Currently encodes/compresses scripts, can limit script to a specific host/IP address, and that's about it right now.
That and I haven't written the encoder for the include file yet.

planetsim
06-27-2004, 07:05 AM
Ok well i seemed to test it but didnt seem to work. I then created a directory still the same.

I updated the script for errors.

Notice: Undefined index: expiry in C:\web\httpdocs\freelock\freelockenc.php on line 17

Seems interesting though

planetsim
06-27-2004, 07:09 AM
Tested for blank entries just then, you need some error checking for things like that. Still yet to get it working though... :(

silent
06-27-2004, 06:18 PM
What exactly doesn't work?
You know that the Files : field accepts arguments from
the filesystem's point of view, right?
And the same with the output dir.
If you don't specify the output dir, your files
will be overwritten.

The release is more to get reactions about the idea, though I don't have any problems with it.

What's your PHP version/Webserver/OS?

Thanks!

planetsim
06-27-2004, 09:31 PM
PHP 4.3.7
Apache 2.0.49
Windows XP

Yes i realised it was the file system i even made the directory for the output to be put in and nothing was put there. I however have found numerous areas where there is no error checking. E.g. One case is empty submit.

silent
06-28-2004, 03:10 AM
Ok, I fixed the empty filespec thing.
But my point in letting people try it out is to get input to make it better.
Things like error checking/user interface stuff should come last IMO.

I am making this to help other people like me who are without $$$ (or even those who have money) protect code that they
are distributing to a somewhat unreliable company/person.