返回列表 发帖

献给那些有意做论坛的人

演示地址:http://www.vault13.62m.net/dz4/index.php
下载:
Discuz! 4.0.0 破解版:下载地址一 下载地址二 下载地址三
安装方法和DZ 2.5没什么区别,如果有什么问题,请PM我 

或者来我论坛上单独发帖

我的论坛地址是 www.vault13.62m.net/bbs/
www.bn13.com
↑请华丽地点击我的论坛吧?

不错不错.........

怎么弄?????

TOP

楼主头像 哎....

TOP

虽然上面提供的已经是破解版了,但是还是来把破解方法告诉大家吧

打开

include\validate.class.php

替换
  1. <?php
  2. &nbsp;class licensestuff
  3. &nbsp;{
  4. &nbsp; &nbsp;var $data = '';
  5. &nbsp; &nbsp;var $key = array &#40;&#41;;
  6. &nbsp; &nbsp;var $env = array &#40;&#41;;
  7. &nbsp; &nbsp;function readfile &#40;&#41;
  8. &nbsp; &nbsp;{
  9. &nbsp; &nbsp; if &#40;$fp = fopen &#40;&#40;DISCUZ_ROOT.'./discuz_license.php'&#41;, 'r'&#41;&#41;
  10. &nbsp; &nbsp; &nbsp;{
  11. &nbsp; &nbsp; &nbsp; &nbsp;$this->data = fread &#40;$fp, 9999&#41;;
  12. &nbsp; &nbsp; &nbsp; &nbsp;fclose &#40;$fp&#41;;
  13. &nbsp; &nbsp; &nbsp;}
  14. &nbsp; &nbsp;}
  15. &nbsp; &nbsp;function initialize &#40;&#41;
  16. &nbsp; &nbsp;{
  17. &nbsp; &nbsp; &nbsp;$this->readfile &#40;&#41;;
  18. &nbsp; &nbsp; &nbsp;if &#40;$this->data&#41;
  19. &nbsp; &nbsp; &nbsp;{
  20. &nbsp; &nbsp; &nbsp; &nbsp;foreach &#40;explode &#40;'
  21. ', $this->data&#41; as $string&#41;
  22. &nbsp; &nbsp; &nbsp; &nbsp;{
  23. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if &#40;strpos &#40;$string, ' = '&#41;&#41;
  24. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{
  25. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;eval &#40;preg_replace &#40;&#40;&#40;&#40;&#40;&#40;&#40;&#40;&#40;&#40;&#40;&#40;&#40;''.'/^&#40;'&#41;.'&#91;'&#41;.'a-z0-9'&#41;.'\\-'&#41;.'&#93;'&#41;.'+&#41;'&#41;.'\\s'&#41;.'\\='&#41;.'\\s'&#41;.'&#40;.+?&#41;'&#41;.'$'&#41;.'/i'&#41;, '$this->key&#91;\'\\1\'&#93; = \'\\2\';', trim &#40;str_replace &#40;'\'', '\\\'', $string&#41;&#41;&#41;&#41;;
  26. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}
  27. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else
  28. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{
  29. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if &#40;preg_match &#40;'/\\<\\?\'.+\'\\?\\>/', $string&#41;&#41;
  30. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{
  31. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$this->key&#91;'Validation-code'&#93; = $this->decrypt &#40;preg_replace &#40;'/\\<\\?\'&#40;.+&#41;\'\\?\\>/', '\\1', $string&#41;, 'I love my father, mother, my Grace, and my self, I am working hard', '##@Crossday Studio@##'&#41;;
  32. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}
  33. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}
  34. &nbsp; &nbsp; &nbsp; &nbsp;}
  35. &nbsp; &nbsp; &nbsp; &nbsp;$this->getenvinfo &#40;&#41;;
  36. &nbsp; &nbsp; &nbsp; &nbsp;return 1;
  37. &nbsp; &nbsp; &nbsp;}
  38. /* &nbsp; &nbsp; &nbsp;else
  39. &nbsp; &nbsp; &nbsp;{
  40. &nbsp; &nbsp; &nbsp; &nbsp;if &#40;&#40;&#40;strtoupper &#40;substr &#40;PHP_OS, 0, 3&#41;&#41; == 'WIN'&#41; AND in_array &#40;$GLOBALS&#91;'_SERVER'&#93;&#91;'HTTP_HOST'&#93;, array &#40;'localhost', '127.0.0.1'&#41;&#41;&#41;&#41;
  41. &nbsp; &nbsp; &nbsp; &nbsp;{
  42. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return 2;
  43. &nbsp; &nbsp; &nbsp; &nbsp;}
  44. &nbsp; &nbsp; &nbsp; &nbsp;else
  45. &nbsp; &nbsp; &nbsp; &nbsp;{
  46. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return 0;
  47. &nbsp; &nbsp; &nbsp; &nbsp;}
  48. &nbsp; &nbsp; &nbsp;}*/
  49. &nbsp; &nbsp;}
  50. &nbsp; &nbsp;function checkinfo &#40;&#41;
  51. &nbsp; &nbsp;{
  52. &nbsp; &nbsp; &nbsp;if &#40;&#40;substr &#40;$this->key&#91;'Validation-code'&#93;, 16, 8&#41; == substr &#40;md5 &#40;preg_replace &#40;&#40;&#40;&#40;&#40;&#40;&#40;&#40;&#40;&#40;&#40;&#40;&#40;''.'/^&#40;.+?&#41;'&#41;.'\\s'&#41;.'*'&#41;.'\\<'&#41;.'\\?'&#41;.'\\\''&#41;.'.+'&#41;.'\\\''&#41;.'\\?'&#41;.'\\>'&#41;.'$'&#41;.'/s'&#41;, '\\1', $this->data&#41;&#41;, 0, 8&#41;&#41;&#41;
  53. &nbsp; &nbsp; &nbsp;{
  54. &nbsp; &nbsp; &nbsp; &nbsp;return TRUE;
  55. &nbsp; &nbsp; &nbsp;}
  56. &nbsp; &nbsp; &nbsp;else
  57. &nbsp; &nbsp; &nbsp;{
  58. &nbsp; &nbsp; &nbsp; &nbsp;return TRUE;
  59. &nbsp; &nbsp; &nbsp;}
  60. &nbsp; &nbsp;}
  61. &nbsp; &nbsp;function checkdate &#40;&#41;
  62. &nbsp; &nbsp;{
  63. &nbsp; &nbsp; &nbsp;if &#40;&#40;!$this->key&#91;'License-expires'&#93; OR &#40;time &#40;&#41; < strtotime &#40;$this->key&#91;'License-expires'&#93;&#41;&#41;&#41;&#41;
  64. &nbsp; &nbsp; &nbsp;{
  65. &nbsp; &nbsp; &nbsp; &nbsp;return TRUE;
  66. &nbsp; &nbsp; &nbsp;}
  67. &nbsp; &nbsp; &nbsp;else
  68. &nbsp; &nbsp; &nbsp;{
  69. &nbsp; &nbsp; &nbsp; &nbsp;return TRUE;
  70. &nbsp; &nbsp; &nbsp;}
  71. &nbsp; &nbsp;}
  72. &nbsp; &nbsp;function checkkey &#40;&#41;
  73. &nbsp; &nbsp;{
  74. &nbsp; &nbsp; &nbsp;if &#40;&#40;substr &#40;$this->key&#91;'Validation-code'&#93;, 8, 8&#41; == substr &#40;md5 &#40;&#40;&#40;&#40;&#40;&#40;&#40;&#40;&#40;$this->env&#91;'os'&#93;.'|'&#41;.$this->env&#91;'ip'&#93;&#41;.'|'&#41;.$this->env&#91;'sapi'&#93;&#41;.'|'&#41;.$this->env&#91;'cpu'&#93;&#41;.'|'&#41;.$this->env&#91;'name'&#93;&#41;&#41;, 0, 8&#41;&#41;&#41;
  75. &nbsp; &nbsp; &nbsp;{
  76. &nbsp; &nbsp; &nbsp; &nbsp;return TRUE;
  77. &nbsp; &nbsp; &nbsp;}
  78. &nbsp; &nbsp; &nbsp;else
  79. &nbsp; &nbsp; &nbsp;{
  80. &nbsp; &nbsp; &nbsp; &nbsp;return TRUE;
  81. &nbsp; &nbsp; &nbsp;}
  82. &nbsp; &nbsp;}
  83. &nbsp; &nbsp;function checkhostpath &#40;&#41;
  84. &nbsp; &nbsp;{
  85. &nbsp; &nbsp; &nbsp;if &#40;&#40;&#40;&#40;substr &#40;$this->key&#91;'Validation-code'&#93;, 24, 6&#41; == &#40;&#40;dechex &#40;ord &#40;'d'&#41;&#41;.dechex &#40;ord &#40;'z'&#41;&#41;&#41;.dechex &#40;ord &#40;'k'&#41;&#41;&#41;&#41; OR &#40;substr &#40;$this->key&#91;'Validation-code'&#93;, 0, 8&#41; == substr &#40;md5 &#40;$this->env&#91;'host'&#93;&#41;, 0, 8&#41;&#41;&#41; OR &#40;substr &#40;$this->key&#91;'Validation-code'&#93;, 24, 8&#41; == substr &#40;md5 &#40;$this->env&#91;'path'&#93;&#41;, 0, 8&#41;&#41;&#41;&#41;
  86. &nbsp; &nbsp; &nbsp;{
  87. &nbsp; &nbsp; &nbsp; &nbsp;return TRUE;
  88. &nbsp; &nbsp; &nbsp;}
  89. &nbsp; &nbsp; &nbsp;else
  90. &nbsp; &nbsp; &nbsp;{
  91. &nbsp; &nbsp; &nbsp; &nbsp;return TRUE;
  92. &nbsp; &nbsp; &nbsp;}
  93. &nbsp; &nbsp;}
  94. &nbsp; &nbsp;function getenvinfo &#40;&#41;
  95. &nbsp; &nbsp;{
  96. &nbsp; &nbsp; &nbsp;global $_SERVER;
  97. &nbsp; &nbsp; &nbsp;global $_POST;
  98. &nbsp; &nbsp; &nbsp;global $_ENV;
  99. &nbsp; &nbsp; &nbsp;$env&#91;'time'&#93; = gmdate &#40;'d-M-Y', time &#40;&#41;&#41;;
  100. &nbsp; &nbsp; &nbsp;$env&#91;'os'&#93; = PHP_OS;
  101. &nbsp; &nbsp; &nbsp;$env&#91;'ip'&#93; = getenv &#40;'SERVER_ADDR'&#41;;
  102. &nbsp; &nbsp; &nbsp;$env&#91;'sapi'&#93; = php_sapi_name &#40;&#41;;
  103. &nbsp; &nbsp; &nbsp;$env&#91;'host'&#93; = &#40;getenv &#40;'HTTP_HOST'&#41; ? getenv &#40;'HTTP_HOST'&#41; &#58; $_SERVER&#91;'HTTP_HOST'&#93;&#41;;
  104. // &nbsp; &nbsp; &nbsp;$env&#91;'path'&#93; = dirname &#40;&#40;'validate.class.php.LkuQHr' ? dirname &#40;'validate.class.php.LkuQHr'&#41; &#58; getenv &#40;'SCRIPT_FILENAME'&#41;&#41;&#41;;//********
  105. &nbsp; &nbsp; &nbsp;$env&#91;'cpu'&#93; = &#40;&#40;$_ENV&#91;'PROCESSOR_IDENTIFIER'&#93;.'/'&#41;.$_ENV&#91;'PROCESSOR_REVISION'&#93;&#41;;
  106. &nbsp; &nbsp; &nbsp;$env&#91;'name'&#93; = $_ENV&#91;'COMPUTERNAME'&#93;;
  107. &nbsp; &nbsp; &nbsp;$this->env = $env;
  108. &nbsp; &nbsp;}
  109. &nbsp; &nbsp;function decrypt &#40;$txt, $key, $owner = ''&#41;
  110. &nbsp; &nbsp;{
  111. &nbsp; &nbsp; &nbsp;$txt = $this->keyED &#40;base64_decode &#40;$txt&#41;, &#40;&#40;$owner == '##@Crossday Studio@##'&#41; ? $key &#58; ''&#41;&#41;;
  112. &nbsp; &nbsp; &nbsp;$tmp = '';
  113. &nbsp; &nbsp; &nbsp;for &#40;$i = 0; &#40;$i < strlen &#40;$txt&#41;&#41;; $i++&#41;
  114. &nbsp; &nbsp; &nbsp;{
  115. &nbsp; &nbsp; &nbsp; &nbsp;$md5 = $txt&#91;$i&#93;;
  116. &nbsp; &nbsp; &nbsp; &nbsp;$i++;
  117. &nbsp; &nbsp; &nbsp; &nbsp;&#40;$tmp .= &#40;$txt&#91;$i&#93; ^ $md5&#41;&#41;;
  118. &nbsp; &nbsp; &nbsp;}
  119. &nbsp; &nbsp; &nbsp;return $tmp;
  120. &nbsp; &nbsp;}
  121. &nbsp; &nbsp;function keyed &#40;$txt, $encrypt_key&#41;
  122. &nbsp; &nbsp;{
  123. &nbsp; &nbsp; &nbsp;$encrypt_key = md5 &#40;$encrypt_key&#41;;
  124. &nbsp; &nbsp; &nbsp;$ctr = 0;
  125. &nbsp; &nbsp; &nbsp;$tmp = '';
  126. &nbsp; &nbsp; &nbsp;for &#40;$i = 0; &#40;$i < strlen &#40;$txt&#41;&#41;; $i++&#41;
  127. &nbsp; &nbsp; &nbsp;{
  128. &nbsp; &nbsp; &nbsp; &nbsp;if &#40;&#40;$ctr == strlen &#40;$encrypt_key&#41;&#41;&#41;
  129. &nbsp; &nbsp; &nbsp; &nbsp;{
  130. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$ctr = 0;
  131. &nbsp; &nbsp; &nbsp; &nbsp;}
  132. &nbsp; &nbsp; &nbsp; &nbsp;&#40;$tmp .= &#40;$txt&#91;$i&#93; ^ $encrypt_key&#91;$ctr&#93;&#41;&#41;;
  133. &nbsp; &nbsp; &nbsp; &nbsp;$ctr++;
  134. &nbsp; &nbsp; &nbsp;}
  135. &nbsp; &nbsp; &nbsp;return $tmp;
  136. &nbsp; &nbsp;}
  137. &nbsp; &nbsp;function validate &#40;&#41;
  138. &nbsp; &nbsp;{
  139. &nbsp; &nbsp; &nbsp;$init = $this->initialize &#40;&#41;;
  140. &nbsp; &nbsp; &nbsp;if &#40;&#40;&#40;$init == 2&#41; OR &#40;&#40;&#40;&#40;&#40;$init == 1&#41; AND $this->checkinfo &#40;&#41;&#41; AND $this->checkdate &#40;&#41;&#41; AND $this->checkkey &#40;&#41;&#41; AND $this->checkhostpath &#40;&#41;&#41;&#41;&#41;
  141. &nbsp; &nbsp; &nbsp;{
  142. &nbsp; &nbsp; &nbsp; &nbsp;if &#40;&#40;$init == 2&#41;&#41;
  143. &nbsp; &nbsp; &nbsp; &nbsp;{
  144. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;define &#40;'DISCUZ_LICENSE_KEY', md5 &#40;&#40;base64_decode &#40;'ISgqISEpQCZfRGlzY3V6IV9pc19SdW5uaW5nX3VuZGVyX0xvY2FsaG9zdA'&#41;.md5 &#40;&#40;&#40;&#40;'#19811027_'.'DZK_'&#41;.'WROTE_Discuz!_'&#41;.substr &#40;time &#40;&#41;, 0, &#40;0 - 2&#41;&#41;&#41;&#41;&#41;&#41;&#41;;
  145. &nbsp; &nbsp; &nbsp; &nbsp;}
  146. &nbsp; &nbsp; &nbsp; &nbsp;else
  147. &nbsp; &nbsp; &nbsp; &nbsp;{
  148. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;define &#40;'DISCUZ_LICENSE_KEY', md5 &#40;&#40;base64_decode &#40;'ISgqISEpQCZfRGlzY3V6IV9XSUxMX1dJTl9USEVfRlVUVVJFX0ZST01fTk9XX09O'&#41;.md5 &#40;&#40;&#40;&#40;'#19811027_'.'DZK_'&#41;.'WROTE_Discuz!_'&#41;.substr &#40;time &#40;&#41;, 0, &#40;0 - 2&#41;&#41;&#41;&#41;&#41;&#41;&#41;;
  149. &nbsp; &nbsp; &nbsp; &nbsp;}
  150. &nbsp; &nbsp; &nbsp;}
  151. &nbsp; &nbsp; &nbsp;else
  152. &nbsp; &nbsp; &nbsp;{
  153. /* &nbsp; &nbsp; &nbsp; &nbsp;echo '<html>
  154. <head>
  155. <title>Invalid License File</title>
  156. </head>
  157. <body bgcolor=&#34;#FFFFFF&#34;>
  158. <table cellpadding=&#34;0&#34; cellspacing=&#34;0&#34; border=&#34;0&#34; width=&#34;600&#34; align=&#34;center&#34; height=&#34;85%&#34;>
  159. &nbsp;<tr align=&#34;center&#34; valign=&#34;middle&#34;>
  160. &nbsp; &nbsp;<td>
  161. &nbsp; &nbsp;<table cellpadding=&#34;10&#34; cellspacing=&#34;0&#34; border=&#34;0&#34; width=&#34;80%&#34; align=&#34;center&#34; style=&#34;font-family&#58; Verdana, Tahoma; color&#58; #666666; font-size&#58; 12px&#34;>
  162. &nbsp; &nbsp;<tr>
  163. &nbsp; &nbsp; &nbsp;<td valign=&#34;m';
  164. &nbsp; &nbsp; &nbsp; &nbsp;echo 'iddle&#34; bgcolor=&#34;#EBEBEB&#34;>
  165. &nbsp; &nbsp; &nbsp; &nbsp;<br><b style=&#34;font-size&#58; 20px&#34;>Your License was Invalid</b>
  166. &nbsp; &nbsp; &nbsp; &nbsp;<br><br>License expiring, shifting to a new server, changing server IP, hardware, OS, PHP SAPI module, or, changing both host name and absolute directory on your disk, may invalidate your license. If you have trouble in activation, please visit <a href=&#34;&#91;url&#93;http&#58;//www.discuz.com/license/&#91;/url&#93;&#34; target=&#34;_blank&#34;>';
  167. &nbsp; &nbsp; &nbsp; &nbsp;echo '&#91;url&#93;http&#58;//www.discuz.com/license/</a>&#91;/url&#93; for more information.
  168. &nbsp; &nbsp; &nbsp; &nbsp;<br><br>您的密匙不存在、超过有效期、更换新的服务器空间、更改 IP 地址、硬件、操作系统、PHP 安装模&';
  169. &nbsp; &nbsp; &nbsp; &nbsp;echo '#x5F0F;,或同时改变绝对路径或访问域名,都可能导致密匙失效。请访问 <a href=&#34;&#91;url&#93;http&#58;//www.discuz.com/license/&#91;/url&#93;&#34; target=&#34;_blank&#34;>&#91;url&#93;http&#58;//www.discuz.com/license/</a>&#91;/url&#93; 重新生成密匙。
  170. &nbsp; &nbsp; &nbsp; &nbsp;<br><b';
  171. &nbsp; &nbsp; &nbsp; &nbsp;echo 'r>
  172. &nbsp; &nbsp; &nbsp;</td>
  173. &nbsp; &nbsp;</tr>
  174. &nbsp; &nbsp;</table>
  175. &nbsp; &nbsp;</td>
  176. &nbsp;</tr>
  177. </table>
  178. </body>
  179. </html>
  180. ';
  181. &nbsp; &nbsp; &nbsp; &nbsp;exit &#40;&#41;;
  182. &nbsp; &nbsp; &nbsp; &nbsp;return TRUE;*/
  183. &nbsp; &nbsp; &nbsp;}
  184. &nbsp; &nbsp;}
  185. &nbsp;}
  186. &nbsp;if &#40;!defined &#40;'IN_DISCUZ'&#41;&#41;
  187. &nbsp;{
  188. &nbsp; &nbsp;exit &#40;'Access Denied'&#41;;
  189. &nbsp;}
  190. &nbsp;$license = new licensestuff &#40;&#41;;
  191. &nbsp;$license->validate &#40;&#41;;
  192. &nbsp;unset &#40;$license&#41;;
  193. ?>
