本帖最后由 灰儿 于 2011-2-19 17:41 编辑
今天把网博士7.0的注册机帖出来,希望可以给朋友带来帮助!把下面的代码复制到记事本.txt格式的,保存好了以后把.txt改成.php- <!DOCTYPE html PUBLIC "-//W<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><?XML:NAMESPACE PREFIX = ST1 />3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta http-equiv="Content-Language" content="utf-8" />
- <meta content="all" name="robots" />
- <meta name="author" content="网博士7.0注册机" />
- <meta name="Copyright" content="CopyRight (C) 2008 All Right Reserved." />
- <meta name="description" content="" />
- <meta name="keywords" content="" />
- <link rel="icon" href="/favicon.ico" type="image/x-icon" />
- <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
- <title>网博士7.0注册机 by www.cnweizhi.net</title>
- <style type="text/css">
- <!--
- body{
- font-size: 14px;
- color: #FF4500;
- line-height: 22px;
- }
- input,select {
- margin-left: 3px;
- background-color: #FF4500;
- border-width: 1px;
- color: #000;
- }
- -->
- </style>
- </head>
- <body>
- <?php
- //if (Empty($_POST['domain']))
- //{
- echo "名点(Media)系列建站软件 注册机<br><form method=post>eSitePath:<input type='text' name='eSitePath'><br><input type='submit' value='授权'></form>";
- //}
- $ep=str_replace("\\\","\",$_POST['eSitePath']);
- If($_POST['eSitePath']!='')
- {
- $md5str = (((('EHTAZIYT'.$ep).$_SERVER['SERVER_ADDR']).$_SERVER['LOCAL_ADDR']).'22.90h7^aaz0(!skZnmLa03#nVAc_f(h-a!)wsx~9dlP1%uXJnB8.65E3zYYwa');
- $mymd5 = md5 ($md5str);
- $data = $mymd5."\n".$mymd5;
- function writetofile ($filename, $data)
- { //File Writing
- $filenum=@fopen($filename,"w");
- if (!$filenum) {
- return false;
- }
- flock($filenum,LOCK_EX);
- $file_data=fwrite($filenum,$data);
- fclose($filenum);
- return true;
- }
- if (!file_exists("license.dat"))
- {
- writetofile("license.dat",$data);
- if (file_exists("license.dat"))
- {
- echo "<script>window.alert('恭喜!成功生成授权文件!');</script>";
- exit();
- }
- }
- echo "<script>window.alert('授权文件已存在!');window.opener=null;window.close();</script>";
- }
- ?>
- </body>
- </html>
复制代码
|
|