用PHP伪造referer突破网盘禁止外连的代码
比如我放纳米盘里的文件http://img.namipan.com/downfile/da333ee178bdad6531d1ec1540cf86277c116b6300887600/02.Paid%20In%20Full.mp3 这个地址不能直接下载也不能在网页播放器里播放,点击下载转到了一个下载
比如我放纳米盘里的文件http://img.namipan.com/downfile/da333ee178bdad6531d1ec1540cf86277c116b6300887600/02.Paid%20In%20Full.mp3 这个地址不能直接下载也不能在网页播放器里播放,点击下载转到了一个下载
server_v2 thenresponse.write "禁止外部提交数据"response.endend ifif len(request.form("frmContent"))>1000 thenresponse.write "输入内容超过规定字符数目"response.endend
HTTP-REFERER这个变量已经越来越不可靠了,完全就是可以伪造出来的东东。 以下是伪造方法: ASP/Visual Basic代码 dim httpset http=server.createobject("MSXML2.XMLHTTP") '//MSXML2.serverXMLHTTP也可以
'================================================== '函数名:PostHttpPage '作用:登录 '================================================== Function PostHttpPage
1.利用rewrite 确认你的apache 能使用rewrite mod RewriteEngine on RewriteCond %{HTTP_REFERER} !^http://linuxsky.net/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http:/
当前在线 "& online() &"人"& chr(34) & ")"'Response.Write "document.write(" & chr(34) & "当前在线"& online() &"人"& chr(34) &