复制代码

再在根目录新建个 discuz_license.php

内容为
  1. # !ATTENTION! PLEASE DO NOT OPEN FOR EDITING
  2. # ANY MODIFICATION WILL INVALIDATE THIS LICENSE
  3. Product-name = Discuz! Board Retail
  4. License-issued = 16-Jul-2005
  5. Registered-to = Tkz
  6. Registered-URL = &#91;url&#93;http&#58;//127.0.0.1/&#91;/url&#93;
复制代码
做好的破解文件:下载地址
www.bn13.com
↑请华丽地点击我的论坛吧?

TOP

  以前风妖说要到我论坛上做管理员的吖。。。真后悔那时没答应。。。头象。。。现在补救一下吧。。。。
www.bn13.com
↑请华丽地点击我的论坛吧?

TOP

唔...................

好难啊...........教教..........

TOP

下破解文件覆盖就可以了
www.bn13.com
↑请华丽地点击我的论坛吧?

TOP

然后呢???然后呢???

TOP

就是你从哪弄空间的问题了!
www.bn13.com
↑请华丽地点击我的论坛吧?

TOP

呜.............

好难啊.........

TOP

Discyz! 4 用户手册:http://www.discuz.net/usersguide/intro.htm
Discuz!全攻略:http://www.discuz.net/viewthread.php?tid=1...&extra=page%3D1


自己下慢慢看吧。。。。累死了。。。碰到传说中的小白了吧
www.bn13.com
↑请华丽地点击我的论坛吧?

TOP

很想弄个班里的论坛.........

不过不会............. <...>

TOP

开个群不就得了?那么几个人。。。太奢侈了


哇 原来我都突破2000帖了 真不容易 快2年了 ~~
www.bn13.com
↑请华丽地点击我的论坛吧?

TOP

 希望大家闲来无聊时来我论坛灌灌水  我的ID是暗之左手。。有事可以M我

有什么意见和建议请指教
www.bn13.com
↑请华丽地点击我的论坛吧?

TOP

做论坛饿?

TOP

返回列表