下面是个超简单的ASP伪造REFERER教程,图老师小编精心挑选推荐,大家行行好,多给几个赞吧,小编吐血跪求~
【 tulaoshi.com - Web开发 】
  代码:
  %
  Function GetBody(weburl) 
      Set Retrieval = Server.CreateObject("MSXML2.XMLHTTP") 
      With Retrieval 
          .Open "Get", weburl, False, "", "" 
          .setRequestHeader "referer","http://www.devdao.com/"'想改什么就改什么
          .Send 
          GetBody = .ResponseBody
      End With 
      GetBody = BytesToBstr(GetBody,"GB2312")
      Set Retrieval = Nothing 
  End Function
  Function BytesToBstr(body,Cset)
          dim objstream
          set objstream = Server.CreateObject("adodb.stream")
          objstream.Type = 1
          objstream.Mode =3
          objstream.Open
          objstream.Write body
          objstream.Position = 0
          objstream.Type = 2
          objstream.Charset = Cset
          BytesToBstr = objstream.ReadText 
          objstream.Close
          set objstream = nothing
  End Function
  Response.Write(GetBody("http://www.devdao.com/referer.asp"))
  % 
来源:http://www.tulaoshi.com/n/20160219/1620063.html
看过《ASP伪造REFERER》的人还看了以下文章 更多>>