PHP Classes

File: index.htm

Recommend this page to a friend!
  Classes of Zubov Ilya   Solace script maze   index.htm   Download  
File: index.htm
Role: Sample output
Content type: text/plain
Description: Template
Class: Solace script maze
PHP source code protection based only on PHP code
Author: By
Last change:
Date: 19 years ago
Size: 7,169 bytes
 

Contents

Class file image Download
<html> <head> <title>{MAZE_TITLE}</title> {PHP_STYLE} <meta http-equiv="Content-Type" content="text/html; charset=windows-1251"> </head> <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="20"> <div class="center"> <table border="0" cellpadding="3" width="600"> <tr class="h"> <td valign=center> <a href="http://www.php.net"> <img border="0" src="?={PHP_LOGO_GUID}" alt="PHP Logo"></a> <h1 class="p">{MAZE_TITLE} {MAZE_VERSION}</h1> (c) Zilav &lt;solace at ezmail dot ru&gt;, 2003-2004<br> PHP version {PHP_VERSION} </td> </tr> </table> <script language="JavaScript"> <!-- function checkForm(thisform){ validformFile = /(.htm|.html|.php|.phtml)$/; if (thisform.script.value == '') if (!validformFile.test(thisform.script_file.value)){ alert("Only PHP files are supported (htm,html,php,phtml extensions). Please try again."); thisform.script_file.focus(); return false; } if (thisform.password.value != thisform.password2.value) { alert("Password confirmation is incorrect."); thisform.password2.focus(); return false; } return true; } //--> </script> <form action="{PHPNAME}" method="post" enctype="multipart/form-data" onSubmit="return checkForm(this)"> <table border="0" cellpadding="3" width="600"> <tr> <td class="e"> PHP script </td> </tr> <tr> <td class="v"> Source (with opening/closing tags):<br> <textarea name="script" cols=70 rows=10>{DEMO_SCRIPT}</textarea> <br> or load from file:<br> <!-- 100k script size.. enough? --> <input type="hidden" name="MAX_FILE_SIZE" value="100000"> <input name="script_file" type="file" size=70> </td> </tr> <tr> <td class="e"> Maze complexity level<br> Recommended levels: 1-10 for slight protection, 10-20 - quite strong, above 20 very secure but for fast CPU only. </td> </tr> <tr> <td class="v"> <input type=text name="maze_level" size=3 value="5"> </td> </tr> <tr> <td class="e"> Morphing complexity level<br> Morphing of decode procedures tries to prevent automated decryption. Recommended levels: 1-2 is enough, 3 and above will GREATLY increase the size of mazed script and decoding time. </td> </tr> <tr> <td class="v"> <input type=text name="morph_level" size=3 value="2"> </td> </tr> <tr> <td class="e"> Compress mazed script<br> Highly recommended, but requires Zlib extension to execute (newer PHP versions have built-in Zlib). Doesn't affect execution time in any way. </td> </tr> <tr> <td class="v"> <input type=checkbox name="enable_compress" checked>Enable compression level <select name="compress_level">{SELECT_COMPRESS}</select> (9 - highest) </td> </tr> <tr> <td class="e"> Master password<br> Password allows to retrieve script's source code, pass it as a value for "unmaze" parameter: http://host.com/mazed_script.php?unmaze=password<br> Do not use spaces and special chars. Leave blank to disable. </td> </tr> <tr> <td class="v"> <input type=password name="password" size=20 value=""> &nbsp;&nbsp;&nbsp;Confirm <input type=password name="password2" size=20 value=""> <br> You can measure the decoding time by passing parameter "unmazetest":<br> <b>http://host.com/mazed_script.php?unmazetest</b><br> This works for all scripts, even without password. </td> </tr> <tr> <td class="e"> Expiration date/time<br> Script will work only before desired date </td> </tr> <tr> <td class="v"> <input type=checkbox name="enable_expiration">Enable<br> <select name="e_hour">{SELECT_HOUR}</select> : <select name="e_minute">{SELECT_MINUTE}</select> &nbsp;&nbsp;&nbsp;&nbsp; <select name="e_day">{SELECT_DAY}</select> <select name="e_month">{SELECT_MONTH}</select> <select name="e_year">{SELECT_YEAR}</select> </td> </tr> <tr> <td class="e"> Do client/server IP binding (mazed scripts will work only for specified clients or on specified servers).<br> Provide one or several ip or masks (for example 192.168.0.1, 202.11.*.*) each on new line.<br> Leave blank to disable IP check. </td> </tr> <tr> <td class="v"> <table width=100% border=0 cellspacing=0 cellpadding=3> <tr> <td width=50%> Client IP<br> <textarea name="client_ip" cols=20 rows=3></textarea> </td> <td width=50%> Server IP<br> <textarea name="host_ip" cols=20 rows=3></textarea> </td> </tr> </table> </td> </tr> <tr> <td class="e"> Self-integrity check<br> All mazed scripts while decoding open themselves (fopen()) to check for modifications (possible hacking?). I assume that can lead to some incompatibility issues on several systems. If you experience any problems running mazed scripts, try to uncheck (although it will heavily reduce protection strength). </td> </tr> <tr> <td class="v"> <input type=checkbox name="self_check" checked> Enable </td> </tr> <tr> <td class="e"> <a href="http://turck-mmcache.sourceforge.net"> <img align="right" border="0" src="http://turck-mmcache.sourceforge.net/mmcache_ad03.gif"> </a> Turck MMCache Encoding<br> Additionaly encode scripts with <a href="http://turck-mmcache.sourceforge.net/">Turck MMCache</a> - free and very fast PHP cache and encoder for multiply platforms. Please note that encoding is irreversible and you (and hackers as well) will not be able to unmaze your scripts anymore, but execution requires Turck extension to be loaded. </td> </tr> <tr> <td class="v"> <!-- BEGIN DISABLED BLOCK: with_turck --> <input type=checkbox name="turck" checked> Enable <!-- END DISABLED BLOCK: with_turck --> <!-- BEGIN ENABLED BLOCK: no_turck --> Turck MMCache is not installed. <!-- END ENABLED BLOCK: no_turck --> </td> </tr> <tr> <td align=center> <input type=submit name="maze" value="Maze it!"><br> Mazing can take some time, please be patient. </td> </tr> </table> </form> </div> </body> </html>