您当前位置:网站建设 > 新闻资讯 > 小偷页面代码
小偷页面代码
Time:2011-12-16 下午 10:40:22
<%
Dim Url,Content,awbno
Url = "http://www.baidu.com"
awbno = Request.Form("awbno")
If awbno="" Or IsNull(awbno) Then
  Content = GetData(Url,1)
Else
  Content = PostData(Url&"return.asp","awbno=" & awbno,1)
End If

Content = Replace(Content,"images/",Url & "images/")
Content = Replace(Content,"return.asp","")
Response.Write Content

Function GetData(GetUrl,GetMode)
  Dim Http
  Set Http = Server.CreateObject("msxml2.XMLHTTP")
  With Http
    .Open "GET",GetUrl,False
    .SetRequestHeader "Referer",GetUrl
    .Send
    If GetMode = 0 Then
      GetData = .ResponseBody
    Else
      GetData = BytesToBstr(.ResponseBody,"GB2312")
    End If
  End With
  Set Http = Nothing
End Function

Function PostData(PostUrl,PostStr,PostMode)
  Dim Http
  Set Http = Server.CreateObject("msxml2.XMLHTTP")
  With Http
    .Open "POST",PostUrl,False
    .SetRequestHeader "Content-Length",Len(PostStr)
    .SetRequestHeader "Content-Type","application/x-www-form-urlencoded"
    .SetRequestHeader "Referer",PostUrl
    .Send PostStr
    If PostMode=0 Then
      PostData = .ResponseBody
    Else
      PostData = BytesToBstr(.ResponseBody,"GB2312")
    End If
  End With
  Set Http = Nothing
End Function

Function BytesToBstr(Body,Cset)
  Dim ADOS
  Set ADOS = Server.CreateObject("Adodb.Stream")
  With ADOS
    .Type = 1
    .Mode =3
    .Open
    .Write Body
    .Position = 0
    .Type = 2
    .Charset = Cset
    BytesToBstr = .ReadText 
    .Close
  End With
  Set ADOS = Nothing
End Function
%>

我们的优势
①产品优势
原生态手工制作,不堆积代码,打开速度更快,网站更稳定。
②经验优势
我们成立于2005年,前前后后做了将近千个网站。
③实力优势
代理产品类型多,选择空间大,有美橙互联、西部数码、阳光互联的相关产品出售,另有上海服务器及香港服务器若干台。
正规公司,可以开正规发票(须事先说明)。
④价格优势
我们的理念是薄利多销,因此在价格上有一定的优势。
最新资讯
友情链接: 
联系人:经理  手机:18566549854  微信:18566549854  在线QQ:2891365071
Copyright © 郑州颜玉信息科技有限公司