代码内容:

<html><head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<title>正在选择速度最快的镜像站点...</title></head>
<body>
<center><br>
<p>
 </p>
<p>
 </p>
<p>
 </p>
<p>
<font color=red size=4><br><br>
</font>
<font color=red size=2>请稍候,正在分配最快的镜像给您登陆...</p>
</font>
<font color=red size=4>
<script>
i=1
var autourl=new Array()
autourl[1]="http://forum.maytide.net"
autourl[2]="http://www.maytide.net"
autourl[3]="http://goxia.maytide.net"
autourl[4]="http://blog.maytide.net"
function choose(url)
&leftsign;
  if(i)&leftsign;top.location=url;i=0&rightsign;
&rightsign;
function run()
&leftsign;
  for(var i=1;i<autourl.length;i++)
  document.write("<img src="+autourl[i]+" width=1 height=1 onerror=choose('"+autourl[i]+"')>")
&rightsign;
run()
</script>
</font>
</body>
</html>

暴力修复丢失密码的服务器

[ 2004/11/30 10:05 | by gOxiA ]
系统平台:Windows2000高级服务器版,安装了IIS服务

故障问题:Administrator密码忘记,ERD.Commander工具盘无法修复密码

解决办法:使用ERD.Commander修复Administrator密码时无法继续,已经发现好多次这样的问题,可能是对Windows2000支持不好造成的,尝试修复Guest用户密码成功。惊喜,重新开机登录本地系统,使用Guest用户登录并成功,可是因权限限制,导致无法作任何修改。无奈使用爆破法,将
C:\winnt\system32\config\SAM
文件删除,重新开机Administrator无密码正常进入,发现事件查看器中存在多个严重错误,其中包括IIS的COM+错误,测试IIS,发现ASP无法运行,本以为是IWAM_MACHINE账号密码不同步造成,之后使用脚本同步此账号密码,发现ASP依旧无法运行,这才想到原先爆破修复密码也遇到过这个情况,就是ASP的运行依赖User组中的
NT AUTHORITY\Authenticated Users (S-1-5-11)和NT AUTHORITY\INTERACTIVE (S-1-5-4)
,于是检查User组,发现果然没有这两个内置帐号,于是添加,运行ASP正常。

呵呵,写这篇文章主要是提醒自己下次再遇到这个问题,一定要先检查Users组。
也怪自己没有将服务器密码纪录好,不过却实有原因,也不能全部怪我,哈哈!
“使用链接表的额外特性尚未激活”修正办法!本文来自 ChinaUnix。

  在使用了新的 phpmyadmin (2.6.0-beta*或者更高版本) 来管理mysql后,每打开一个库的时候,会看到这么一句:

错误
使用链接表的额外特性尚未激活。要查出原因,请单击此处。

单击了所谓的此处后,会跳到一个页面显示:

PMA Database ... 不好[ 文档 ]
一般关系特性 已禁用



Starting with version 2.3.0 phpMyAdmin offers a lot of features to work with master / foreign - tables. To use those as well as the bookmark feature you need special tables with a predefined structure, which we explain below.

See the Quick Install section in this document for a quick way of creating those tables. Also, if you are using a Windows server, read FAQ 1.23.

If you are the only user of this phpMyAdmin installation, you can use your current database to store those special tables; in this case, just put your current database name in $cfg['Servers'][$i]['pmadb'].

If you are setting up a multi-user phpMyAdmin installation, you will need to create a new database and setup special privileges, so, as superuser:



create a new database for phpMyAdmin:
CREATE DATABASE phpmyadmin;
Note that "controluser" must have SELECT, INSERT, UPDATE and DELETE privileges on this database. Here is a query to set up those privileges (using "phpmyadmin" as the database name, and "pma" as the controluser):
GRANT SELECT,INSERT,UPDATE,DELETE ON phpmyadmin.* to 'pma'@'localhost';
do not give any other user rights on this database.
enter the database name in $cfg['Servers'][$i]['pmadb']


先建立一个名为phpmyadmin的数据库

然后把目录下scripts/create_tables.sql导入到这个库 mysqldir/bin/mysql -u root -p /phpadmin_dir/scripts/create_tables.sql
打开 config.inc.php 配置文件.
$cfg['Servers'][$i]['pmadb'] = ''; // 'phpmyadmin' - see scripts/create_tables.sql
$cfg['Servers'][$i]['bookmarktable'] = ''; // 'pma_bookmark'
$cfg['Servers'][$i]['relation'] = ''; // 'pma_relation'
$cfg['Servers'][$i]['table_info'] = ''; // 'pma_table_info'
$cfg['Servers'][$i]['table_coords'] = ''; // 'pma_table_coords'
$cfg['Servers'][$i]['pdf_pages'] = ''; // 'pma_pdf_pages'
$cfg['Servers'][$i]['column_info'] = ''; // 'pma_column_info'
$cfg['Servers'][$i]['history'] = ''; // 'pma_history'


修改为:
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin'; // 'phpmyadmin' - see scripts/create_tables.sql
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark'; // 'pma_bookmark'
$cfg['Servers'][$i]['relation'] = 'pma_relation'; // 'pma_relation'
$cfg['Servers'][$i]['table_info'] = 'pma_table_info'; // 'pma_table_info'
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords'; // 'pma_table_coords'
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages'; // 'pma_pdf_pages'
$cfg['Servers'][$i]['column_info'] = 'pma_column_info'; // 'pma_column_info'
$cfg['Servers'][$i]['history'] = 'pma_history'; // 'pma_history'


保存后刷新页面就好了。
分页: 464/474 第一页 上页 459 460 461 462 463 464 465 466 467 468 下页 最后页 [ 显示模式: 摘要 | 列表 ]