?? jx2009key.php
字號:
<?php
$TD_MYOA_COMPANY_NAME="極限科技";
$CODE_FLAG = "SOHUU2009";
function bver4sss42rgooder_look( $CODE,$TD_MYOA_COMPANY_NAME, $M_CODE, $ENCRYPT_CODE )
{
global $connection;
global $TD_MYOA_COMPANY_NAME;
global $CODE_FLAG;
switch ( $CODE )
{
case "oa_mcode" :
$M_CODE = $_ENV['PROCESSOR_REVISION'];
$M_CODE .= disk_total_space( "/" );
$M_CODE .= "徐留金";
$M_CODE = strrev( substr( md5( $M_CODE ), 0, 10 ) );
return $M_CODE;
case "oa_rcode0" :
$TTFP= key_str( $M_CODE, $CODE_FLAG, $ENCRYPT_CODE );
$TTFP= md5( $TTFP);
$I = 0;
for ( ; $I < strlen( $TTFP); ++$I )
{
$STR = substr( $TTFP, $I , 1 );
$R_CODE2 .= ord( $STR );
}
$R_CODE2 = substr( $R_CODE2 , -6 ).substr( $R_CODE2 , 0, 4 );
$R_CODE2 =str_replace( "4", "9", $R_CODE2 );
return $R_CODE2 ;
case "oa_rcode1" :
$TTFP= key_str( $M_CODE, $CODE_FLAG, $ENCRYPT_CODE );
$TTFP= md5( $TTFP);
$I = 0;
for ( ; $I < strlen( $TTFP); ++$I )
{
$STR = substr( $TTFP, $I , 1 );
$R_CODE2 .= ord( $STR ) + 1;
}
$R_CODE2 = strrev( ( substr( $R_CODE2 , 0, 4 ).substr( $R_CODE2 , -4 ) ) * 3 );
$R_CODE2 = substr( $R_CODE2 , -6 ).substr( $R_CODE2 , 0, 4 );
$R_CODE2 =str_replace( "4", "6", $R_CODE2 );
return $R_CODE2 ;
case "oa_rcode2" :
$TTFP= key_str( $M_CODE, $CODE_FLAG, $ENCRYPT_CODE );
$TTFP= md5( $TTFP);
$I = 0;
for ( ; $I < strlen( $TTFP); ++$I )
{
$STR = substr( $TTFP, $I , 1 );
$R_CODE2 .= ord( $STR ) + 2;
}
$R_CODE2 = strrev( ( substr( $R_CODE2 , 0, 4 ).substr( $R_CODE2 , -4 ) ) * 6 );
$R_CODE2 = substr( $R_CODE2 , -6 ).substr( $R_CODE2 , 0, 4 );
$R_CODE2 =str_replace( "4", "2", $R_CODE2 );
return $R_CODE2 ;
}
}
function key_str( $TXT, $ENCRYPT_KEY, $ENCRYPT_CODE )
{
$ENCRYPT_KEY = md5( $ENCRYPT_KEY );
$ENCRYPT_CODE = md5( $ENCRYPT_CODE );
$CTR = 0;
$STP = 0;
$TMP= "";
$I = 0;
for ( ; $I < strlen( $TXT ); ++$I )
{
if ( $CTR == strlen( $ENCRYPT_KEY ) )
{
$CTR = 0;
}
if ( $STP == strlen( $ENCRYPT_CODE ) )
{
$STP = 0;
}
$TMP.= substr( $TXT, $I , 1 ) ^ substr( $ENCRYPT_KEY, $CTR, 1 ) ^ substr( $ENCRYPT_CODE, $STP , 1 );
++$CTR;
++$STP;
}
return $TMP;
}
///////////////////////
function code()
{
$M_CODE = $_ENV['PROCESSOR_REVISION'];
$M_CODE .= disk_total_space( "/" );
$M_CODE .= "徐留金";
$M_CODE = strrev( substr( md5( $M_CODE ), 0, 10 ) );
return $M_CODE;
}
/////////////////////////
function random($length)
{
$hash = '';
$chars = 'ABCDEFGHIJKLMNOPQRSTUVWXY';
$max = strlen($chars) - 1;
mt_srand((double)microtime() * 1000000);
for($i = 0; $i < $length; $i++)
{
$hash .= $chars[mt_rand(0, $max)];
}
return $hash;
}
echo "\r\n<html>\r\n<head>\r\n<title>極限OA2009注冊機</title></head>\r\n";
echo "<font color=red size=\"4\"><b>極限OA2009注冊機</b></font></title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/theme/1/style.css\">\r\n<script Language=\"JavaScript\">function CheckForm()\r\n{\r\nif(document.form1.USER_SN.value==\"\")\r\n{ alert(\"請輸入授權用戶數!\");\r\nreturn (false);\r\n}\r\nif(document.form1.M_CODE.value==\"\")\r\n{ alert(\"請輸入機器碼!\");\r\nreturn (false);\r\n}\r\n return (true);\r\n }\r\n function paste_code()\r\n {\r\n textRange = document.form1.CompanyName.createTextRange();\r\n textRange.execCommand(\"paste\");\r\n }\r\n function paste_code1()\r\n {\r\n textRange = document.form1.USER_MB.createTextRange();\r\n textRange.execCommand(\"paste\");\r\n }\r\n function paste_code2()\r\n {\r\n textRange = document.form1.M_CODE1.createTextRange();\r\n textRange.execCommand(\"paste\");\r\n } \r\n </script>\r\n </head>\r\n <body class=\"bodycolor\" topmargin=\"5\" onload=\"document.form1.REGISTER_CODE.focus();\">\r\n <tr> <td class=\"Big\"><span class=\"big3\"> </td></tr></table>\r\n <hr><form method=\"post\" name=\"form1\" onsubmit=\"return CheckForm();\">\r\n<table class=\"TableBlock\" width=\"600\" align=\"center\">\r\n<tr><td class=\"TableHeader\" colspan=\"2\" align=\"center\"><b><font color=\"Blue\" size=\"3\">極限 Office Automation 2009 注冊機</font></b> 版本號:3.5.081120</td></tr><tr>\r\n<td nowrap class=\"TableData\" ><b> 單位名稱:</b></td><td class=\"TableData\"><input type=\"text\" name=\"CompanyName\" size=\"35\" class=\"BigInput\" value=\"";
echo "\">\r\n<input type=\"button\" value=\"粘貼\" class=\"BigButton\" onclick=\"paste_code()\"> \r\n</td> </tr>\r\n<td nowrap class=\"TableData\"><b> 注冊用戶數:</b></td><td class=\"TableData\"><input type=\"text\" name=\"USER_MB\" size=\"35\" class=\"BigInput\" value=\"NL\">\r\n<input type=\"button\" value=\"粘貼\" class=\"BigButton\" onclick=\"paste_code1()\"> \r\n</td> </tr>\r\n<tr><td nowrap class=\"TableData\"><b> 機器碼:</b></td><td class=\"TableData\"> <input type=\"text\" name=\"SN\" size=\"35\" class=\"BigInput\" value=\"";
echo "\">\r\n<input type=\"button\" value= \"粘貼\" class=\"BigButton\" onclick=\"paste_code2()\"> \r\n</td> </tr> <tr>\r\n<td nowrap class=\"TableData\" ><b> 本機機器碼:</b></td><td class=\"TableData\"> ";
echo code()."";
echo "<tr>\r\n<td nowrap class=\"TableData\" ><b> 提交生成注冊文件:</b></td><td class=\"TableData\"> ";
echo "<INPUT TYPE=SUBMIT VALUE= \"提交\">";
echo "</td></tr><tr>\r\n<td nowrap class=\"TableData\" ><b> 注冊文件:</b></td><td class=\"TableData\">";
if($CompanyName&&$SN)
{
///////////////////////
$M_CODE=$SN;
$ENCRYPT_CODE=$CompanyName;
echo "以下是您的注冊信息:</font><br>";
echo "您輸入的公司名稱:".$ENCRYPT_CODE;
echo "<br>您輸入的機器碼為:".$M_CODE;
echo "<br>標準版注冊碼為:".bver4sss42rgooder_look( "oa_rcode0",$TD_MYOA_COMPANY_NAME, $M_CODE, $ENCRYPT_CODE );
echo "<br>企業版注冊碼為:".bver4sss42rgooder_look( "oa_rcode1",$TD_MYOA_COMPANY_NAME, $M_CODE, $ENCRYPT_CODE );
echo "<br>完美服務版平臺版注冊碼:".bver4sss42rgooder_look( "oa_rcode2",$TD_MYOA_COMPANY_NAME, $M_CODE, $ENCRYPT_CODE );
echo "<br>完美平臺版序列號:TD20F-38050".random(3)."-".random(4)."<br>";
}
echo "本程序只做測試用,不得用于商業用途,所有用此軟件所引起的后果與本人無關<br>";
echo "</b></font> \r\n</td> </tr> \r\n<tr><td class=\"TableData\" align=\"center\" colspan=\"3\"><font color=red size=\"2\"><b>往事如昔的網絡系統! QQ:351148012 </b></font></td> </tr>\r\n</form></table>";
?>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -