A bit offtopic, but should be said all the same; I'm sure users of this thread will look at your site and think they are getting something they are not ...

Originally Posted by
tEncoder
tEncoder is an encryption software designed to encrypt PHP files for use as software. tEncoder uses a complex encryption system to encode PHP scripts into standalone encrypted scripts. SCRIPTS RUN THROUGH tEncoder DO NOT REQUIRE ANY SOFTWARE TO RUN. They are standalone meaning they run by themselves. All you need to do is upload your script, encode it, and download it. It's as simple as that.
It's certainly not complex. You'll never achieve decent protection using php, you must use C and write your own extension, look for vld ...
PHP Code:
<?
/*
tEncoder
(C) 2007 Data Components Software Development
*/
function encrypt1($source, $dest) {
$typedef = chr(36);
$b64dc1 = "?><?
".$typedef."_CHAR=\"\";
".$typedef."_CHAR2=\"\";
for(".$typedef."i=0;".$typedef."i<255;".$typedef."i++)
{
".$typedef."_CHAR.=chr(".$typedef."i);
}
for(".$typedef."i=255;".$typedef."i>=0;".$typedef."i--)
{
".$typedef."_CHAR2.=chr(".$typedef."i);
}
".$typedef."_DECODE64=base64_decode(".$typedef."_DECODE);
".$typedef."_DECRYPT=strtr(".$typedef."_DECODE64,".$typedef."_CHAR2,".$typedef."_CHAR);
eval(".$typedef."_DECRYPT);
return;
die();
?>";
$hnd = fopen($source, "r");
$code = fread($hnd, filesize($source));
fclose($hnd);
for($i=0;$i<255;$i++)
{
$_CHAR.=chr($i);
}
for($i=255;$i>=0;$i--)
{
$_CHAR2.=chr($i);
}
$code = "?>".$code;
$code = strtr($code, $_CHAR2, $_CHAR);
$code = base64_encode($code);
$hnd = fopen($dest, "w");
fwrite($hnd, "<? ".$typedef."_DECODE='".$code."
';
".$typedef."_CMD='".base64_encode($b64dc1)."
';
eval(base64_decode(stripslashes(".$typedef."_CMD)));
return;
?>");
fclose($hnd);
}
function encrypt($source, $dest) {
// Encrypts files
encrypt1($source, $source.".1");
encrypt1($source.".1", $source.".2");
encrypt1($source.".2", $source.".3");
encrypt1($source.".3", $source.".4");
encrypt1($source.".4", $dest);
unlink($source.".1");
unlink($source.".2");
unlink($source.".3");
unlink($source.".4");
}
function encryptdir($source, $dest) {
$h = opendir($source);
while ($d = readdir($h)) {
if ($d != '.' && $d != '..') {
$p = pathinfo($source."/".$d);
if (is_dir($source."/".$d)) {
mkdir($dest."/".$d, 0777);
encryptdir($source."/".$d, $dest."/".$d);
} elseif (strtolower($p['extension']) == "php" || strtolower($p['extension']) == "inc") {
encrypt($source."/".$d, $dest."/".$d);
echo $source."/".$d." => ".$dest."/".$d." - <font color=\"FF0000\">ENCRYPTED</font><br>";
}
}
}
}
?>
as I disassembled your source code, in effect I wrote every character of the file and it's also legal to publish snippets of copyrighted material for criticism and review ... I haven't broken any laws, it's legal to reverse engineer software for educational purposes ...
Bookmarks