windows 2003 无法正常切换 IIS5.0隔离模式处理方法
作者:jit 日期:2011-11-26
SMTP Error: Could not connect to SMTP host.
作者:jit 日期:2011-11-06
关闭开机自动检测硬盘方法
作者:jit 日期:2011-10-12
Office2003打开错误,Microsoft Office Word 遇到问题需要关闭
作者:jit 日期:2011-08-30
@echo off
@ ECHO --------------------------------------------------------------------------------
echo 注意:请先关闭所有Word文档程序,按任意键开始修复......
@ ECHO --------------------------------------------------------------------------------
del /f /s /q "%userprofile%\local settings\temp\*.*"
del /f /s /q "%appdata%\microsoft\Templates\*.dot"
del /f /s /q "%appdata%\microsoft\Word\Startup\*.dot"
regsvr32 /u /s pintlgnt.ime
@ ECHO --------------------------------------------------------------------------------
@ ECHO BAT程序执行完毕,请按任意键退出...
@ ECHO --------------------------------------------------------------------------------
pause>nul
或者下载此文件,解压缩后执行即可:
没有找到msvcr71.dll因此这个应用程序未能启动。重新安装应用程序可能会修复此问题
作者:jit 日期:2011-07-27
DedeCMS 管理员帐号重设工具
作者:jit 日期:2011-04-02
方法一:
以下代码,保存为 radminpass.php,放到网站根目录执行即可。。。
<?php
/**********************
DedeCMS 管理员帐号重设工具.
http://bbs.dedecms.com/
***********************/
//error_reporting(E_ALL || ~E_NOTICE);
require_once(dirname(__FILE__)."/include/common.inc.php");
if(empty($step))
{
$step = 1;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>密码重设工具_GBK</title>
<style type="text/css">
<!--
body {
font-family: "MS Serif", "New York", serif;
font-size: 12px;
color: #000;
}
table {
border-top-width: 1px;
border-right-width: 1px;
border-left-width: 1px;
border-top-style: dotted;
border-right-style: dotted;
border-left-style: dotted;
border-top-color: #CCC;
border-right-color: #CCC;
border-left-color: #CCC;
}
td {
border-bottom-width: 1px;
border-bottom-style: dotted;
border-bottom-color: #CCC;
}
-->
</style>
</head>
<body>
<?php
if($step==1)
{
$dsql->SetQuery("Select * From `#@__admin` where usertype='10'");
$dsql->Execute("ut");
?>
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1">
<tr>
<td height="19" bgcolor="#E7E7E7"><table width="96%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td width="24%"><b><strong>第一步:选择管理员账号</strong></b></td>
<td width="76%" align="right"> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="215" align="center" valign="top" bgcolor="#FFFFFF"><form action="radminpass.php" method="post" name="form1" id="form1">
<input type="hidden" name="step" value="2" />
<table width="98%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td height="60" colspan="2" align="left">本工具是用于新人忘记管理员密码重设所制作,只需要将radminpass.php文件拷贝到根目录,运行“http://yousite/radminpass.php(yousite为网站域名)”,按照操作执行就可以。<font color="#FF0000">恢复完成后请及时删除这个文件!</font></td>
</tr>
<tr>
<td width="16%" height="30" align="left">选择超级管理员ID:</td>
<td width="84%" align="left">
<select name='id' style='width:150px'>
<?php
while($myrow = $dsql->GetObject("ut"))
{
echo "<option value='".$myrow->id."'>".$myrow->userid."</option>\r\n";
}
?>
</select>
关闭部分存储过程,加强MSSQL安全
作者:jit 日期:2011-04-01
EXEC sp_dropextendedproc 'xp_cmdshell'
EXEC sp_dropextendedproc 'Sp_OACreate'
EXEC sp_dropextendedproc 'Sp_OADestroy'
EXEC sp_dropextendedproc 'Sp_OAGetErrorInfo'
EXEC sp_dropextendedproc 'Sp_OAGetProperty'
EXEC sp_dropextendedproc 'Sp_OAMethod'
EXEC sp_dropextendedproc 'Sp_OASetProperty'
EXEC sp_dropextendedproc 'Sp_OAStop'
EXEC sp_dropextendedproc 'xp_makecab'
EXEC sp_dropextendedproc 'xp_unpackcab'
drop procedure sp_makewebtask
301 重定向代码
作者:jit 日期:2011-04-01
301重定向代码:
ASP:
Response.Status="301 Moved Permanently"
Response.AddHeader "Location","http://www.xxxx.com/"
Response.End
PHP:
header("HTTP/1.1 301 Moved Permanently");
header("Location:http://www.xxxx.com/");
exit();

