热搜词
发表于 2011-2-19 17:40:30 | 显示全部楼层 |阅读模式
本帖最后由 灰儿 于 2011-2-19 17:41 编辑

   今天把网博士7.0的注册机帖出来,希望可以给朋友带来帮助!把下面的代码复制到记事本.txt格式的,保存好了以后把.txt改成.php
  1. <!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">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta http-equiv="Content-Language" content="utf-8" />
  6. <meta content="all" name="robots" />
  7. <meta name="author" content="网博士7.0注册机" />
  8. <meta name="Copyright" content="CopyRight (C) 2008 All Right Reserved." />
  9. <meta name="description" content="" />
  10. <meta name="keywords" content=""   />
  11. <link rel="icon" href="/favicon.ico" type="image/x-icon" />
  12. <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
  13. <title>网博士7.0注册机 by www.cnweizhi.net</title>

  14. <style type="text/css">

  15. <!--

  16. body{
  17.      font-size: 14px;
  18.      color: #FF4500;
  19.      line-height: 22px;
  20. }
  21. input,select {
  22.    margin-left: 3px;
  23.      background-color: #FF4500;
  24.      border-width: 1px;
  25.      color: #000;
  26. }

  27. -->

  28. </style>

  29. </head>
  30. <body>
  31. <?php


  32. //if (Empty($_POST['domain']))
  33. //{
  34.      echo "名点(Media)系列建站软件 注册机<br><form method=post>eSitePath:<input type='text' name='eSitePath'><br><input type='submit' value='授权'></form>";
  35. //}
  36. $ep=str_replace("\\\","\",$_POST['eSitePath']);
  37. If($_POST['eSitePath']!='')
  38. {
  39.      $md5str = (((('EHTAZIYT'.$ep).$_SERVER['SERVER_ADDR']).$_SERVER['LOCAL_ADDR']).'22.90h7^aaz0(!skZnmLa03#nVAc_f(h-a!)wsx~9dlP1%uXJnB8.65E3zYYwa');


  40.      $mymd5 = md5 ($md5str);

  41.      $data = $mymd5."\n".$mymd5;

  42.      function writetofile ($filename, $data)
  43.      { //File Writing
  44.          $filenum=@fopen($filename,"w");
  45.          if (!$filenum) {
  46.              return false;
  47.          }
  48.          flock($filenum,LOCK_EX);
  49.          $file_data=fwrite($filenum,$data);
  50.          fclose($filenum);
  51.          return true;
  52.      }

  53.      if (!file_exists("license.dat"))
  54.      {
  55.          writetofile("license.dat",$data);

  56.          if (file_exists("license.dat"))
  57.          {
  58.          echo "<script>window.alert('恭喜!成功生成授权文件!');</script>";
  59.          exit();
  60.          }
  61.      }
  62.      echo "<script>window.alert('授权文件已存在!');window.opener=null;window.close();</script>";
  63. }

  64. ?>

  65. </body>
  66. </html>
复制代码


全部评论2
回复
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|管理员之家 ( 苏ICP备2023053177号-2 )

GMT+8, 2024-6-29 22:16 , Processed in 0.166930 second(s), 22 queries .

Powered by Discuz! X3.5

Cpoyright © 2001-2024 Discuz! Team