asp伪静态,利用404错误转向来实现(转载)
asp伪静态,利用404错误转向来实现(原创)zX$g,U7lx很多网站用的是虚拟主机 服务商不一定提供伪静态功能。。。5}9tS_6[b
但大部分服务商都提供404错误转向。7Wy8V'v:B)S
利用404错误 可以实现 伪静态功能。
广告下、。本人网站:连云港信息网 [url=http://www.lyg28.com]http://www.lyg28.com[/url]$Vhz5_E1EB!o'P
可以倒小站来交流下 ,论坛地址 [url=http://www.lyg28.com/bbs/index.asp?boardid=35]http://www.lyg28.com/bbs/index.asp?boardid=35[/url]h2i]|0K1c@
下面说下原理w#p;V f-CW
比如网站首页 [url=http://www.lyg28.com/index.asp]http://www.lyg28.com/index.asp[/url]
上面的信息 地址都为 [url=http://www.lyg28.com/Class/Show.asp?ID=27870]http://www.lyg28.com/Class/Show.asp?ID=27870[/url]xcH[:?2A
写程序时候只要故意把 [url=http://www.lyg28.com/Class/Show.asp?ID=27870]http://www.lyg28.com/Class/Show.asp?ID=27870[/url] 写成
[url=http://www.lyg28.com/show/27870.html]http://www.lyg28.com/show/27870.html[/url]
其实并不存在 [url=http://www.lyg28.com/show/27870.html]http://www.lyg28.com/show/27870.html[/url]这个页面。用户要点击这个超连接的话,就会自
动调用404错误页面
只要报404错误页面定义为asp页面就可以了。)l e? hq,XO4K;Au
其中加入获得 Show.asp?ID=27870 页面的Id 27870 然后利用小偷程序 获取改页面的内容w5Ds8]%\5I}
显示在 [url=http://www.lyg28.com/show/27870.html]http://www.lyg28.com/show/27870.html[/url] 页面上。[Y+aH9B!i9n
其中最加了 截取 带有/show/和.html的页面 如果不少就转倒正常的err.html错误页面 \pS {#oMd
测试地址 [url=http://www.lyg28.com/show/27870.html]http://www.lyg28.com/show/27870.html[/url] [url=http://www.lyg28.com/Class/Show.asp?ID=27870]http://www.lyg28.com/Class/Show.asp?ID=27870[/url]`v!xk,K}7K)E:GX
两个页面是一样的。p0G!n$iT#Q~$mp$f
下面是 404错误页面的代码
<% p:hhs%?
Dim webUrl,start,over,reurl,Url,Html
weburl=GetUrl()
start= instr(weburl, "/show/")9cC9hRb&p
